-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client-test: Disable printing test output
* smbtorture tests have been configured[1] to print the results irrespective of the outcome. * Test output is now redirected to a separate file[2], additional debug lines from ansible are no longer required. Previous change from 15b8f61 to configure ANSIBLE_STDOUT_CALLBACK option can also be avoided as entire results are now available in a separate file. [1] samba-in-kubernetes/sit-test-cases#44 [2] #67 Signed-off-by: Anoop C S <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 6 additions & 12 deletions
18
playbooks/ansible/roles/test.sit-test-cases/tasks/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
--- | ||
- name: Run tests | ||
block: | ||
- shell: | ||
chdir: /root/sit-test-cases | ||
cmd: make test &> /var/log/test.out | ||
register: test_output | ||
- debug: var=test_output.stdout_lines | ||
shell: | ||
chdir: /root/sit-test-cases | ||
cmd: make test &> /var/log/test.out | ||
when: test_sanity_only is undefined | ||
|
||
- name: Run sanity tests | ||
block: | ||
- shell: | ||
chdir: /root/sit-test-cases | ||
cmd: make sanity_test &> /var/log/test.out | ||
register: test_output | ||
- debug: var=test_output.stdout_lines | ||
shell: | ||
chdir: /root/sit-test-cases | ||
cmd: make sanity_test &> /var/log/test.out | ||
when: test_sanity_only is defined |