diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-27 12:24:49 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-27 12:24:49 +0200 |
commit | 6b74dab3c0ebe13390ca0e15825b6dd98a0f8240 (patch) | |
tree | 0e00807d0f8199d2a89183e8cfa816901d395ad2 /test/CMakeLists.txt | |
parent | Makefile: reorder targets, add comments (diff) | |
download | cimple-6b74dab3c0ebe13390ca0e15825b6dd98a0f8240.tar.gz cimple-6b74dab3c0ebe13390ca0e15825b6dd98a0f8240.zip |
again, reorganize test targets
Diffstat (limited to '')
-rw-r--r-- | test/CMakeLists.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1470b3c..fa34457 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -20,14 +20,16 @@ function(add_python_tests name) set_tests_properties("${name}" PROPERTIES TIMEOUT 600) endfunction() -add_python_tests(python_tests_sanity - Python3::Interpreter -m pytest ${python_test_args} -m "not stress and not flame_graph") +add_python_tests(python_tests_default + Python3::Interpreter -m pytest ${python_test_args} -m "not flame_graph") -add_python_tests(python_tests_stress - Python3::Interpreter -m pytest ${python_test_args} -m "stress") +# A subset of tests, excluding long-running stress tests. +add_python_tests(python_tests_sanity + Python3::Interpreter -m pytest ${python_test_args} -m "not flame_graph and not stress") +# Same, but run under Valgrind. add_python_tests(python_tests_valgrind - Python3::Interpreter -m pytest ${python_test_args} -m "not stress and not flame_graph" + Python3::Interpreter -m pytest ${python_test_args} -m "not flame_graph and not stress" --valgrind "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/valgrind.sh") if(NOT DEFINED FLAME_GRAPHS_DIR) |