]> code.ossystems Code Review - openembedded-core.git/commitdiff
lttng-tools: Improve ptest robustness
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Nov 2018 15:14:11 +0000 (15:14 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Nov 2018 10:11:24 +0000 (10:11 +0000)
There are some fatal make errors that occur from the current ptest
for lttng-tools however since other tests are successful, those make
build failures were being ignored.

When upgrading, the order of test execution changed and the ptest failed
fatally straight away with the same errors.

Passing -k to make means it will try and run all the tests making the
test suite run more consistently over all lttng-tools versions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-tools/run-ptest

index 705030ee53b8088af02388b4883afdf02e8f1b3f..dbb18820a4ce86df01fd12834d0e108e85293e39 100755 (executable)
@@ -3,4 +3,4 @@
 # test plan to raise ERRORs; this is just noise.
 makeargs="LOG_DRIVER_FLAGS=--ignore-exit top_srcdir=$PWD top_builddir=$PWD"
 make -k -t all >/dev/null 2>&1
-exec make -s $makeargs check 2>/dev/null
+exec make -k -s $makeargs check 2>/dev/null