From fabc2d9683231c09f3307cb9a40e744073f5aa5c Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 14 Mar 2024 23:18:17 -0700 Subject: [PATCH] Capture Output Again This should be identical between Unix and Windows... --- Tests/CMakeTestInstall/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Tests/CMakeTestInstall/CMakeLists.txt b/Tests/CMakeTestInstall/CMakeLists.txt index 9eaaf86dbc8..32fa809e57d 100644 --- a/Tests/CMakeTestInstall/CMakeLists.txt +++ b/Tests/CMakeTestInstall/CMakeLists.txt @@ -60,9 +60,8 @@ foreach(D IN LISTS AMReX_SPACEDIM) TARGET install_test_${D}d POST_BUILD COMMAND ${CMAKE_COMMAND} -E echo "Running test project" - COMMAND ${CMAKE_COMMAND} -E echo "Command: $ ${inputs_path} max_step=1" - COMMAND $ ${inputs_path} max_step=1 - # > out_${D}d.txt + COMMAND ${CMAKE_COMMAND} -E echo "Command: $ ${inputs_path} max_step=1 > out_${D}d.txt" + COMMAND $ ${inputs_path} max_step=1 > out_${D}d.txt WORKING_DIRECTORY ${PROJECT_BINARY_DIR} ) endforeach()