zuul-jobs/roles/phoronix-test-suite/tasks/main.yaml
Tristan Cacqueray 59c5820fa6 Add phoronix-test-suite job
This change adds new jobs to run and combine phoronix test suite results.

Co-Authored-By: Nicolas Hicher <nhicher@redhat.com>
Change-Id: If94cdbd91c8d80393a71cd5c36690563de9edcd6
2020-04-03 13:03:07 +00:00

17 lines
421 B
YAML

---
- name: Install test
shell: |
set -o pipefail
yes | phoronix-test-suite install {{ ' '.join(phoronix_test_suites) }}
args:
executable: /bin/bash
register: _phoronix_cmd
failed_when: _phoronix_cmd.rc != 141
- name: Run test
shell: |
set -o pipefail
yes | phoronix-test-suite batch-run {{ ' '.join(phoronix_test_suites) }}
register: _phoronix_cmd
failed_when: _phoronix_cmd.rc != 141