Skip to content

Commit beea6ee

Browse files
committed
trying disabling nvidia and x11 via skipif
1 parent db1fb6c commit beea6ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_nvidia.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434

3535
@pytest.mark.docker
36+
@pytest.mark.skipif(sys.platform.startswith("win"), "X11 not supported on Windows")
3637
class X11Test(unittest.TestCase):
3738
@classmethod
3839
def setUpClass(self):
@@ -93,7 +94,7 @@ def test_x11_extension_nocleanup(self):
9394
# TODO(tfoote) do more to check that it doesn't actually clean up.
9495
# This is more of a smoke test
9596

96-
97+
@pytest.mark.skipif(sys.platform.startswith("win"), "X11 not supported on Windows")
9798
def test_no_x11_xpdyinfo(self):
9899
for tag in self.dockerfile_tags:
99100
dig = DockerImageGenerator([], {}, tag)
@@ -112,6 +113,7 @@ def test_x11_xpdyinfo(self):
112113

113114

114115
@pytest.mark.docker
116+
@pytest.mark.skipif(sys.platform.startswith("win"), "NVIDIA not supported on Windows")
115117
class NvidiaTest(unittest.TestCase):
116118
@classmethod
117119
def setUpClass(self):

0 commit comments

Comments
 (0)