aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-18 21:14:49 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-18 21:14:49 +0200
commita4d9778f0df6f076e72ad10d1d1dcc2174b3cab4 (patch)
treeae816be0b04073f23d0a7080ce943bc2df61f80a /test/py
parenttest: speed up output_long test_repo tests (diff)
downloadcimple-a4d9778f0df6f076e72ad10d1d1dcc2174b3cab4.tar.gz
cimple-a4d9778f0df6f076e72ad10d1d1dcc2174b3cab4.zip
test: exclude silly tests from python_tests_valgrind
Diffstat (limited to '')
-rw-r--r--test/py/test_repo.py1
-rw-r--r--test/pytest.ini3
2 files changed, 3 insertions, 1 deletions
diff --git a/test/py/test_repo.py b/test/py/test_repo.py
index c973e37..9d070ca 100644
--- a/test/py/test_repo.py
+++ b/test/py/test_repo.py
@@ -72,6 +72,7 @@ def _test_repo_internal(env, repo, numof_processes, runs_per_process):
assert repo.run_output_matches(output), f"Output doesn't match: {output}"
+@pytest.mark.valgrind
@my_parametrize('runs_per_client', [1, 5])
@my_parametrize('numof_clients', [1, 5])
def test_repo(env, test_repo, numof_clients, runs_per_client):
diff --git a/test/pytest.ini b/test/pytest.ini
index 49e206d..6b95d54 100644
--- a/test/pytest.ini
+++ b/test/pytest.ini
@@ -5,5 +5,6 @@ log_cli_level = INFO
#log_cli = 1
markers =
- stress: Big tests; don't run them w/ Valgrind or in QEMU
+ stress: Long tests; don't run them casually
+ valgrind: These tests are run w/ Valgrind
flame_graph: Generate the flame graph for these tests