Skip to content

Commit

Permalink
[Test] Fix test path
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisHsu committed Mar 14, 2024
1 parent 5d213f6 commit 659cb17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ macro(add_test_suite suite_name)
)
target_compile_definitions(${suite_name}_target PUBLIC CCTEST)
set_target_properties(${suite_name}_target
PROPERTIES OUTPUT_NAME ${suite_name}/${suite_name}
PROPERTIES OUTPUT_NAME test_${suite_name}
)
add_test(NAME ${suite_name}
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${suite_name}/${suite_name}
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test_${suite_name}
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/${suite_name}
)
set_property(TEST ${suite_name} PROPERTY
Expand Down

0 comments on commit 659cb17

Please sign in to comment.