From 068cd918dc09d72ee91ea35617496c3e25d6f843 Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Tue, 13 Dec 2016 09:14:22 +0100 Subject: [PATCH] make test-autotest always pass For now the autotest is too unreliable, so we run it to get some logs in different environments, but never (want to ) fail until it is stable. This was already the intention and worked if certain tests failed as we didn't check on the RC of the tests, but if the test overall fatally fails we had a FAIL due to the set -e. Change-Id: I54052351113a974d3e7810d55405f063e1fbe16a Signed-off-by: Christian Ehrhardt --- debian/tests/test-autotest | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/tests/test-autotest b/debian/tests/test-autotest index b18ad2a3..0ab308fd 100644 --- a/debian/tests/test-autotest +++ b/debian/tests/test-autotest @@ -1,5 +1,5 @@ #!/bin/bash -set -eu +set -u basedir=$(dirname "$0") . "${basedir}"/check-dpdk-supported-arch.sh @@ -55,4 +55,8 @@ python "${RTE_SDK}/test/autotest.py" \ "${RTE_TARGET}" \ "-KNI,power_acpi_cpufreq,power_kvm_vm,IVSHMEM,eal_flags,pci,ring_perf,mempool_perf,memcpy_perf,hash_perf,timer_perf" \ +# Pass/Fail +# For now the autotest is too unreliable, so we run it to get some logs in +# different environments, but never (want to) fail until it is stable. + echo "OK" -- 2.16.6