[Piglit] [PATCH 38/42] base_tests.py: remove duplicate test

Dylan Baker baker.dylan.c at gmail.com
Wed Apr 22 15:10:27 PDT 2015


Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/tests/base_tests.py | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/framework/tests/base_tests.py b/framework/tests/base_tests.py
index c20ee16..8210fc5 100644
--- a/framework/tests/base_tests.py
+++ b/framework/tests/base_tests.py
@@ -43,19 +43,6 @@ class TestTest(Test):
 
 
 # Tests
-def test_run_return_early():
-    """test.base.Test.run(): exits early when Test._run_command() has exception
-    """
-    def helper():
-        raise AssertionError("The test didn't return early")
-
-    # Of course, this won't work if you actually have a foobarcommand in your
-    # path...
-    test = TestTest(['foobarcommand'])
-    test.test_interpret_result = helper
-    test.run()
-
-
 def test_timeout():
     """test.base.Test.run(): kills tests that exceed timeout when set"""
     utils.binary_check('sleep')
-- 
2.3.5



More information about the Piglit mailing list