diff options
Diffstat (limited to 'poky/meta-selftest')
6 files changed, 49 insertions, 3 deletions
diff --git a/poky/meta-selftest/conf/layer.conf b/poky/meta-selftest/conf/layer.conf index f574a505d..0626b2a3e 100644 --- a/poky/meta-selftest/conf/layer.conf +++ b/poky/meta-selftest/conf/layer.conf @@ -9,4 +9,4 @@ BBFILE_COLLECTIONS += "selftest" BBFILE_PATTERN_selftest = "^${LAYERDIR}/" BBFILE_PRIORITY_selftest = "5" -LAYERSERIES_COMPAT_selftest = "sumo" +LAYERSERIES_COMPAT_selftest = "thud" diff --git a/poky/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py b/poky/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py index 1aa727470..64a350237 100644 --- a/poky/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py +++ b/poky/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py @@ -27,7 +27,7 @@ class DnfSelftest(DnfTest): Expected: 1. Feeds were correctly set for dnf 2. Update recovers packages from host's repo Author: Humberto Ibarra <humberto.ibarra.lopez@intel.com> - Author: Alexander Kanavin <alexander.kanavin@intel.com> + Author: Alexander Kanavin <alex.kanavin@gmail.com> """ # When we created an image, we had to supply fake ip and port # for the feeds. Now we can patch the real ones into the config file. diff --git a/poky/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb b/poky/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb index 073cf5665..922518bc3 100644 --- a/poky/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb +++ b/poky/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb @@ -28,5 +28,8 @@ FILES_${PN} = "${bindir}/aspell" FILES_libpspell = "${libdir}/libpspell.so.*" FILES_libpspell-dev = "${libdir}/libpspell* ${bindir}/pspell-config ${includedir}/pspell" -ARM_INSTRUCTION_SET = "arm" +ARM_INSTRUCTION_SET_armv4 = "arm" +ARM_INSTRUCTION_SET_armv5 = "arm" +ARM_INSTRUCTION_SET_armv6 = "arm" + inherit autotools gettext diff --git a/poky/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb b/poky/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb new file mode 100644 index 000000000..842a9772c --- /dev/null +++ b/poky/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb @@ -0,0 +1,30 @@ +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +LICENSE = "MIT" + +SRC_URI = "file://hello.c \ + file://gdb.sh \ +" + +S = "${WORKDIR}" + +do_compile () { + ${CC} hello.c -o hello1 ${CFLAGS} ${LDFLAGS} +} + +do_install () { + install -d ${D}${bindir} + install -m 755 ${WORKDIR}/gdb.sh ${D}${bindir}/ + install -m 755 hello1 ${D}${bindir}/hello1 + ln ${D}${bindir}/hello1 ${D}${bindir}/hello2 + + install -d ${D}${libexecdir} + ln ${D}${bindir}/hello1 ${D}${libexecdir}/hello3 + ln ${D}${bindir}/hello1 ${D}${libexecdir}/hello4 + + dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M +} + +RDEPENDS_${PN}-gdb += "gdb" +PACKAGES =+ "${PN}-gdb" +FILES_${PN}-gdb = "${bindir}/gdb.sh" diff --git a/poky/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/gdb.sh b/poky/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/gdb.sh new file mode 100755 index 000000000..f6417d545 --- /dev/null +++ b/poky/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/gdb.sh @@ -0,0 +1,8 @@ +#!/bin/sh +gdb -q $1 <<'EOF' +b main +r +c +q +EOF +echo "" diff --git a/poky/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c b/poky/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c new file mode 100644 index 000000000..5c45dc60b --- /dev/null +++ b/poky/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c @@ -0,0 +1,5 @@ +#include <stdio.h> + +int main() { + printf("Hello World!\n"); +}
\ No newline at end of file |