diff options
Diffstat (limited to 'test/run-tests.py')
-rwxr-xr-x | test/run-tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/run-tests.py b/test/run-tests.py index 0bd241ea..370f75ef 100755 --- a/test/run-tests.py +++ b/test/run-tests.py @@ -20,6 +20,7 @@ import difflib import fnmatch import multiprocessing import os +import platform import re import shlex import shutil @@ -505,6 +506,8 @@ class TestInfo(object): elif key == 'ENV': # Pattern: FOO=1 BAR=stuff self.env = dict(x.split('=') for x in value.split()) + elif key == 'PLATFORMS': + self.skip = platform.system() not in value.split() else: raise Error('Unknown directive: %s' % key) |