From: nasm-bot f. C. G. <gor...@gm...> - 2018-10-17 20:42:12
|
Commit-ID: dcf3937e92bcdc6181ab7e53680402a6b884f29f Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=dcf3937e92bcdc6181ab7e53680402a6b884f29f Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Wed, 17 Oct 2018 23:36:43 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Wed, 17 Oct 2018 23:36:43 +0300 test: nasm-t -- Use new syntax for update Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/nasm-t.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/travis/nasm-t.py b/travis/nasm-t.py index 714eccc..b7d8534 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'] |