diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-10-17 23:36:43 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-10-17 23:36:43 +0300 |
commit | dcf3937e92bcdc6181ab7e53680402a6b884f29f (patch) | |
tree | c0b18f1c1bf7b684d3c1785d2db0f0c9db3bf63d | |
parent | 6977b23cfbf04e996da7ff46aa2d9ec59dc729e3 (diff) | |
download | nasm-dcf3937e92bcdc6181ab7e53680402a6b884f29f.tar.gz |
test: nasm-t -- Use new syntax for update
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rwxr-xr-x | travis/nasm-t.py | 7 |
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'] |