Skip to content

Commit

Permalink
add ANALYSIS_COMMAND=${SKIP_DOUBLE_TESTS}
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelesko committed Apr 9, 2024
1 parent d9a658b commit 69ceaf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/catch/external/Catch2/cmake/Catch2/Catch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ function(catch_discover_tests TARGET)
BYPRODUCTS "${ctest_tests_file}"
COMMAND "${CMAKE_COMMAND}"
-D "TEST_TARGET=${TARGET}"
-D "ANALYSIS_COMMAND=${SKIP_DOUBLE_TESTS}"
-D "TEST_EXECUTABLE=$<TARGET_FILE:${TARGET}>"
-D "TEST_EXECUTOR=${crosscompiling_emulator}"
-D "TEST_WORKING_DIR=${_WORKING_DIRECTORY}"
Expand Down
3 changes: 2 additions & 1 deletion tests/catch/external/Catch2/cmake/Catch2/CatchAddTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ foreach(line ${output})
add_command(add_test
"${prefix}${test}${suffix}"
${TEST_EXECUTOR}
"${exe_path}"
${ANALYSIS_COMMAND}
${TEST_EXECUTABLE}
"${test_name}"
${extra_args}
"${reporter_arg}"
Expand Down

0 comments on commit 69ceaf5

Please sign in to comment.