Skip to content

Commit

Permalink
imposing order on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Sep 20, 2024
1 parent 01a4e03 commit f49b2d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ if(WIN32)
COMMAND ${CMAKE_COMMAND} -E compare_files --ignore-eol actual_output.txt "${CMAKE_SOURCE_DIR}/test/expected_output/reference_output.txt"
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/bin
)
set_tests_properties(CompareOutput PROPERTIES DEPENDS GenerateOutput)
else()
add_test(NAME CompareOutput
COMMAND ${CMAKE_COMMAND} -E env sh -c "$<TARGET_FILE:cloudj_standalone> > actual_output.txt; ${CMAKE_COMMAND} -E compare_files --ignore-eol actual_output.txt ${CMAKE_SOURCE_DIR}/test/expected_output/reference_output.txt"
Expand Down

0 comments on commit f49b2d7

Please sign in to comment.