diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-16 12:45:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-07 13:57:48 +0100 |
commit | 4ec1e606072eb12425a2aad49f5b7ae7782adf40 (patch) | |
tree | 3d71925fb290d25fe858979c6f42f4e31637dca5 | |
parent | 22d792c93e3ff01bf248dd8ce43e99ae5c7035f0 (diff) | |
download | poky-4ec1e606072eb12425a2aad49f5b7ae7782adf40.tar.gz |
gettext/flex/m4/bzip2/gzip/parted/slang/attr: Add make to -ptest packages
This solves ptest runtime errors where make was missing causing the ptests
to fail.
(From OE-Core rev: 47bcd4dec32e87b7353b079f63931d11cd0568e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup for warrior context]
[Dropped ptest fixes for pkg w/o ptests in warrior]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/flex/flex_2.6.0.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/gzip/gzip_1.10.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/parted/parted_3.2.bb | 2 | ||||
-rw-r--r-- | meta/recipes-extended/slang/slang_2.3.2.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/attr/attr.inc | 2 |
5 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-devtools/flex/flex_2.6.0.bb b/meta/recipes-devtools/flex/flex_2.6.0.bb index b89b7515b5..b477cd8c7f 100644 --- a/meta/recipes-devtools/flex/flex_2.6.0.bb +++ b/meta/recipes-devtools/flex/flex_2.6.0.bb | |||
@@ -48,7 +48,7 @@ PACKAGES =+ "${PN}-libfl" | |||
48 | FILES_${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*" | 48 | FILES_${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*" |
49 | 49 | ||
50 | RDEPENDS_${PN} += "m4" | 50 | RDEPENDS_${PN} += "m4" |
51 | RDEPENDS_${PN}-ptest += "bash gawk" | 51 | RDEPENDS_${PN}-ptest += "bash gawk make" |
52 | 52 | ||
53 | do_compile_ptest() { | 53 | do_compile_ptest() { |
54 | oe_runmake -C ${B}/tests -f ${B}/tests/Makefile top_builddir=${B} INCLUDES=-I${S}/src buildtests | 54 | oe_runmake -C ${B}/tests -f ${B}/tests/Makefile top_builddir=${B} INCLUDES=-I${S}/src buildtests |
diff --git a/meta/recipes-extended/gzip/gzip_1.10.bb b/meta/recipes-extended/gzip/gzip_1.10.bb index 75de970631..6a5b2459e6 100644 --- a/meta/recipes-extended/gzip/gzip_1.10.bb +++ b/meta/recipes-extended/gzip/gzip_1.10.bb | |||
@@ -12,6 +12,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | |||
12 | 12 | ||
13 | PROVIDES_append_class-native = " gzip-replacement-native" | 13 | PROVIDES_append_class-native = " gzip-replacement-native" |
14 | 14 | ||
15 | RDEPENDS_${PN}-ptest += "make" | ||
16 | |||
15 | BBCLASSEXTEND = "native" | 17 | BBCLASSEXTEND = "native" |
16 | 18 | ||
17 | inherit ptest | 19 | inherit ptest |
diff --git a/meta/recipes-extended/parted/parted_3.2.bb b/meta/recipes-extended/parted/parted_3.2.bb index 6189fd2246..ceac52892d 100644 --- a/meta/recipes-extended/parted/parted_3.2.bb +++ b/meta/recipes-extended/parted/parted_3.2.bb | |||
@@ -47,7 +47,7 @@ do_install_ptest() { | |||
47 | sed -e 's| ../parted||' -i $t/tests/*.sh | 47 | sed -e 's| ../parted||' -i $t/tests/*.sh |
48 | } | 48 | } |
49 | 49 | ||
50 | RDEPENDS_${PN}-ptest = "bash coreutils perl util-linux-losetup python3" | 50 | RDEPENDS_${PN}-ptest = "bash coreutils perl util-linux-losetup python3 make" |
51 | 51 | ||
52 | inherit update-alternatives | 52 | inherit update-alternatives |
53 | 53 | ||
diff --git a/meta/recipes-extended/slang/slang_2.3.2.bb b/meta/recipes-extended/slang/slang_2.3.2.bb index e53c4321b9..e329310937 100644 --- a/meta/recipes-extended/slang/slang_2.3.2.bb +++ b/meta/recipes-extended/slang/slang_2.3.2.bb | |||
@@ -75,6 +75,8 @@ do_install_ptest() { | |||
75 | 75 | ||
76 | FILES_${PN} += "${libdir}/${BPN}/v2/modules/ ${datadir}/slsh/" | 76 | FILES_${PN} += "${libdir}/${BPN}/v2/modules/ ${datadir}/slsh/" |
77 | 77 | ||
78 | RDEPENDS_${PN}-ptest += "make" | ||
79 | |||
78 | PARALLEL_MAKE = "" | 80 | PARALLEL_MAKE = "" |
79 | PARALLEL_MAKEINST = "" | 81 | PARALLEL_MAKEINST = "" |
80 | 82 | ||
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index cfa38a7196..1a29eb339e 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc | |||
@@ -41,6 +41,6 @@ do_install_ptest() { | |||
41 | sed -e 's|; @echo|; echo|' -i ${D}${PTEST_PATH}/test/Makefile | 41 | sed -e 's|; @echo|; echo|' -i ${D}${PTEST_PATH}/test/Makefile |
42 | } | 42 | } |
43 | 43 | ||
44 | RDEPENDS_${PN}-ptest = "attr coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix" | 44 | RDEPENDS_${PN}-ptest = "attr coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix make" |
45 | 45 | ||
46 | BBCLASSEXTEND = "native nativesdk" | 46 | BBCLASSEXTEND = "native nativesdk" |