aboutsummaryrefslogtreecommitdiffstats
path: root/travis/nasm-t.py
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-08-25 15:31:24 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-08-25 16:36:10 +0300
commit4b3ac4eefd74ee7ee0b7c3bd837b78d37f12028c (patch)
tree540069b33e2c820c941e90a0dec643e92b4b8140 /travis/nasm-t.py
parentd9eed2bec786aa7e90d7ee005baed8ca4a3dbadd (diff)
downloadnasm-4b3ac4eefd74ee7ee0b7c3bd837b78d37f12028c.tar.gz
nasm-4b3ac4eefd74ee7ee0b7c3bd837b78d37f12028c.tar.xz
nasm-4b3ac4eefd74ee7ee0b7c3bd837b78d37f12028c.zip
travis: nasm-t -- add ability to disable test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/nasm-t.py')
-rwxr-xr-xtravis/nasm-t.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/travis/nasm-t.py b/travis/nasm-t.py
index 7a1e5506..8907692e 100755
--- a/travis/nasm-t.py
+++ b/travis/nasm-t.py
@@ -378,6 +378,9 @@ def exec_nasm(desc):
def test_run(desc):
print("=== Running %s ===" % (desc['_test-name']))
+ if 'disable' in desc:
+ return test_skip(desc['_test-name'], desc["disable"])
+
pnasm, stdout, stderr = exec_nasm(desc)
if pnasm == None:
return False
@@ -430,6 +433,8 @@ def test_update(desc):
if 'update' in desc and desc['update'] == 'false':
return test_skip(desc['_test-name'], "No output provided")
+ if 'disable' in desc:
+ return test_skip(desc['_test-name'], desc["disable"])
pnasm, stdout, stderr = exec_nasm(desc)
if pnasm == None: