acpica-tools/tests/test_grammar.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:
- grammar
required_packages:
- acpica-tools
remote_user: root
tasks:
- name: grammar
block:
- name: run the grammar test
shell: exec > /tmp/grammar.test.log 2>&1 && ./grammar/runtest.sh
always:
- name: pull out results
fetch:
dest: "{{ artifacts }}/"
src: "{{ item }}"
flat: yes
with_items:
- /tmp/grammar.test.log
- ./grammar/grammar.asl.expected
- ./grammar/grammar.asl.actual