diff --git a/selftests/functional/test_basic.py b/selftests/functional/test_basic.py index 313aeb78da39f051f588f03e6f73cce9f5addf9c..889007c8a40617fd1d374d56d289c7ef56df735c 100644 --- a/selftests/functional/test_basic.py +++ b/selftests/functional/test_basic.py @@ -646,6 +646,9 @@ class RunnerSimpleTest(unittest.TestCase): "Avocado did not return rc %d:\n%s" % (expected_rc, result)) + @unittest.skipIf(os.environ.get("AVOCADO_CHECK_FULL") != "1", + "Skipping test that take a long time to run, are " + "resource intensive or time sensitve") def test_runner_onehundred_fail_timing(self): """ We can be pretty sure that a failtest should return immediately. Let's diff --git a/selftests/functional/test_loader.py b/selftests/functional/test_loader.py index 6c0085cd26639f8691954a997dc9963256b47383..ab29518ab2632fd9d73085c441640db0babbc82f 100644 --- a/selftests/functional/test_loader.py +++ b/selftests/functional/test_loader.py @@ -215,6 +215,9 @@ class LoaderTestFunctional(unittest.TestCase): def test_load_not_a_test_not_exec(self): self._test('notatest.py', NOT_A_TEST, 'NOT_A_TEST') + @unittest.skipIf(os.environ.get("AVOCADO_CHECK_FULL") != "1", + "Skipping test that take a long time to run, are " + "resource intensive or time sensitve") def test_runner_simple_python_like_multiple_files(self): mylib = script.TemporaryScript( 'test2.py',