aboutsummaryrefslogtreecommitdiffstats
path: root/tests/LTP/syscalls/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/LTP/syscalls/run_tests.py')
-rw-r--r--tests/LTP/syscalls/run_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/LTP/syscalls/run_tests.py b/tests/LTP/syscalls/run_tests.py
index 37bd365..5421f28 100644
--- a/tests/LTP/syscalls/run_tests.py
+++ b/tests/LTP/syscalls/run_tests.py
@@ -40,6 +40,8 @@ class SyscallsBase(LTPBase):
cwd=cwd_buf, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
instance = SyscallsBase()
+skip_msg = "The current environment does not match the test requirements."
+pytestmark = pytest.mark.skipif(instance.precheck() == False, reason = skip_msg)
case_list = instance.get_test_case_list()
@pytest.fixture(scope='module')