aboutsummaryrefslogtreecommitdiffstats
path: root/travis/nasm-t.py
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 /travis/nasm-t.py
parent6977b23cfbf04e996da7ff46aa2d9ec59dc729e3 (diff)
downloadnasm-dcf3937e92bcdc6181ab7e53680402a6b884f29f.tar.gz
nasm-dcf3937e92bcdc6181ab7e53680402a6b884f29f.tar.xz
nasm-dcf3937e92bcdc6181ab7e53680402a6b884f29f.zip
test: nasm-t -- Use new syntax for update
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/nasm-t.py')
-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']