Skip to content

Commit 20ab6d4

Browse files
committed
selftests: ensure to process tap output only if tests run
Without this we may try to process saved tap output without it being there. Signed-off-by: Luis Chamberlain <[email protected]>
1 parent 63b912f commit 20ab6d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

playbooks/roles/selftests/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@
417417
content: "{{ selftests_out.stdout_lines|join('\n') }}"
418418
dest: "{{ selftests_workdir}}/tap.log"
419419
when:
420+
- kdevops_run_selftests|bool
420421
- selftest_kernelspace|bool
421422

422423
- name: Save userspace test output

0 commit comments

Comments
 (0)