Skip to content

Commit

Permalink
Change test working directories
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbeckingsale committed Jan 29, 2019
1 parent f5ef6b2 commit 00b9469
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/SAMRAIMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ macro (samrai_add_tests)
set(test_name "${arg_NAME}_test_${short_test_file}")

add_test(NAME ${test_name}
COMMAND $<TARGET_FILE:${arg_EXECUTABLE}> ${test_file})
COMMAND $<TARGET_FILE:${arg_EXECUTABLE}> ${test_file}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

set_tests_properties(${test_name} PROPERTIES PASS_REGULAR_EXPRESSION "PASSED")

Expand Down

0 comments on commit 00b9469

Please sign in to comment.