summaryrefslogtreecommitdiff
path: root/test/run-tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/run-tests.py')
-rwxr-xr-xtest/run-tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run-tests.py b/test/run-tests.py
index 80ed189d..3f995e2b 100755
--- a/test/run-tests.py
+++ b/test/run-tests.py
@@ -503,6 +503,8 @@ class TestInfo(object):
self.env = dict(x.split('=') for x in value.split())
elif key == 'PLATFORMS':
self.skip = platform.system() not in value.split()
+ elif key == 'NOT-PLATFORMS':
+ self.skip = platform.system() in value.split()
else:
raise Error('Unknown directive: %s' % key)