summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-26 22:49:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-27 18:04:14 +0000
commitfab5b5aea1c68258834a50639128a0bd5d6c6038 (patch)
treee311a6abbaea8c55b7fd719328e49d5e5309560c /meta/recipes-kernel/lttng
parenta55784451eaddcbe77c61a04f2f7f527ea75834b (diff)
downloadpoky-fab5b5aea1c68258834a50639128a0bd5d6c6038.tar.gz
lttng-tools: Disable hanging tests and other ptest fixes
Disable some tests which hang, blocking many other ptests. Also add missing test artefacts to improve test pass rate and fix failures. (From OE-Core rev: e6f1d15e307a8d2f5f05c9ec9dd8163e9072ad07) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng')
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb15
1 files changed, 12 insertions, 3 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb b/meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb
index 13bab9068e..9d21fb00bf 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb
@@ -63,11 +63,11 @@ do_install_append () {
63} 63}
64 64
65do_install_ptest () { 65do_install_ptest () {
66 for f in Makefile tests/Makefile tests/utils/utils.sh ; do 66 for f in Makefile tests/Makefile tests/utils/utils.sh tests/regression/tools/save-load/load-42*.lttng tests/regression/tools/save-load/configuration/load-42*.lttng ; do
67 install -D "${B}/$f" "${D}${PTEST_PATH}/$f" 67 install -D "${B}/$f" "${D}${PTEST_PATH}/$f"
68 done 68 done
69 69
70 for f in config/tap-driver.sh config/test-driver ; do 70 for f in config/tap-driver.sh config/test-driver src/common/config/session.xsd src/common/mi-lttng-3.0.xsd; do
71 install -D "${S}/$f" "${D}${PTEST_PATH}/$f" 71 install -D "${S}/$f" "${D}${PTEST_PATH}/$f"
72 done 72 done
73 73
@@ -141,8 +141,17 @@ do_install_ptest () {
141 -e 's#\(^test.*LDADD.=\)#disable\1#g' \ 141 -e 's#\(^test.*LDADD.=\)#disable\1#g' \
142 -i ${D}${PTEST_PATH}/tests/unit/Makefile 142 -i ${D}${PTEST_PATH}/tests/unit/Makefile
143 143
144 #
145 # Disable notification tools tests as currently
146 # these hang and cause the rest of the ptests to timeout
147 #
148 sed -e 's#tools/notification/test_notification_ust##g' \
149 -e 's#tools/notification/test_notification_kernel##g' \
150 -e 's#tools/notification/test_notification_multi_app##g' \
151 -i ${D}${PTEST_PATH}/tests/regression/Makefile
152
144 # Substitute links to installed binaries. 153 # Substitute links to installed binaries.
145 for prog in lttng lttng-relayd lttng-sessiond lttng-consumerd ; do 154 for prog in lttng lttng-relayd lttng-sessiond lttng-consumerd lttng-crash; do
146 exedir="${D}${PTEST_PATH}/src/bin/${prog}" 155 exedir="${D}${PTEST_PATH}/src/bin/${prog}"
147 install -d "$exedir" 156 install -d "$exedir"
148 case "$prog" in 157 case "$prog" in