diff options
Diffstat (limited to '_test/roundtrip.py')
-rw-r--r-- | _test/roundtrip.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/_test/roundtrip.py b/_test/roundtrip.py index ac1d725..8e1e66e 100644 --- a/_test/roundtrip.py +++ b/_test/roundtrip.py @@ -251,7 +251,8 @@ def save_and_run(program, base_dir=None, output=None, file_name=None, optimized= print('running:', *cmd) res = check_output(cmd, stderr=STDOUT, universal_newlines=True) if output is not None: - print('res', res) + print('result: ', res, end='') + print('expected:', output, end='') assert res == output except CalledProcessError as exception: print("##### Running '{} {}' FAILED #####".format(sys.executable, file_name)) |