diff options
author | Andres Gomez <agomez@igalia.com> | 2020-07-30 02:24:47 +0300 |
---|---|---|
committer | Andres Gomez <agomez@igalia.com> | 2020-11-02 22:16:11 +0200 |
commit | 372295baa5b2e592533d537fdac499038779bf7d (patch) | |
tree | ecd7b895549fed8ca14051912b2891026fa912fb /framework | |
parent | 547e31f2b34d5d78fdf091acd98d89f08af99687 (diff) |
framework/replay: more info in stdout for compare
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/353>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/replay/compare_replay.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/framework/replay/compare_replay.py b/framework/replay/compare_replay.py index 2989d96f6..27e19b608 100644 --- a/framework/replay/compare_replay.py +++ b/framework/replay/compare_replay.py @@ -73,6 +73,10 @@ def _check_trace(trace_path, expected_checksum): results_path) result[trace_path]['actual'] = checksum or 'error' + print('[check_image]\n' + ' actual: {}\n' + ' expected: {}'.format(result[trace_path]['actual'], + expected_checksum)) if checksum is None: return False, result @@ -82,9 +86,7 @@ def _check_trace(trace_path, expected_checksum): print('[check_image] Images match for:\n {}\n'.format(trace_path)) ok = True else: - print('[check_image] Images differ for ' - '%s (expected: %s, actual: %s)'.format( - trace_path, expected_checksum, checksum)) + print('[check_image] Images differ for:\n {}'.format(trace_path)) print('[check_image] For more information see ' 'https://gitlab.freedesktop.org/' 'mesa/mesa/blob/master/.gitlab-ci/tracie/README.md') |