aboutsummaryrefslogtreecommitdiffstats
path: root/selftest/suite_test/suite_test.py
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-06-12 17:54:55 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-06-15 10:53:46 +0200
commitc3cf682afd09272c0faec629cd385cd8c2019d9c (patch)
treea0455ac72cd4ca2cb9e805c076018484c1e4e2b0 /selftest/suite_test/suite_test.py
parenta75f85a058db6d0b256c4b3137c4144ce20bd73f (diff)
Implement per-test timeout guard
Timeout value can be specified by test in suite.conf: config: suite: <suite_name>: <test_name>: timeout: 2 # 2 seconds timeout Change-Id: I522f51f77f8be64ebfdb5d5e07ba92baf82d7706
Diffstat (limited to 'selftest/suite_test/suite_test.py')
-rwxr-xr-xselftest/suite_test/suite_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/suite_test/suite_test.py b/selftest/suite_test/suite_test.py
index 260b9c4..9708037 100755
--- a/selftest/suite_test/suite_test.py
+++ b/selftest/suite_test/suite_test.py
@@ -102,7 +102,7 @@ sc['config'] = {'suite': {s.name(): { 'some_suite_global_param': 'heyho', 'test_
s = suite.SuiteRun(trial, 'test_suite', s_def, [sc])
s.reserve_resources()
print(repr(s.reserved_resources))
-results = s.run_tests('test_suite_params.py')
+results = s.run_tests(['test_suite_params.py', 'test_timeout.py'])
print(report.suite_to_text(s))
print('- test with template overlay')