Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIlya Arzhannikov2023-09-20 15:47:11 +0200
committerIlya Arzhannikov2023-09-20 15:47:11 +0200
commitdb495acdbbea9f078bb8fe300724a658beb5b540 (patch)
treefc3a664f4509f9bf85076f6cb3f0358952f2bb0f
parent9c541ca72e7857dec71d8a41b97e42c2f1c92602 (diff)
downloadcatch3-db495acdbbea9f078bb8fe300724a658beb5b540.tar.gz
correct argument references in CatchAddTests.cmake
-rw-r--r--extras/CatchAddTests.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/CatchAddTests.cmake b/extras/CatchAddTests.cmake
index 46d7a2a9..692e3405 100644
--- a/extras/CatchAddTests.cmake
+++ b/extras/CatchAddTests.cmake
@@ -88,10 +88,10 @@ function(catch_discover_tests_impl)
# note that the use of --list-reporters is not the important part,
# we only want to check whether the execution succeeds with ${reporter_arg}
execute_process(
- COMMAND ${TEST_EXECUTOR} "${TEST_EXECUTABLE}" ${spec} ${reporter_arg} --list-reporters
+ COMMAND ${_TEST_EXECUTOR} "${_TEST_EXECUTABLE}" ${spec} ${reporter_arg} --list-reporters
OUTPUT_VARIABLE reporter_check_output
RESULT_VARIABLE reporter_check_result
- WORKING_DIRECTORY "${TEST_WORKING_DIR}"
+ WORKING_DIRECTORY "${_TEST_WORKING_DIR}"
)
if(${reporter_check_result} EQUAL 255)
message(FATAL_ERROR
@@ -99,7 +99,7 @@ function(catch_discover_tests_impl)
)
elseif(NOT ${reporter_check_result} EQUAL 0)
message(FATAL_ERROR
- "Error running test executable '${TEST_EXECUTABLE}':\n"
+ "Error running test executable '${_TEST_EXECUTABLE}':\n"
" Result: ${reporter_check_result}\n"
" Output: ${reporter_check_output}\n"
)