diff options
Diffstat (limited to 'tests/LTP/math')
-rw-r--r-- | tests/LTP/math/run_tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/LTP/math/run_tests.py b/tests/LTP/math/run_tests.py index 9f82915..e288534 100644 --- a/tests/LTP/math/run_tests.py +++ b/tests/LTP/math/run_tests.py @@ -7,6 +7,8 @@ class MathBase(LTPBase): super().__init__(test_name="math") instance = MathBase() +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') |