summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-tools
diff options
context:
space:
mode:
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>2019-05-22 22:21:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-27 17:06:28 +0100
commit3a099ab54e23f797c12777dce97437b7dc97de25 (patch)
tree30f4e426990cda45afcf97c09aad3fb5368dc30c /meta/recipes-kernel/lttng/lttng-tools
parent1f6eed8fa1df53acc7eba68cc9ce3bfcb2c66053 (diff)
downloadopenembedded-core-3a099ab54e23f797c12777dce97437b7dc97de25.tar.gz
lttng-tools: prevent test timeout when lttng-modules is not present
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-tools')
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools/0008-Fix-check-for-lttng-modules-presence-before-testing.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools/0008-Fix-check-for-lttng-modules-presence-before-testing.patch b/meta/recipes-kernel/lttng/lttng-tools/0008-Fix-check-for-lttng-modules-presence-before-testing.patch
new file mode 100644
index 0000000000..04a773e8c5
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-tools/0008-Fix-check-for-lttng-modules-presence-before-testing.patch
@@ -0,0 +1,26 @@
+From 58e4dcce48b48b68b65bffc0cd51d9e26b44c75d Mon Sep 17 00:00:00 2001
+From: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
+Date: Wed, 22 May 2019 16:44:54 -0400
+Subject: [PATCH] Fix: check for lttng modules presence before testing
+
+Upstream-status: Submitted [1]
+
+[1] https://lists.lttng.org/pipermail/lttng-dev/2019-May/028987.html
+
+Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
+---
+ tests/regression/tools/notification/test_notification_multi_app | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/regression/tools/notification/test_notification_multi_app b/tests/regression/tools/notification/test_notification_multi_app
+index 29b0f62..a6baf65 100755
+--- a/tests/regression/tools/notification/test_notification_multi_app
++++ b/tests/regression/tools/notification/test_notification_multi_app
+@@ -484,6 +484,7 @@ else
+ fi
+
+ if [ "$(id -u)" == "0" ]; then
++ validate_lttng_modules_present
+ TESTS+=(
+ test_multi_app_kernel
+ test_on_register_evaluation_kernel