[Piglit] [PATCH 11/20] unittests: Skip xz shell compressor test if there is no xz binary

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


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

diff --git a/unittests/compressed_backend_tests.py b/unittests/compressed_backend_tests.py
index 8ff2b0c..80957e7 100644
--- a/unittests/compressed_backend_tests.py
+++ b/unittests/compressed_backend_tests.py
@@ -237,6 +237,7 @@ def test_update_piglit_conf():
 
 @utils.nose.Skip.py3
 @utils.nose.Skip.module('backports.lzma', available=False)
+ at utils.nose.Skip.binary('xz')
 @mock.patch.dict('os.environ', {'PIGLIT_COMPRESSION': 'xz'})
 @utils.nose.test_in_tempdir
 def test_xz_shell_override():
-- 
2.8.3



More information about the Piglit mailing list