[Piglit] [PATCH] unittests: Skip timeout tests on windows

Dylan Baker dylan at pnwbakers.com
Wed Jul 6 21:38:29 UTC 2016


There is no implementation of the code these tests exercise on windows,
so they shouldn't run, these were masked by the bad skip conditions
fixed in 701df09b7510aca2a010ad9eaff2e0258e4ea4bc.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 unittests/base_tests.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/unittests/base_tests.py b/unittests/base_tests.py
index 2c3d99b..0f89139 100644
--- a/unittests/base_tests.py
+++ b/unittests/base_tests.py
@@ -173,6 +173,7 @@ def test_timeout_kill_children():
 
 
 @attr('slow')
+ at utils.nose.Skip.platform('win32', is_=True)
 @utils.nose.Skip.backport(3.3, 'subprocess32')
 @utils.nose.Skip.binary('sleep')
 @nt.timed(6)
@@ -189,6 +190,7 @@ def test_timeout():
 
 
 @attr('slow')
+ at utils.nose.Skip.platform('win32', is_=True)
 @utils.nose.Skip.backport(3.3, 'subprocess32')
 @utils.nose.Skip.binary('sleep')
 @nt.timed(6)
@@ -200,6 +202,7 @@ def test_timeout_timeout():
     nt.eq_(test.result.result, 'timeout')
 
 
+ at utils.nose.Skip.platform('win32', is_=True)
 @utils.nose.Skip.backport(3.3, 'subprocess32')
 @utils.nose.Skip.binary('true')
 @nt.timed(2)
-- 
2.9.0



More information about the Piglit mailing list