summaryrefslogtreecommitdiff
path: root/run_single_test.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2021-06-21 14:14:31 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-07-07 20:08:12 +0200
commit1c9698b10722abf5025ed4d464a5bec60da0daa4 (patch)
treeb14a074afd41f9d3b308fc26bdb03128501e0b99 /run_single_test.py
parent6bf86f4783b48941bad169d3718f19bcdc0649b5 (diff)
downloadmeson-1c9698b10722abf5025ed4d464a5bec60da0daa4.tar.gz
Drop checking skippable() in run_single_test
Drop checking skippable() in run_single_test. It always returns True unless we are under CI, so checking it here is pointless.
Diffstat (limited to 'run_single_test.py')
-rwxr-xr-xrun_single_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_single_test.py b/run_single_test.py
index 4d705078d..0a9357300 100755
--- a/run_single_test.py
+++ b/run_single_test.py
@@ -13,7 +13,7 @@ import pathlib
import typing as T
from mesonbuild import mlog
-from run_project_tests import TestDef, load_test_json, run_test, BuildStep, skippable
+from run_project_tests import TestDef, load_test_json, run_test, BuildStep
from run_project_tests import setup_commands, detect_system_compiler, print_tool_versions
if T.TYPE_CHECKING:
@@ -50,7 +50,7 @@ def main() -> None:
results = [run_test(t, t.args, '', True) for t in tests]
failed = False
for test, result in zip(tests, results):
- if (result is None) or (('MESON_SKIP_TEST' in result.stdo) and (skippable(str(args.case.parent), test.path.as_posix()))):
+ if (result is None) or ('MESON_SKIP_TEST' in result.stdo):
msg = mlog.yellow('SKIP:')
elif result.msg:
msg = mlog.red('FAIL:')