[Piglit] [PATCH 13/20] unittests: skip test that only works on POSIX platforms

Dylan Baker dylan at pnwbakers.com
Wed Jun 1 23:50:20 UTC 2016


Tildes are not expanded as $HOME on windows, so don't run that test on
windows.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 unittests/core_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unittests/core_tests.py b/unittests/core_tests.py
index 9c5949f..0e55ca3 100644
--- a/unittests/core_tests.py
+++ b/unittests/core_tests.py
@@ -106,7 +106,7 @@ class Test_parse_listfile_TrailingWhitespace(object):
         nt.assert_equal(self.results[2], "/tmp/foo",
                         msg="Trailing tabs not removed!")
 
-
+ at utils.nose.Skip.platform('win32', is_=True)
 def test_parse_listfile_tilde():
     """core.parse_listfile(): tildes (~) are properly expanded.
 
-- 
2.8.3



More information about the Piglit mailing list