acpica-tools/tests/test_badcode.yml

29 lines
678 B
YAML
Raw Normal View History

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