[nasm:nasm-2.15.xx-travis] travis: nasm-t -- add ability to disable test
nasm-bot for Cyrill Gorcunov
gorcunov at gmail.com
Tue Aug 25 05:42:15 PDT 2020
Commit-ID: 06bd3b99a3c190a5577ab09801a832746dce247c
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=06bd3b99a3c190a5577ab09801a832746dce247c
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 15:40:58 +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 4310718a..3e358809 100755
--- a/travis/nasm-t.py
+++ b/travis/nasm-t.py
@@ -380,6 +380,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
@@ -432,6 +435,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