[nasm:nasm-2.15.xx] travis: nasm-t -- add ability to disable test
nasm-bot for Cyrill Gorcunov
gorcunov at gmail.com
Tue Aug 25 06:39:05 PDT 2020
Commit-ID: 4b3ac4eefd74ee7ee0b7c3bd837b78d37f12028c
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=4b3ac4eefd74ee7ee0b7c3bd837b78d37f12028c
Author: Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Tue, 25 Aug 2020 15:31:24 +0300
Committer: Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Tue, 25 Aug 2020 16:36:10 +0300
travis: nasm-t -- add ability to disable test
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
travis/nasm-t.py | 5 +++++
1 file changed, 5 insertions(+)
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:
More information about the Nasm-commits
mailing list