aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/py/lib
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-18 23:23:00 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-18 23:27:41 +0200
commit11f757e9e9027ff045680b471663555ed5ff946c (patch)
tree09dbe65272b3bc54e068683afa7a6aedc821a611 /test/py/lib
parentflame_graph.sh -> flamegraph.sh (diff)
downloadcimple-11f757e9e9027ff045680b471663555ed5ff946c.tar.gz
cimple-11f757e9e9027ff045680b471663555ed5ff946c.zip
test: store multiple flame graphs alongside
Previously, it would get stored in build/flame_graph/flame_graphs.svg. Now, the test repository codename is added to the file name. Also, some refactoring and simplifying test filtering.
Diffstat (limited to '')
-rw-r--r--test/py/lib/test_repo.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/py/lib/test_repo.py b/test/py/lib/test_repo.py
index 2820659..eb2786d 100644
--- a/test/py/lib/test_repo.py
+++ b/test/py/lib/test_repo.py
@@ -57,10 +57,6 @@ class TestRepo(Repo):
def codename():
pass
- @staticmethod
- def enabled_for_stress_testing():
- return False
-
@abc.abstractmethod
def run_exit_code_matches(self, ec):
pass
@@ -130,10 +126,6 @@ class TestRepoOutputSimple(TestRepoOutput):
def codename():
return 'output_simple'
- @staticmethod
- def enabled_for_stress_testing():
- return True
-
def format_output_script(self):
return OUTPUT_SCRIPT_SIMPLE
@@ -173,10 +165,6 @@ class TestRepoOutputLong(TestRepoOutput):
def codename():
return 'output_long'
- @staticmethod
- def enabled_for_stress_testing():
- return True
-
def format_output_script(self):
output_len = TestRepoOutputLong.OUTPUT_LEN_KB
output_len = shlex.quote(str(output_len))