From 7acb034f448ef6bf1a4268c3c128ab925b3dbf1d Mon Sep 17 00:00:00 2001 From: John Bieren Date: Sep 11 2018 14:37:07 +0000 Subject: [PATCH 1/2] Stop using make to run tests --- diff --git a/misc/ltp/test_local.yml b/misc/ltp/test_local.yml index a056393..d9969a8 100644 --- a/misc/ltp/test_local.yml +++ b/misc/ltp/test_local.yml @@ -10,6 +10,7 @@ builddir: ./ltp userspacetargets: - containers + - controllers - hugetlb - mm - numa @@ -70,16 +71,15 @@ - name: Get known issues shell: ./knownissues.sh > {{ltpdir}}/ltp.skip - - block: - - name: Run ltp - shell: "make -k userspacesuite &> {{ ltpdir }}/runtest.out" - args: - chdir: ./ - - always: - - name: Fail play if testing failed - shell: "egrep '^Total Failures' {{ ltpdir }}/logs/{{ item }}/ltp.log | awk '{print $3}'" - register: number_failures - failed_when: number_failures.stdout != "0" - with_items: - - "{{ userspacetargets }}" + - name: Run ltp + shell: "./ktests/misc/ltp/runtest.sh -f {{ item }} &> {{ ltpdir }}/logs/{{ item }}/runtest.out" + ignore_errors: yes + with_items: + - "{{ userspacetargets }}" + + - name: Fail play if testing failed + shell: "egrep '^Total Failures' {{ ltpdir }}/logs/{{ item }}/ltp.log | awk '{print $3}'" + register: number_failures + failed_when: number_failures.stdout != "0" + with_items: + - "{{ userspacetargets }}" From a522629edd8547f621a78c800a5fb6bb7e6d3068 Mon Sep 17 00:00:00 2001 From: John Bieren Date: Sep 11 2018 18:11:44 +0000 Subject: [PATCH 2/2] Fix pathing --- diff --git a/misc/ltp/test_local.yml b/misc/ltp/test_local.yml index d9969a8..0dbce40 100644 --- a/misc/ltp/test_local.yml +++ b/misc/ltp/test_local.yml @@ -72,7 +72,7 @@ shell: ./knownissues.sh > {{ltpdir}}/ltp.skip - name: Run ltp - shell: "./ktests/misc/ltp/runtest.sh -f {{ item }} &> {{ ltpdir }}/logs/{{ item }}/runtest.out" + shell: "./runtest.sh {{ ltpdir }} {{ item }}" ignore_errors: yes with_items: - "{{ userspacetargets }}"