diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2021-06-21 14:14:31 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-07-07 20:08:12 +0200 |
commit | 1c9698b10722abf5025ed4d464a5bec60da0daa4 (patch) | |
tree | b14a074afd41f9d3b308fc26bdb03128501e0b99 /run_single_test.py | |
parent | 6bf86f4783b48941bad169d3718f19bcdc0649b5 (diff) | |
download | meson-1c9698b10722abf5025ed4d464a5bec60da0daa4.zip meson-1c9698b10722abf5025ed4d464a5bec60da0daa4.tar.gz meson-1c9698b10722abf5025ed4d464a5bec60da0daa4.tar.bz2 |
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-x | run_single_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run_single_test.py b/run_single_test.py index 4d70507..0a93573 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:') |