Skip to content

Commit 23c70c8

Browse files
Fix issue when running tests locally
1 parent 3206f05 commit 23c70c8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

runner/main.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,10 @@ def setup_argparse():
201201

202202
result = run_single_test(path, executable)
203203
for file in result.files:
204-
submit_image(result, hardware, timestamp, file, runner_id, submit_url)
205-
else:
206-
store_image(result, file)
204+
if submit_images:
205+
submit_image(result, hardware, timestamp, file, runner_id, submit_url)
206+
else:
207+
store_image(result, file)
207208
time.sleep(0.5)
208209

209210
global_end = time.perf_counter()

0 commit comments

Comments
 (0)