[oe-commits] [openembedded-core] 01/21: lttng-tools ptest: add missing dependencies

git at git.openembedded.org git at git.openembedded.org
Mon Mar 18 11:12:55 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit a266788c0037173b41e5e7a4b39b38b80333b87b
Author: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
AuthorDate: Tue Mar 12 21:13:29 2019 +0000

    lttng-tools ptest: add missing dependencies
    
    Multiple tests are failing due to missing dependencies on a bare
    core-image-minimal build with only lttng-tools ptest present.
    
    "getconf LONG_BIT" is used to get the bitness of the host to run the
    correct consumerd. Depend on glibc-utils.
    
    perl-module-overloading is needed to validate trace. babelstats.pl
    
    "head -c" is used to generate a random string. It is easier to depends
    on coreutils to get a feature complete "head" than to enable to "fancy
    head" feature of busybox. See utils.sh randstring.
    
    "taskset" is used in a couple of scripts to ensure that events generated
    finish in the same buffer. Depend on util-linux.
    
    [RP: Tweak for glibc/musl handling]
    Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb | 13 +++----------
 1 file changed, 3 insertions(+), 10 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 9d21fb0..8c711eb 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb
@@ -11,7 +11,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=01d7fc4496aacf37d90df90b90b0cac1 \
 
 DEPENDS = "liburcu popt libxml2 util-linux"
 RDEPENDS_${PN} = "libgcc"
-RDEPENDS_${PN}-ptest += "make perl bash gawk ${PN} babeltrace procps"
+RDEPENDS_${PN}-ptest += "make perl bash gawk ${PN} babeltrace procps perl-module-overloading coreutils util-linux"
+RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils"
+RDEPENDS_${PN}-ptest_append_libc-musl = " musl-utils"
 # babelstats.pl wants getopt-long
 RDEPENDS_${PN}-ptest += "perl-module-getopt-long"
 
@@ -141,15 +143,6 @@ do_install_ptest () {
         -e 's#\(^test.*LDADD.=\)#disable\1#g' \
         -i ${D}${PTEST_PATH}/tests/unit/Makefile
 
-    #
-    # Disable notification tools tests as currently
-    # these hang and cause the rest of the ptests to timeout
-    #
-    sed -e 's#tools/notification/test_notification_ust##g' \
-        -e 's#tools/notification/test_notification_kernel##g' \
-        -e 's#tools/notification/test_notification_multi_app##g' \
-        -i ${D}${PTEST_PATH}/tests/regression/Makefile
-
     # Substitute links to installed binaries.
     for prog in lttng lttng-relayd lttng-sessiond lttng-consumerd lttng-crash; do
         exedir="${D}${PTEST_PATH}/src/bin/${prog}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list