Blame tests/test_grammar.yml
|
Al Stone |
69fdad |
- hosts: localhost
|
|
Al Stone |
69fdad |
vars:
|
|
Al Stone |
69fdad |
- artifacts: ./artifacts
|
|
Al Stone |
69fdad |
tags:
|
|
Al Stone |
69fdad |
- classic
|
|
Al Stone |
69fdad |
remote_user: root
|
|
Al Stone |
69fdad |
tasks:
|
|
Al Stone |
69fdad |
- name: grammar
|
|
Al Stone |
69fdad |
block:
|
|
Al Stone |
69fdad |
- name: run the grammar test
|
|
Al Stone |
69fdad |
shell: exec > /tmp/grammar.test.log 2>&1 && ./grammar/runtest.sh
|
|
Al Stone |
69fdad |
|
|
Al Stone |
69fdad |
always:
|
|
Al Stone |
69fdad |
- name: pull out logs
|
|
Al Stone |
69fdad |
fetch:
|
|
Al Stone |
69fdad |
dest: "{{ artifacts }}/"
|
|
Al Stone |
69fdad |
src: "/tmp/grammar.test.log"
|
|
Al Stone |
69fdad |
flat: yes
|
|
Al Stone |
69fdad |
- name: pull out expected
|
|
Al Stone |
69fdad |
fetch:
|
|
Al Stone |
69fdad |
dest: "{{ artifacts }}/"
|
|
Al Stone |
69fdad |
src: "./grammar/grammar.asl.expected"
|
|
Al Stone |
69fdad |
flat: yes
|
|
Al Stone |
69fdad |
- name: pull out actual
|
|
Al Stone |
69fdad |
fetch:
|
|
Al Stone |
69fdad |
dest: "{{ artifacts }}/"
|
|
Al Stone |
69fdad |
src: "./grammar/grammar.asl.actual"
|
|
Al Stone |
69fdad |
flat: yes
|