diff options
author | Alexander Kanavin <alex@linutronix.de> | 2021-09-06 11:38:48 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-10 09:25:04 +0100 |
commit | 750d640f12b5c6804af51a67e23d4aca93564b79 (patch) | |
tree | c9991cf2878cc12928dcdcd1e938daac6007f06c /meta/recipes-kernel/lttng/lttng-tools/run-ptest | |
parent | b71bfba1b5076ad1b9a10c08ef0e3393ccbed92a (diff) | |
download | openembedded-core-750d640f12b5c6804af51a67e23d4aca93564b79.tar.gz |
lttng: update 2.12 -> 2.13.0
Drop 0001-tests-regression-disable-the-tools-live-tests.patch
(mass-disabling of ptests) and replace that with more targeted fixes:
- a patch that adds explicit sleeps where races due to too tight timings
were observed (not a proper fix; upstream needs to figure out how
to sync explicitly and reliably)
- LD_LIBRARY_PATH so that helper binaries are able to find their
custom libraries they're linked with (we strip rpath from them
for reproducibility)
- set pgrep location explicitly as it used unconditionally
on target, but auto-detected (incorrectly) on the host
- enable kmod as it is available in target images
- correct various missing scripts, binaries, and inhibit stripping
where that is expected.
License-Update: license info consolidated in LICENSE
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-tools/run-ptest')
-rwxr-xr-x | meta/recipes-kernel/lttng/lttng-tools/run-ptest | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools/run-ptest b/meta/recipes-kernel/lttng/lttng-tools/run-ptest index eaa2e7b29d..c4dbe50f21 100755 --- a/meta/recipes-kernel/lttng/lttng-tools/run-ptest +++ b/meta/recipes-kernel/lttng/lttng-tools/run-ptest @@ -1,6 +1,7 @@ #!/bin/sh # Without --ignore-exit, the tap harness causes any FAILs within a # test plan to raise ERRORs; this is just noise. +export LD_LIBRARY_PATH=FIXMEPTESTPATH/tests/utils/testapp/userspace-probe-elf-binary/.libs 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 | sed -e 's#/tmp/tmp\...........#/tmp/tmp.XXXXXXXXXX#g' |