Skip to content

Commit b4cc1a1

Browse files
removing old infrastructure based on Bash test runners
1 parent 551f105 commit b4cc1a1

File tree

8 files changed

+11
-2228
lines changed

8 files changed

+11
-2228
lines changed

tests/parse_env.sh

Lines changed: 0 additions & 277 deletions
This file was deleted.

tests/performance/CMakeLists.txt

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -309,19 +309,10 @@ add_custom_target( "build_tests_category_performance"
309309
)
310310

311311
# target to run the tests in this category by calling the appropriate runner
312-
add_custom_target( tests_performance
313-
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/performancetests.sh
314-
${SCRIPTS_COMMON_ARGS}
315-
"--test-bin-dir" "\"${CMAKE_CURRENT_BINARY_DIR}\""
316-
"--test-out-dir" "\"${CMAKE_CURRENT_BINARY_DIR}/output\""
317-
318-
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
319-
DEPENDS build_tests_category_performance # add dependency on this target
320-
# to automatically build before running
321-
COMMAND_EXPAND_LISTS
322-
USES_TERMINAL
312+
add_custom_target( performancetests
313+
COMMAND ${CMAKE_CTEST_COMMAND} -L "mode:performance" --output-on-failure
314+
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
315+
DEPENDS build_tests_category_performance
323316
)
324-
325-
add_custom_target( performancetests DEPENDS tests_performance )
326-
add_custom_target( perftests DEPENDS tests_performance )
317+
add_custom_target( perftests DEPENDS performancetests )
327318

0 commit comments

Comments
 (0)