From dcf3937e92bcdc6181ab7e53680402a6b884f29f Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Wed, 17 Oct 2018 23:36:43 +0300 Subject: [PATCH] test: nasm-t -- Use new syntax for update Signed-off-by: Cyrill Gorcunov --- 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 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'] -- 2.11.4.GIT