]> code.ossystems Code Review - openembedded-core.git/commitdiff
lttng-tools: Filter ptest output to remove random tmp directories
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Jun 2019 22:06:36 +0000 (23:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Jun 2019 22:39:17 +0000 (23:39 +0100)
These tmp paths end up in the test names making it hard to compare test runs
so filter them out, they're not useful for our purposes.

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

index dbb18820a4ce86df01fd12834d0e108e85293e39..eaa2e7b29d500a1a452bfc43241bcc8a18b31e6d 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 -k -s $makeargs check 2>/dev/null
+exec make -k -s $makeargs check 2>/dev/null | sed -e 's#/tmp/tmp\...........#/tmp/tmp.XXXXXXXXXX#g'
index 9583ee3abbe6d014dc95c25568440d898b29bf22..58c7864c304dd1dc69b391e3040bab6be9e83ccf 100644 (file)
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=01d7fc4496aacf37d90df90b90b0cac1 \
 
 DEPENDS = "liburcu popt libxml2 util-linux"
 RDEPENDS_${PN} = "libgcc"
-RDEPENDS_${PN}-ptest += "make perl bash gawk babeltrace procps perl-module-overloading coreutils util-linux kmod lttng-modules"
+RDEPENDS_${PN}-ptest += "make perl bash gawk babeltrace procps perl-module-overloading coreutils util-linux kmod lttng-modules sed"
 RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils"
 RDEPENDS_${PN}-ptest_append_libc-musl = " musl-utils"
 # babelstats.pl wants getopt-long