2018-08-08 15:20:02 +00:00
|
|
|
- hosts: localhost
|
|
|
|
vars:
|
2019-07-02 20:58:14 +00:00
|
|
|
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
|
2018-08-08 15:20:02 +00:00
|
|
|
tags:
|
|
|
|
- classic
|
2019-07-02 20:58:14 +00:00
|
|
|
roles:
|
|
|
|
- role: standard-test-basic
|
|
|
|
tests:
|
|
|
|
- badcode
|
|
|
|
required_packages:
|
|
|
|
- acpica-tools
|
2018-08-08 15:20:02 +00:00
|
|
|
remote_user: root
|
|
|
|
tasks:
|
|
|
|
- name: badcode
|
|
|
|
block:
|
|
|
|
- name: run the badcode test
|
|
|
|
shell: exec > /tmp/badcode.test.log 2>&1 && ./badcode/runtest.sh
|
|
|
|
|
|
|
|
always:
|
2019-07-02 20:58:14 +00:00
|
|
|
- name: pull out results
|
2018-08-08 15:20:02 +00:00
|
|
|
fetch:
|
|
|
|
dest: "{{ artifacts }}/"
|
2019-07-02 20:58:14 +00:00
|
|
|
src: "{{ item }}"
|
2018-08-08 15:20:02 +00:00
|
|
|
flat: yes
|
2019-07-02 20:58:14 +00:00
|
|
|
with_items:
|
|
|
|
- /tmp/badcode.test.log
|
|
|
|
- ./badcode/badcode.asl.expected
|
|
|
|
- ./badcode/badcode.asl.actual
|