diff options
Diffstat (limited to 'tests/LTP/cve/run_tests.py')
-rw-r--r-- | tests/LTP/cve/run_tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/LTP/cve/run_tests.py b/tests/LTP/cve/run_tests.py index f8e864f..8ed99e5 100644 --- a/tests/LTP/cve/run_tests.py +++ b/tests/LTP/cve/run_tests.py @@ -21,6 +21,8 @@ class CveBase(LTPBase): os.environ['KCONFIG_SKIP_CHECK'] = "True" instance = CveBase() +skip_msg = "The current environment does not match the test requirements." +pytestmark = pytest.mark.skipif(instance.precheck() == False, reason = skip_msg) test_case_list = instance.get_test_case_list() @pytest.fixture(scope='module') |