Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/snippet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ macro (sharg_snippet test_name_prefix snippet snippet_base_path)
add_test (NAME "${snippet_compare_test_target}"
COMMAND ${CMAKE_COMMAND} -DTARGET_FILE=$<TARGET_FILE:${target}>
-DSOURCE_FILE=${snippet_base_path}/${snippet} -P
"${CMAKE_SOURCE_DIR}/compare_snippet_output.cmake")
"${CMAKE_CURRENT_SOURCE_DIR}/compare_snippet_output.cmake")

# disable version checker, as it interferes with comparing the snippet output
set_tests_properties ("${snippet_compare_test_target}" PROPERTIES ENVIRONMENT SHARG_NO_VERSION_CHECK=0)
Expand Down
Loading