aboutsummaryrefslogtreecommitdiff
path: root/mesontest.py
diff options
context:
space:
mode:
authorMike Sinkovsky <msink@permonline.ru>2017-01-18 18:53:54 +0500
committerJussi Pakkanen <jpakkane@gmail.com>2017-01-18 21:22:47 +0200
commit550761d97b8ee2239f0eb24b9cce3fa9a4091a9a (patch)
treec589508d994263149a8835d41f03a3d80c81925d /mesontest.py
parentdac8351ff1b749203d094a9acf049621ce4f5e61 (diff)
downloadmeson-550761d97b8ee2239f0eb24b9cce3fa9a4091a9a.zip
meson-550761d97b8ee2239f0eb24b9cce3fa9a4091a9a.tar.gz
meson-550761d97b8ee2239f0eb24b9cce3fa9a4091a9a.tar.bz2
cleanup: @staticmethod
Diffstat (limited to 'mesontest.py')
-rwxr-xr-xmesontest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesontest.py b/mesontest.py
index a17c431..bce4100 100755
--- a/mesontest.py
+++ b/mesontest.py
@@ -333,12 +333,14 @@ TIMEOUT: %4d
self.run_tests(tests)
return self.fail_count
+ @staticmethod
def split_suite_string(suite):
if ':' in suite:
return suite.split(':', 1)
else:
return suite, ""
+ @staticmethod
def test_in_suites(test, suites):
for suite in suites:
(prj_match, st_match) = TestHarness.split_suite_string(suite)