make test-autotest always pass 60/4260/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Tue, 13 Dec 2016 08:14:22 +0000 (09:14 +0100)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Tue, 13 Dec 2016 08:14:22 +0000 (09:14 +0100)
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 <christian.ehrhardt@canonical.com>
debian/tests/test-autotest

index b18ad2a..0ab308f 100644 (file)
@@ -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"