summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorRohan Garg <rohan.garg@collabora.com>2020-04-07 13:17:07 +0200
committerRohan Garg <rohan@garg.io>2020-04-07 18:21:32 +0000
commit80c13a81b160f73f706bba4315461d77760ced76 (patch)
treea86e164b69682eb2f7a57a0cc01f005ada1250fe /.gitlab-ci
parentefbbf8bb81e97a2b2d2e6e018750ef36cd460676 (diff)
tracie: Reformat code to fix indentation
Signed-off-by: Rohan Garg <rohan.garg@collabora.com> Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4435> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4435>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/tracie/tracie.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/.gitlab-ci/tracie/tracie.py b/.gitlab-ci/tracie/tracie.py
index 7ed54cb179e..63d3a603368 100644
--- a/.gitlab-ci/tracie/tracie.py
+++ b/.gitlab-ci/tracie/tracie.py
@@ -118,16 +118,16 @@ def check_trace(repo_url, repo_commit, device_name, trace, expectation):
trace_path = Path(TRACES_DB_PATH + trace['path'])
checksum, image_file, log_file = replay(trace_path, device_name)
if checksum is None:
- return False
+ return False
elif checksum == expectation['checksum']:
- print("[check_image] Images match for %s" % (trace['path']))
- ok = True
+ print("[check_image] Images match for %s" % (trace['path']))
+ ok = True
else:
- print("[check_image] Images differ for %s (expected: %s, actual: %s)" %
- (trace['path'], expectation['checksum'], checksum))
- print("[check_image] For more information see "
- "https://gitlab.freedesktop.org/mesa/mesa/blob/master/.gitlab-ci/tracie/README.md")
- ok = False
+ print("[check_image] Images differ for %s (expected: %s, actual: %s)" %
+ (trace['path'], expectation['checksum'], checksum))
+ print("[check_image] For more information see "
+ "https://gitlab.freedesktop.org/mesa/mesa/blob/master/.gitlab-ci/tracie/README.md")
+ ok = False
trace_dir = os.path.split(trace['path'])[0]
dir_in_results = os.path.join(trace_dir, "test", device_name)