summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-10-17 23:36:43 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-10-17 23:36:43 +0300
commitdcf3937e92bcdc6181ab7e53680402a6b884f29f (patch)
treec0b18f1c1bf7b684d3c1785d2db0f0c9db3bf63d
parent6977b23cfbf04e996da7ff46aa2d9ec59dc729e3 (diff)
downloadnasm-dcf3937e92bcdc6181ab7e53680402a6b884f29f.tar.gz
test: nasm-t -- Use new syntax for update
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rwxr-xr-xtravis/nasm-t.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/travis/nasm-t.py b/travis/nasm-t.py
index 714eccca..b7d85346 100755
--- a/travis/nasm-t.py
+++ b/travis/nasm-t.py
@@ -349,15 +349,10 @@ def test_update(desc):
if 'update' in desc and desc['update'] == 'false':
return test_skip(desc['_test-name'], "No output provided")
- pnasm = exec_nasm(desc)
+ pnasm, stdout, stderr = exec_nasm(desc)
if pnasm == None:
return False
- stdout = pnasm.stdout.read()
- stderr = pnasm.stderr.read()
- pnasm.stdout.close()
- pnasm.stderr.close()
-
for t in desc['target']:
if 'output' in t:
output = desc['_base-dir'] + os.sep + t['output']