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()