summaryrefslogtreecommitdiffstats
path: root/meta-selftest/recipes-test
diff options
context:
space:
mode:
Diffstat (limited to 'meta-selftest/recipes-test')
-rw-r--r--meta-selftest/recipes-test/aspell/aspell_%.bbappend2
-rw-r--r--meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb34
-rw-r--r--meta-selftest/recipes-test/base-files/base-files_%.bbappend2
-rw-r--r--meta-selftest/recipes-test/bbclasses/systemd-and-sysvinit.bb17
-rw-r--r--meta-selftest/recipes-test/bbclasses/systemd-only.bb12
-rw-r--r--meta-selftest/recipes-test/binutils/binutils_%.bbappend2
-rw-r--r--meta-selftest/recipes-test/container-image/container-image-testpkg.bb8
-rw-r--r--meta-selftest/recipes-test/container-image/container-test-image.bb9
-rw-r--r--meta-selftest/recipes-test/cpp/.gitignore1
-rw-r--r--meta-selftest/recipes-test/cpp/cmake-example.bb25
-rw-r--r--meta-selftest/recipes-test/cpp/cmake-example/run-ptest10
-rw-r--r--meta-selftest/recipes-test/cpp/cpp-example.inc24
-rw-r--r--meta-selftest/recipes-test/cpp/files/CMakeLists.txt61
-rw-r--r--meta-selftest/recipes-test/cpp/files/cpp-example-lib.cpp33
-rw-r--r--meta-selftest/recipes-test/cpp/files/cpp-example-lib.hpp21
-rw-r--r--meta-selftest/recipes-test/cpp/files/cpp-example.cpp18
-rw-r--r--meta-selftest/recipes-test/cpp/files/meson.build39
-rw-r--r--meta-selftest/recipes-test/cpp/files/meson.options3
-rw-r--r--meta-selftest/recipes-test/cpp/files/test-cpp-example.cpp25
-rw-r--r--meta-selftest/recipes-test/cpp/meson-example.bb27
-rw-r--r--meta-selftest/recipes-test/cpp/meson-example/run-ptest10
-rw-r--r--meta-selftest/recipes-test/delay/delay.bb12
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb8
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemuarm/arm.patch7
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemux86/x86.patch7
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-patch-overrides/source1
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-ignored.bb9
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch9
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch.expected17
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.tar.gzbin205 -> 0 bytes
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-local/file11
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-local/file21
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-local/file31
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-local_6.03.bb18
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-localonly.bb12
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-localonly/file11
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-localonly/file21
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-localonly/file31
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-long-filename.bb9
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch9
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch.expected17
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-long-filename/devtool-test-long-filename.tar.gzbin180 -> 0 bytes
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-patch-gz.bb18
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-patch-gz/readme.patch.gzbin449 -> 0 bytes
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb8
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-reset-re++/file11
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-subdir.bb9
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-subdir/devtool-test-subdir.tar.gzbin181 -> 0 bytes
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-subdir/testfile1
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch27
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/backported.patch39
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb22
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded19
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb20
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded19
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb16
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb.upgraded15
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb22
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb.upgraded19
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test5_git.bb32
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test5_git.bb.upgraded31
-rw-r--r--meta-selftest/recipes-test/emptytest/emptytest.bb7
-rw-r--r--meta-selftest/recipes-test/error/error.bb10
-rw-r--r--meta-selftest/recipes-test/ext-dtb/bbb-dtbs-as-ext.bb29
-rw-r--r--meta-selftest/recipes-test/ext-dtb/files/BBORG_RELAY-00A2.dts49
-rw-r--r--meta-selftest/recipes-test/ext-dtb/files/am335x-bonegreen-ext.dts14
-rw-r--r--meta-selftest/recipes-test/fortran/files/hello.f955
-rw-r--r--meta-selftest/recipes-test/fortran/fortran-helloworld.bb26
-rw-r--r--meta-selftest/recipes-test/gcc-source/gcc-source_%.bbappend2
-rw-r--r--meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb24
-rw-r--r--meta-selftest/recipes-test/gitrepotest/gitrepotest.bb15
-rw-r--r--meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch11
-rw-r--r--meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline-fail.bb4
-rw-r--r--meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline.bb5
-rw-r--r--meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline.inc15
-rw-r--r--meta-selftest/recipes-test/images/error-image.bb8
-rw-r--r--meta-selftest/recipes-test/images/oe-selftest-image.bb10
-rw-r--r--meta-selftest/recipes-test/images/test-empty-image.bb6
-rw-r--r--meta-selftest/recipes-test/images/wic-image-minimal.bb20
-rw-r--r--meta-selftest/recipes-test/images/wic-image-minimal.wks10
-rw-r--r--meta-selftest/recipes-test/license/incompatible-license-alias.bb5
-rw-r--r--meta-selftest/recipes-test/license/incompatible-license.bb5
-rw-r--r--meta-selftest/recipes-test/license/incompatible-licenses.bb5
-rw-r--r--meta-selftest/recipes-test/license/incompatible-nonspdx-license.bb5
-rw-r--r--meta-selftest/recipes-test/logging-test/logging-test.bb34
-rw-r--r--meta-selftest/recipes-test/m4/m4_%.bbappend2
-rw-r--r--meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch24
-rw-r--r--meta-selftest/recipes-test/man-db/man-db_%.bbappend2
-rw-r--r--meta-selftest/recipes-test/multiconfig/multiconfig-image-packager_0.1.bb44
-rw-r--r--meta-selftest/recipes-test/multiconfig/multiconfig-test-parse.bb11
-rw-r--r--meta-selftest/recipes-test/nopackages/selftest-nopackages.bb6
-rw-r--r--meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb22
-rw-r--r--meta-selftest/recipes-test/packagenameconflict/packagenameconflict.bb10
-rw-r--r--meta-selftest/recipes-test/perlcross/perlcross_%.bbappend2
-rw-r--r--meta-selftest/recipes-test/poison/poison.bb32
-rw-r--r--meta-selftest/recipes-test/postinst/postinst_1.0.bb72
-rw-r--r--meta-selftest/recipes-test/pseudo-pyc-test/pseudo-pyc-test.bb15
-rw-r--r--meta-selftest/recipes-test/recipetool/files/add-file.patch10
-rw-r--r--meta-selftest/recipes-test/recipetool/files/file12
-rw-r--r--meta-selftest/recipes-test/recipetool/files/installscript.sh3
-rw-r--r--meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-func1
-rw-r--r--meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-globfile1
-rw-r--r--meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-todir-globfile1
-rw-r--r--meta-selftest/recipes-test/recipetool/files/selftest-replaceme-orig1
-rw-r--r--meta-selftest/recipes-test/recipetool/files/selftest-replaceme-todir1
-rw-r--r--meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir1
-rw-r--r--meta-selftest/recipes-test/recipetool/selftest-recipetool-appendfile.bb42
-rw-r--r--meta-selftest/recipes-test/recipeutils/recipeutils-test.inc5
-rw-r--r--meta-selftest/recipes-test/recipeutils/recipeutils-test/anotherfile0
-rw-r--r--meta-selftest/recipes-test/recipeutils/recipeutils-test/somefile0
-rw-r--r--meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb15
-rw-r--r--meta-selftest/recipes-test/selftest-chown/selftest-chown.bb30
-rw-r--r--meta-selftest/recipes-test/selftest-ed/selftest-ed_1.20.2.bb44
-rw-r--r--meta-selftest/recipes-test/selftest-ed/selftest-ed_1.21.1.bb42
-rw-r--r--meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb43
-rwxr-xr-xmeta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/gdb.sh8
-rw-r--r--meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c5
-rw-r--r--meta-selftest/recipes-test/selftest-hello/files/helloworld.c8
-rw-r--r--meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb19
-rw-r--r--meta-selftest/recipes-test/selftest-users/acreategroup.bb32
-rw-r--r--meta-selftest/recipes-test/selftest-users/bcreategroup.bb37
-rw-r--r--meta-selftest/recipes-test/selftest-users/ccreategroup.bb34
-rw-r--r--meta-selftest/recipes-test/selftest-users/creategroup1.bb30
-rw-r--r--meta-selftest/recipes-test/selftest-users/creategroup2.bb32
-rw-r--r--meta-selftest/recipes-test/selftest-users/dcreategroup.bb33
-rw-r--r--meta-selftest/recipes-test/selftest-users/useraddbadtask.bb20
-rw-r--r--meta-selftest/recipes-test/sysroot-test/sysroot-la-test_1.0.bb16
-rw-r--r--meta-selftest/recipes-test/sysroot-test/sysroot-pc-test_1.0.bb12
-rw-r--r--meta-selftest/recipes-test/sysroot-test/sysroot-shebang-test_1.0.bb12
-rw-r--r--meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb14
-rw-r--r--meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb14
-rw-r--r--meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb6
-rw-r--r--meta-selftest/recipes-test/systemd-machine-units/systemd-machine-units_%.bbappend2
-rw-r--r--meta-selftest/recipes-test/testrpm/files/testfile.txt1
-rw-r--r--meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb20
-rw-r--r--meta-selftest/recipes-test/wrapper/cmdline-shebang-wrapper-test.bb30
-rw-r--r--meta-selftest/recipes-test/wrapper/files/test.awk2
-rw-r--r--meta-selftest/recipes-test/xcursor-transparent-theme/xcursor-transparent-theme_%.bbappend2
138 files changed, 0 insertions, 2039 deletions
diff --git a/meta-selftest/recipes-test/aspell/aspell_%.bbappend b/meta-selftest/recipes-test/aspell/aspell_%.bbappend
deleted file mode 100644
index 205720982c..0000000000
--- a/meta-selftest/recipes-test/aspell/aspell_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
1# This bbappend is used to alter the recipe using the test_recipe.inc file created by tests.
2include test_recipe.inc
diff --git a/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb b/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb
deleted file mode 100644
index e1e473fe80..0000000000
--- a/meta-selftest/recipes-test/aspell/aspell_0.0.0.1.bb
+++ /dev/null
@@ -1,34 +0,0 @@
1# This recipe is a copy from the oe-core one.
2# It has a lower and invalid version number in order not to be accidentally used by bitbake.
3# It is used for tests that require overlayed recipe files.
4
5SUMMARY = "GNU Aspell spell-checker"
6SECTION = "console/utils"
7HOMEPAGE = "https://ftp.gnu.org/gnu/aspell/"
8
9LICENSE = "LGPL-2.0-only | LGPL-2.1-only"
10LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
11
12SRC_URI = "${GNU_MIRROR}/aspell/aspell-${PV}.tar.gz"
13SRC_URI[md5sum] = "e66a9c9af6a60dc46134fdacf6ce97d7"
14SRC_URI[sha256sum] = "f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1"
15
16EXCLUDE_FROM_WORLD = "1"
17
18PACKAGECONFIG ??= ""
19PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses"
20
21PACKAGES += "libaspell libpspell libpspell-dev aspell-utils"
22
23FILES:${PN}-dbg += "${libdir}/aspell-0.60/.debu*"
24FILES:libaspell = "${libdir}/libaspell.so.* ${libdir}/aspell*"
25FILES:aspell-utils = "${bindir}/word-list-compress ${bindir}/aspell-import ${bindir}/run-with-aspell ${bindir}/pre*"
26FILES:${PN} = "${bindir}/aspell"
27FILES:libpspell = "${libdir}/libpspell.so.*"
28FILES:libpspell-dev = "${libdir}/libpspell* ${bindir}/pspell-config ${includedir}/pspell"
29
30ARM_INSTRUCTION_SET:armv4 = "arm"
31ARM_INSTRUCTION_SET:armv5 = "arm"
32ARM_INSTRUCTION_SET:armv6 = "arm"
33
34inherit autotools gettext
diff --git a/meta-selftest/recipes-test/base-files/base-files_%.bbappend b/meta-selftest/recipes-test/base-files/base-files_%.bbappend
deleted file mode 100644
index 205720982c..0000000000
--- a/meta-selftest/recipes-test/base-files/base-files_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
1# This bbappend is used to alter the recipe using the test_recipe.inc file created by tests.
2include test_recipe.inc
diff --git a/meta-selftest/recipes-test/bbclasses/systemd-and-sysvinit.bb b/meta-selftest/recipes-test/bbclasses/systemd-and-sysvinit.bb
deleted file mode 100644
index 94f9a7a770..0000000000
--- a/meta-selftest/recipes-test/bbclasses/systemd-and-sysvinit.bb
+++ /dev/null
@@ -1,17 +0,0 @@
1LICENSE = "MIT"
2
3inherit allarch systemd update-rc.d
4
5do_install() {
6 install -d ${D}${systemd_system_unitdir}
7 touch ${D}${systemd_system_unitdir}/${BPN}.service
8
9 install -d ${D}${INIT_D_DIR}
10 touch ${D}${INIT_D_DIR}/${BPN}
11}
12
13INITSCRIPT_NAME = "${BPN}"
14
15SYSTEMD_SERVICE:${PN} = "${BPN}.service"
16
17EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/bbclasses/systemd-only.bb b/meta-selftest/recipes-test/bbclasses/systemd-only.bb
deleted file mode 100644
index 6968247b08..0000000000
--- a/meta-selftest/recipes-test/bbclasses/systemd-only.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1LICENSE = "MIT"
2
3inherit allarch systemd
4
5do_install() {
6 install -d ${D}${systemd_system_unitdir}
7 touch ${D}${systemd_system_unitdir}/${BPN}.service
8}
9
10SYSTEMD_SERVICE:${PN} = "${BPN}.service"
11
12EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/binutils/binutils_%.bbappend b/meta-selftest/recipes-test/binutils/binutils_%.bbappend
deleted file mode 100644
index 205720982c..0000000000
--- a/meta-selftest/recipes-test/binutils/binutils_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
1# This bbappend is used to alter the recipe using the test_recipe.inc file created by tests.
2include test_recipe.inc
diff --git a/meta-selftest/recipes-test/container-image/container-image-testpkg.bb b/meta-selftest/recipes-test/container-image/container-image-testpkg.bb
deleted file mode 100644
index 929bc29753..0000000000
--- a/meta-selftest/recipes-test/container-image/container-image-testpkg.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1LICENSE = "MIT"
2
3INHIBIT_DEFAULT_DEPS = "1"
4
5do_install:append() {
6 install -d ${D}${bindir}
7 touch ${D}${bindir}/theapp
8}
diff --git a/meta-selftest/recipes-test/container-image/container-test-image.bb b/meta-selftest/recipes-test/container-image/container-test-image.bb
deleted file mode 100644
index 26b6409d1d..0000000000
--- a/meta-selftest/recipes-test/container-image/container-test-image.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1IMAGE_INSTALL += "container-image-testpkg"
2
3LICENSE = "MIT"
4
5IMAGE_FSTYPES = "container"
6IMAGE_LINGUAS = ""
7IMAGE_FEATURES = ""
8
9inherit core-image
diff --git a/meta-selftest/recipes-test/cpp/.gitignore b/meta-selftest/recipes-test/cpp/.gitignore
deleted file mode 100644
index 30d388a12b..0000000000
--- a/meta-selftest/recipes-test/cpp/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
1build* \ No newline at end of file
diff --git a/meta-selftest/recipes-test/cpp/cmake-example.bb b/meta-selftest/recipes-test/cpp/cmake-example.bb
deleted file mode 100644
index aecfcf780a..0000000000
--- a/meta-selftest/recipes-test/cpp/cmake-example.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7SUMMARY = "A C++ example compiled with cmake."
8
9require cpp-example.inc
10
11SRC_URI += "file://CMakeLists.txt"
12
13inherit cmake-qemu
14
15PACKAGECONFIG[failing_test] = "-DFAILING_TEST=ON"
16
17FILES:${PN}-ptest += "${bindir}/test-cmake-example"
18
19do_run_tests () {
20 bbnote ${DESTDIR:+DESTDIR=${DESTDIR} }${CMAKE_VERBOSE} cmake --build '${B}' --target test -- ${EXTRA_OECMAKE_BUILD}
21 eval ${DESTDIR:+DESTDIR=${DESTDIR} }${CMAKE_VERBOSE} cmake --build '${B}' --target test -- ${EXTRA_OECMAKE_BUILD}
22}
23do_run_tests[doc] = "Run cmake --target=test using qemu-user"
24
25addtask do_run_tests after do_compile
diff --git a/meta-selftest/recipes-test/cpp/cmake-example/run-ptest b/meta-selftest/recipes-test/cpp/cmake-example/run-ptest
deleted file mode 100644
index 94b620a198..0000000000
--- a/meta-selftest/recipes-test/cpp/cmake-example/run-ptest
+++ /dev/null
@@ -1,10 +0,0 @@
1#!/bin/sh
2#
3# Copyright OpenEmbedded Contributors
4#
5# SPDX-License-Identifier: MIT
6#
7
8test-cmake-example
9
10# Note: run-ptests exits with exit value from test-cmake-example
diff --git a/meta-selftest/recipes-test/cpp/cpp-example.inc b/meta-selftest/recipes-test/cpp/cpp-example.inc
deleted file mode 100644
index 76ff64e87f..0000000000
--- a/meta-selftest/recipes-test/cpp/cpp-example.inc
+++ /dev/null
@@ -1,24 +0,0 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
9
10DEPENDS += "json-c"
11
12PV = "1.0"
13
14SRC_URI = "\
15 file://cpp-example.cpp \
16 file://cpp-example-lib.hpp \
17 file://cpp-example-lib.cpp \
18 file://test-cpp-example.cpp \
19 file://run-ptest \
20"
21
22S = "${UNPACKDIR}"
23
24inherit ptest
diff --git a/meta-selftest/recipes-test/cpp/files/CMakeLists.txt b/meta-selftest/recipes-test/cpp/files/CMakeLists.txt
deleted file mode 100644
index 6fa6917d89..0000000000
--- a/meta-selftest/recipes-test/cpp/files/CMakeLists.txt
+++ /dev/null
@@ -1,61 +0,0 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7cmake_minimum_required(VERSION 3.22)
8
9project(cmake-example
10 VERSION 1.0.0
11 LANGUAGES CXX
12)
13
14option(BUILD_SHARED_LIBS "Build using shared libraries" ON)
15option(FAILING_TEST "Compile a failing unit test to test the test infrastructure" OFF)
16
17set(CMAKE_CXX_STANDARD 17)
18set(CMAKE_CXX_STANDARD_REQUIRED On)
19set(CMAKE_CXX_EXTENSIONS Off)
20
21include(GNUInstallDirs)
22
23# Linking a small library makes the example more useful for testing.
24find_package(json-c)
25
26# A simple library linking json-c library found by pkgconfig
27add_library(cmake-example-lib cpp-example-lib.cpp cpp-example-lib.hpp)
28set_target_properties(cmake-example-lib PROPERTIES
29 VERSION ${PROJECT_VERSION}
30 SOVERSION ${PROJECT_VERSION_MAJOR}
31)
32target_link_libraries(cmake-example-lib PRIVATE json-c::json-c)
33
34install(TARGETS cmake-example-lib
35 INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
36 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
37 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
38)
39
40# A simple executable linking the library
41add_executable(cmake-example cpp-example.cpp)
42target_link_libraries(cmake-example PRIVATE cmake-example-lib)
43
44install(TARGETS cmake-example
45 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
46)
47
48# A simple test executable for testing the library
49add_executable(test-cmake-example test-cpp-example.cpp)
50target_link_libraries(test-cmake-example PRIVATE cmake-example-lib)
51
52if (FAILING_TEST)
53 target_compile_definitions(test-cmake-example PRIVATE FAIL_COMPARISON_STR="foo")
54endif(FAILING_TEST)
55
56install(TARGETS test-cmake-example
57 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
58)
59
60include(CTest)
61add_test(NAME test-cmake-example COMMAND test-cmake-example)
diff --git a/meta-selftest/recipes-test/cpp/files/cpp-example-lib.cpp b/meta-selftest/recipes-test/cpp/files/cpp-example-lib.cpp
deleted file mode 100644
index d3dc976864..0000000000
--- a/meta-selftest/recipes-test/cpp/files/cpp-example-lib.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
1/*
2 * Copyright OpenEmbedded Contributors
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7#include <iostream>
8#include <string>
9#include <json-c/json.h>
10#include "cpp-example-lib.hpp"
11
12const std::string &CppExample::get_string()
13{
14 return test_string;
15}
16
17const char *CppExample::get_json_c_version()
18{
19 return json_c_version();
20}
21
22void CppExample::print_json()
23{
24 struct json_object *jobj;
25 const int flag = JSON_C_TO_STRING_SPACED | JSON_C_TO_STRING_PRETTY;
26
27 jobj = json_object_new_object();
28 json_object_object_add(jobj, "test_string", json_object_new_string(test_string.c_str()));
29
30 std::cout << json_object_to_json_string_ext(jobj, flag) << std::endl;
31
32 json_object_put(jobj); // Delete the json object
33}
diff --git a/meta-selftest/recipes-test/cpp/files/cpp-example-lib.hpp b/meta-selftest/recipes-test/cpp/files/cpp-example-lib.hpp
deleted file mode 100644
index 0ad9e7b7b2..0000000000
--- a/meta-selftest/recipes-test/cpp/files/cpp-example-lib.hpp
+++ /dev/null
@@ -1,21 +0,0 @@
1/*
2 * Copyright OpenEmbedded Contributors
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7#pragma once
8
9#include <string>
10
11struct CppExample
12{
13 inline static const std::string test_string = "cpp-example-lib Magic: 123456789";
14
15 /* Retrieve a constant string */
16 const std::string &get_string();
17 /* Retrieve a constant string from a library */
18 const char *get_json_c_version();
19 /* Call a more advanced function from a library */
20 void print_json();
21};
diff --git a/meta-selftest/recipes-test/cpp/files/cpp-example.cpp b/meta-selftest/recipes-test/cpp/files/cpp-example.cpp
deleted file mode 100644
index 9889554e0c..0000000000
--- a/meta-selftest/recipes-test/cpp/files/cpp-example.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
1/*
2 * Copyright OpenEmbedded Contributors
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7#include "cpp-example-lib.hpp"
8
9#include <iostream>
10
11int main()
12{
13 auto cpp_example = CppExample();
14 std::cout << "C++ example linking " << cpp_example.get_string() << std::endl;
15 std::cout << "Linking json-c version " << cpp_example.get_json_c_version() << std::endl;
16 cpp_example.print_json();
17 return 0;
18}
diff --git a/meta-selftest/recipes-test/cpp/files/meson.build b/meta-selftest/recipes-test/cpp/files/meson.build
deleted file mode 100644
index 74a0e0173c..0000000000
--- a/meta-selftest/recipes-test/cpp/files/meson.build
+++ /dev/null
@@ -1,39 +0,0 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7project('meson-example', 'cpp',
8 version: '1.0.0',
9 default_options: ['cpp_std=c++17'],
10 meson_version: '>=1.1.0'
11 )
12
13jsoncdep = dependency('json-c')
14
15if get_option('FAILING_TEST').enabled()
16 add_project_arguments('-DFAIL_COMPARISON_STR=foo', language: 'cpp')
17endif
18
19mesonexlib = shared_library('mesonexlib',
20 'cpp-example-lib.cpp', 'cpp-example-lib.hpp',
21 version: meson.project_version(),
22 soversion: meson.project_version().split('.')[0],
23 dependencies : jsoncdep,
24 install : true
25 )
26
27executable('mesonex',
28 'cpp-example.cpp',
29 link_with : mesonexlib,
30 install : true
31 )
32
33test_mesonex = executable('test-mesonex',
34 'test-cpp-example.cpp',
35 link_with : mesonexlib,
36 install : true
37)
38
39test('meson example test', test_mesonex)
diff --git a/meta-selftest/recipes-test/cpp/files/meson.options b/meta-selftest/recipes-test/cpp/files/meson.options
deleted file mode 100644
index 58a0bf9e61..0000000000
--- a/meta-selftest/recipes-test/cpp/files/meson.options
+++ /dev/null
@@ -1,3 +0,0 @@
1
2option('FAILING_TEST', type : 'feature', value : 'disabled',
3 description : 'Compile a failing unit test to test the test infrastructure')
diff --git a/meta-selftest/recipes-test/cpp/files/test-cpp-example.cpp b/meta-selftest/recipes-test/cpp/files/test-cpp-example.cpp
deleted file mode 100644
index 83c9bfa844..0000000000
--- a/meta-selftest/recipes-test/cpp/files/test-cpp-example.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
1/*
2* Copyright OpenEmbedded Contributors
3*
4* SPDX-License-Identifier: MIT
5*/
6
7#include "cpp-example-lib.hpp"
8
9#include <iostream>
10
11/* This is for creating a failing test for testing the test infrastructure */
12#ifndef FAIL_COMPARISON_STR
13#define FAIL_COMPARISON_STR ""
14#endif
15
16int main() {
17 auto cpp_example = CppExample();
18 auto ret_string = cpp_example.get_string();
19 if(0 == ret_string.compare(CppExample::test_string + FAIL_COMPARISON_STR)) {
20 std::cout << "PASS: " << ret_string << " = " << CppExample::test_string << std::endl;
21 } else {
22 std::cout << "FAIL: " << ret_string << " != " << CppExample::test_string << std::endl;
23 return 1;
24 }
25}
diff --git a/meta-selftest/recipes-test/cpp/meson-example.bb b/meta-selftest/recipes-test/cpp/meson-example.bb
deleted file mode 100644
index 14a7ca8dc9..0000000000
--- a/meta-selftest/recipes-test/cpp/meson-example.bb
+++ /dev/null
@@ -1,27 +0,0 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7SUMMARY = "A C++ example compiled with meson."
8
9require cpp-example.inc
10
11SRC_URI += "\
12 file://meson.build \
13 file://meson.options \
14"
15
16inherit pkgconfig meson
17
18PACKAGECONFIG[failing_test] = "-DFAILING_TEST=enabled"
19
20FILES:${PN}-ptest += "${bindir}/test-mesonex"
21
22do_run_tests () {
23 meson test -C "${B}" --no-rebuild
24}
25do_run_tests[doc] = "Run meson test using qemu-user"
26
27addtask do_run_tests after do_compile
diff --git a/meta-selftest/recipes-test/cpp/meson-example/run-ptest b/meta-selftest/recipes-test/cpp/meson-example/run-ptest
deleted file mode 100644
index b1804f0096..0000000000
--- a/meta-selftest/recipes-test/cpp/meson-example/run-ptest
+++ /dev/null
@@ -1,10 +0,0 @@
1#!/bin/sh
2#
3# Copyright OpenEmbedded Contributors
4#
5# SPDX-License-Identifier: MIT
6#
7
8test-mesonex
9
10# Note: run-ptests exits with exit value from test-mesonex
diff --git a/meta-selftest/recipes-test/delay/delay.bb b/meta-selftest/recipes-test/delay/delay.bb
deleted file mode 100644
index f92d3d99e2..0000000000
--- a/meta-selftest/recipes-test/delay/delay.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1SUMMARY = "Recipe with a fixed delay task"
2DESCRIPTION = "Contains a delay task to be used to for testing."
3LICENSE = "MIT"
4
5INHIBIT_DEFAULT_DEPS = "1"
6EXCLUDE_FROM_WORLD = "1"
7
8do_delay() {
9 sleep 5
10}
11do_delay[nostamp] = "1"
12addtask delay \ No newline at end of file
diff --git a/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb b/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb
deleted file mode 100644
index f12bee0b3d..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1SUMMARY = "devtool test for overrides and patches"
2LICENSE = "CLOSED"
3INHIBIT_DEFAULT_DEPS = "1"
4EXCLUDE_FROM_WORLD = "1"
5
6SRC_URI = "file://source;subdir=${BP}"
7SRC_URI:append:qemuarm = " file://arm.patch;striplevel=0"
8SRC_URI:append:qemux86 = " file://x86.patch;striplevel=0"
diff --git a/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemuarm/arm.patch b/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemuarm/arm.patch
deleted file mode 100644
index 17ed5a54f1..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemuarm/arm.patch
+++ /dev/null
@@ -1,7 +0,0 @@
1Upstream-Status: Inappropriate [Test artefact]
2
3--- source.orig 2020-10-06 13:26:10.792688630 +0100
4+++ source 2020-10-06 13:26:18.853424694 +0100
5@@ -1 +1 @@
6-This is a test for something
7+This is a test for qemuarm
diff --git a/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemux86/x86.patch b/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemux86/x86.patch
deleted file mode 100644
index 0af5ebbfaf..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemux86/x86.patch
+++ /dev/null
@@ -1,7 +0,0 @@
1Upstream-Status: Inappropriate [Test artefact]
2
3--- source.orig 2020-10-06 13:26:10.792688630 +0100
4+++ source 2020-10-06 13:26:18.853424694 +0100
5@@ -1 +1 @@
6-This is a test for something
7+This is a test for qemux86
diff --git a/meta-selftest/recipes-test/devtool/devtool-patch-overrides/source b/meta-selftest/recipes-test/devtool/devtool-patch-overrides/source
deleted file mode 100644
index cc14ce627c..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-patch-overrides/source
+++ /dev/null
@@ -1 +0,0 @@
1This is a test for something
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-ignored.bb b/meta-selftest/recipes-test/devtool/devtool-test-ignored.bb
deleted file mode 100644
index c7740eb118..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-ignored.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1LICENSE = "CLOSED"
2INHIBIT_DEFAULT_DEPS = "1"
3
4SRC_URI = "file://${BPN}.tar.gz \
5 file://${BPN}.patch"
6
7S = "${UNPACKDIR}/${BPN}"
8
9EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch b/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch
deleted file mode 100644
index bc1ca4bc4a..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch
+++ /dev/null
@@ -1,9 +0,0 @@
1Upstream-Status: Inappropriate [Test artefact]
2
3diff --git a/ignored b/ignored
4index a579759..e3d7b43 100644
5--- a/ignored
6+++ b/ignored
7@@ -1 +1 @@
8-I'm so ignored
9+# I'm so ignored
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch.expected b/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch.expected
deleted file mode 100644
index 8ead9ee1ce..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch.expected
+++ /dev/null
@@ -1,17 +0,0 @@
1From 3a286343cc5cadd83f41d524ee3606ae51df9ee7 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Thu, 28 May 2020 01:32:31 +0200
4Subject: [PATCH] meta-selftest: add test of .gitignore in tarball
5
6Upstream-Status: Inappropriate [Test artefact]
7---
8 ignored | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/ignored b/ignored
12index a579759..e3d7b43 100644
13--- a/ignored
14+++ b/ignored
15@@ -1 +1 @@
16-I'm so ignored
17+# I'm so ignored
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.tar.gz b/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.tar.gz
deleted file mode 100644
index b2e9935eb9..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.tar.gz
+++ /dev/null
Binary files differ
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-local/file1 b/meta-selftest/recipes-test/devtool/devtool-test-local/file1
deleted file mode 100644
index f4bdcfc831..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-local/file1
+++ /dev/null
@@ -1 +0,0 @@
1The first file
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-local/file2 b/meta-selftest/recipes-test/devtool/devtool-test-local/file2
deleted file mode 100644
index a7e2414bd5..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-local/file2
+++ /dev/null
@@ -1 +0,0 @@
1The second file
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-local/file3 b/meta-selftest/recipes-test/devtool/devtool-test-local/file3
deleted file mode 100644
index 0f30e9eec4..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-local/file3
+++ /dev/null
@@ -1 +0,0 @@
1The third file.
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-local_6.03.bb b/meta-selftest/recipes-test/devtool/devtool-test-local_6.03.bb
deleted file mode 100644
index 03e082e83f..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-local_6.03.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1LICENSE = "GPL-2.0-or-later"
2LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
3
4INHIBIT_DEFAULT_DEPS = "1"
5
6SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/syslinux-${PV}.tar.xz \
7 file://file1 \
8 file://file2"
9
10SRC_URI:append:class-native = " file://file3"
11
12SRC_URI[md5sum] = "92a253df9211e9c20172796ecf388f13"
13SRC_URI[sha256sum] = "26d3986d2bea109d5dc0e4f8c4822a459276cf021125e8c9f23c3cca5d8c850e"
14
15S = "${UNPACKDIR}/syslinux-${PV}"
16
17EXCLUDE_FROM_WORLD = "1"
18BBCLASSEXTEND = "native"
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb b/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb
deleted file mode 100644
index 54463fed98..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1LICENSE = "CLOSED"
2INHIBIT_DEFAULT_DEPS = "1"
3
4SRC_URI = "file://file1 \
5 file://file2"
6
7SRC_URI:append:class-native = " file://file3"
8
9S = "${UNPACKDIR}"
10
11EXCLUDE_FROM_WORLD = "1"
12BBCLASSEXTEND = "native"
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-localonly/file1 b/meta-selftest/recipes-test/devtool/devtool-test-localonly/file1
deleted file mode 100644
index f4bdcfc831..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-localonly/file1
+++ /dev/null
@@ -1 +0,0 @@
1The first file
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-localonly/file2 b/meta-selftest/recipes-test/devtool/devtool-test-localonly/file2
deleted file mode 100644
index a7e2414bd5..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-localonly/file2
+++ /dev/null
@@ -1 +0,0 @@
1The second file
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-localonly/file3 b/meta-selftest/recipes-test/devtool/devtool-test-localonly/file3
deleted file mode 100644
index 0f30e9eec4..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-localonly/file3
+++ /dev/null
@@ -1 +0,0 @@
1The third file.
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-long-filename.bb b/meta-selftest/recipes-test/devtool/devtool-test-long-filename.bb
deleted file mode 100644
index 3653403a2e..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-long-filename.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1LICENSE = "CLOSED"
2INHIBIT_DEFAULT_DEPS = "1"
3
4SRC_URI = "file://${BPN}.tar.gz \
5 file://0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch"
6
7S = "${UNPACKDIR}/${BPN}"
8
9EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch b/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch
deleted file mode 100644
index 2b7088e367..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch
+++ /dev/null
@@ -1,9 +0,0 @@
1Upstream-Status: Inappropriate [Test artefact]
2
3diff --git a/patch-me b/patch-me
4index a20b29a..5e35d1b 100644
5--- a/patch-me
6+++ b/patch-me
7@@ -1 +1 @@
8-please
9+NO
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch.expected b/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch.expected
deleted file mode 100644
index 52b0df74ce..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch.expected
+++ /dev/null
@@ -1,17 +0,0 @@
1From 45ba3d107ea60777a6b6e134fd00fe5009749177 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Thu, 28 May 2020 02:03:39 +0200
4Subject: [PATCH] meta-selftest: add test for .patch file with long filename
5
6Upstream-Status: Inappropriate [Test artefact]
7---
8 patch-me | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/patch-me b/patch-me
12index a20b29a..5e35d1b 100644
13--- a/patch-me
14+++ b/patch-me
15@@ -1 +1 @@
16-please
17+NO
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-long-filename/devtool-test-long-filename.tar.gz b/meta-selftest/recipes-test/devtool/devtool-test-long-filename/devtool-test-long-filename.tar.gz
deleted file mode 100644
index ab6242aae7..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-long-filename/devtool-test-long-filename.tar.gz
+++ /dev/null
Binary files differ
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-patch-gz.bb b/meta-selftest/recipes-test/devtool/devtool-test-patch-gz.bb
deleted file mode 100644
index f6960320db..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-patch-gz.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1LICENSE = "GPL-2.0-or-later"
2LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
3
4DEPENDS = "libxres libxext virtual/libx11 ncurses"
5
6SRC_URI = "http://downloads.yoctoproject.org/releases/xrestop/xrestop-0.4.tar.gz \
7 file://readme.patch.gz \
8 "
9UPSTREAM_VERSION_UNKNOWN = "1"
10
11S = "${UNPACKDIR}/xrestop-0.4"
12
13SRC_URI[md5sum] = "d8a54596cbaf037e62b80c4585a3ca9b"
14SRC_URI[sha256sum] = "67c2fc94a7ecedbaae0d1837e82e93d1d98f4a6d759828860e552119af3ce257"
15
16inherit autotools pkgconfig
17
18EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-patch-gz/readme.patch.gz b/meta-selftest/recipes-test/devtool/devtool-test-patch-gz/readme.patch.gz
deleted file mode 100644
index 4752492ccd..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-patch-gz/readme.patch.gz
+++ /dev/null
Binary files differ
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb b/meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb
deleted file mode 100644
index 0146be4c52..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1LICENSE = "CLOSED"
2INHIBIT_DEFAULT_DEPS = "1"
3
4SRC_URI = "file://file1"
5
6S = "${UNPACKDIR}"
7
8EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-reset-re++/file1 b/meta-selftest/recipes-test/devtool/devtool-test-reset-re++/file1
deleted file mode 100644
index 51f466f2e4..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-reset-re++/file1
+++ /dev/null
@@ -1 +0,0 @@
1A file
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-subdir.bb b/meta-selftest/recipes-test/devtool/devtool-test-subdir.bb
deleted file mode 100644
index 966142431b..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-subdir.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1LICENSE = "CLOSED"
2INHIBIT_DEFAULT_DEPS = "1"
3
4SRC_URI = "file://devtool-test-subdir.tar.gz \
5 file://testfile;subdir=${BPN}"
6
7S = "${UNPACKDIR}/${BPN}"
8
9EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-subdir/devtool-test-subdir.tar.gz b/meta-selftest/recipes-test/devtool/devtool-test-subdir/devtool-test-subdir.tar.gz
deleted file mode 100644
index 3d44f803cb..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-subdir/devtool-test-subdir.tar.gz
+++ /dev/null
Binary files differ
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-subdir/testfile b/meta-selftest/recipes-test/devtool/devtool-test-subdir/testfile
deleted file mode 100644
index 12b519c0d6..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-test-subdir/testfile
+++ /dev/null
@@ -1 +0,0 @@
1Modified version
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch
deleted file mode 100644
index db66a284b7..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From 1478846ebfac690684e9c48049d08e0065f97a36 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Wed, 24 Feb 2016 17:43:03 +1300
4Subject: [PATCH] Add a note line to the quick reference
5
6A test patch so we have a file to move around.
7
8Upstream-Status: Inappropriate [Test artefact]
9---
10 doc/quickref.1.in | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/doc/quickref.1.in b/doc/quickref.1.in
14index 389008b..226615c 100644
15--- a/doc/quickref.1.in
16+++ b/doc/quickref.1.in
17@@ -560,6 +560,7 @@ you want, at runtime, to change the parameters of.
18 .P
19 If you find any other problems, please report them.
20
21+NOTE: this is an important note.
22
23 .SH REPORTING BUGS
24 Report bugs in
25--
262.5.0
27
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/backported.patch b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/backported.patch
deleted file mode 100644
index 5159652f69..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/backported.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1commit ced2ec32b657a7f52604b2e16e5d5881041c517a
2Author: OpenEmbedded <oe.patch@oe>
3Date: Mon Nov 18 18:43:15 2019 +0100
4
5 Backport of the NEWS file from version 1.6.0
6
7Upstream-Status: Inappropriate [Test artefact]
8
9diff --git a/doc/NEWS b/doc/NEWS
10index 69793fc..fd49b1c 100644
11--- a/doc/NEWS
12+++ b/doc/NEWS
13@@ -1,3 +1,26 @@
14+1.6.0 - 15 March 2015
15+ - fix lstat64 support when unavailable - separate patches supplied by
16+ Ganael Laplanche and Peter Korsgaard
17+ - (#1506) new option "-D" / "--delay-start" to only show bar after N
18+ seconds (Damon Harper)
19+ - new option "--fineta" / "-I" to show ETA as time of day rather than time
20+ remaining - patch supplied by Erkki Seppälä (r147)
21+ - (#1509) change ETA (--eta / -e) so that days are given if the hours
22+ remaining are 24 or more (Jacek Wielemborek)
23+ - (#1499) repeat read and write attempts on partial buffer fill/empty to
24+ work around post-signal transfer rate drop reported by Ralf Ramsauer
25+ - (#1507) do not try to calculate total size in line mode, due to bug
26+ reported by Jacek Wielemborek and Michiel Van Herwegen
27+ - cleanup: removed defunct RATS comments and unnecessary copyright notices
28+ - clean up displayed lines when using --watchfd PID, when PID exits
29+ - output errors on a new line to avoid overwriting transfer bar
30+
31+1.5.7 - 26 August 2014
32+ - show KiB instead of incorrect kiB (Debian bug #706175)
33+ - (#1284) do not gzip man page, for non-Linux OSes (Bob Friesenhahn)
34+ - work around "awk" bug in tests/016-numeric-timer in decimal "," locales
35+ - fix "make rpm" and "make srpm", extend "make release" to sign releases
36+
37 1.5.3 - 4 May 2014
38 - remove SPLICE_F_NONBLOCK to fix problem with slow splice() (Jan Seda)
39
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb
deleted file mode 100644
index 254ea45708..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1SUMMARY = "Pipe viewer test recipe for devtool upgrade test"
2LICENSE = "Artistic-2.0"
3LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02"
4
5SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz \
6 file://0001-Add-a-note-line-to-the-quick-reference.patch \
7 file://backported.patch \
8 "
9UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml"
10RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
11
12SRC_URI[md5sum] = "9365d86bd884222b4bf1039b5a9ed1bd"
13SRC_URI[sha256sum] = "681bcca9784bf3cb2207e68236d1f68e2aa7b80f999b5750dc77dcd756e81fbc"
14
15PR = "r5"
16
17S = "${UNPACKDIR}/pv-${PV}"
18
19EXCLUDE_FROM_WORLD = "1"
20
21inherit autotools
22
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded
deleted file mode 100644
index f80744e14b..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded
+++ /dev/null
@@ -1,19 +0,0 @@
1SUMMARY = "Pipe viewer test recipe for devtool upgrade test"
2LICENSE = "Artistic-2.0"
3LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02"
4
5SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz \
6 file://0001-Add-a-note-line-to-the-quick-reference.patch \
7 file://backported.patch \
8 "
9UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml"
10RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
11
12SRC_URI[sha256sum] = "9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3"
13
14S = "${UNPACKDIR}/pv-${PV}"
15
16EXCLUDE_FROM_WORLD = "1"
17
18inherit autotools
19
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb b/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb
deleted file mode 100644
index 66d66e95e2..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "A simple tool to wait for a specific signal over DBus"
2HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/dbus-wait"
3SECTION = "base"
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6
7DEPENDS = "dbus"
8
9# Note: this is intentionally not the latest version in the original .bb
10SRCREV = "1a3e1343761b30750bed70e0fd688f6d3c7b3717"
11PV = "0.1+git"
12PR = "r2"
13
14SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master"
15UPSTREAM_CHECK_COMMITS = "1"
16RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
17
18EXCLUDE_FROM_WORLD = "1"
19
20inherit autotools pkgconfig
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded b/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded
deleted file mode 100644
index d3256ef5df..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded
+++ /dev/null
@@ -1,19 +0,0 @@
1SUMMARY = "A simple tool to wait for a specific signal over DBus"
2HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/dbus-wait"
3SECTION = "base"
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6
7DEPENDS = "dbus"
8
9# Note: this is intentionally not the latest version in the original .bb
10SRCREV = "6cc6077a36fe2648a5f993fe7c16c9632f946517"
11PV = "0.1+git"
12
13SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master"
14UPSTREAM_CHECK_COMMITS = "1"
15RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
16
17EXCLUDE_FROM_WORLD = "1"
18
19inherit autotools pkgconfig
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb b/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb
deleted file mode 100644
index 0501e2025f..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1SUMMARY = "Pipe viewer test recipe for devtool upgrade test"
2LICENSE = "Artistic-2.0"
3LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02"
4
5SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz"
6UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml"
7RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
8
9SRC_URI[md5sum] = "9365d86bd884222b4bf1039b5a9ed1bd"
10
11S = "${UNPACKDIR}/pv-${PV}"
12
13EXCLUDE_FROM_WORLD = "1"
14
15inherit autotools
16
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb.upgraded b/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb.upgraded
deleted file mode 100644
index 2ba7c8213e..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb.upgraded
+++ /dev/null
@@ -1,15 +0,0 @@
1SUMMARY = "Pipe viewer test recipe for devtool upgrade test"
2LICENSE = "Artistic-2.0"
3LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02"
4
5SRC_URI[sha256sum] = "9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3"
6SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz"
7UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml"
8RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
9
10S = "${UNPACKDIR}/pv-${PV}"
11
12EXCLUDE_FROM_WORLD = "1"
13
14inherit autotools
15
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb b/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb
deleted file mode 100644
index 71c03653f7..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1SUMMARY = "Pipe viewer test recipe for devtool upgrade test"
2LICENSE = "Artistic-2.0"
3LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02"
4
5SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz"
6UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml"
7RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
8
9SRC_URI[md5sum] = "9365d86bd884222b4bf1039b5a9ed1bd"
10SRC_URI[sha1sum] = "63a0801350e812541c7f8e9ad74e0d6b629d0b39"
11SRC_URI[sha256sum] = "681bcca9784bf3cb2207e68236d1f68e2aa7b80f999b5750dc77dcd756e81fbc"
12SRC_URI[sha384sum] = "5fff6390465ff23dbf573fcf39dfad3aed2f92074a35e6c02abe58b7678858d90fa6572ff4cb56df8b3e217c739cdbe3"
13SRC_URI[sha512sum] = "32efe7071a363f547afc74e96774f711795edda1d2702823a347d0f9953e859b7d8c45b3e63e18ffb9e0d5ed5910be652d7d727c8676e81b6cb3aed0b13aec00"
14
15PR = "r5"
16
17S = "${UNPACKDIR}/pv-${PV}"
18
19EXCLUDE_FROM_WORLD = "1"
20
21inherit autotools
22
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb.upgraded b/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb.upgraded
deleted file mode 100644
index 0bc9f71da6..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb.upgraded
+++ /dev/null
@@ -1,19 +0,0 @@
1SUMMARY = "Pipe viewer test recipe for devtool upgrade test"
2LICENSE = "Artistic-2.0"
3LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02"
4
5SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz"
6UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml"
7RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
8
9SRC_URI[sha1sum] = "395ce62f4f3e035b86c77038f04b96c5aa233595"
10SRC_URI[sha256sum] = "9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3"
11SRC_URI[sha384sum] = "218c8d2d097aeba5310be759bc20573f18ffa0b11701eac6dd2e7e14ddf13c6e0e094ca7ca026eaa05ef92a056402e36"
12SRC_URI[sha512sum] = "1cf9d7376fceefcd594d0a8b591afc8e11ce89f7210d10ad74438974ecebe9cc5d9ec4db9cc79e0566bfd2b0278c0cc263c07547803e7536432cd1ffd32d8a45"
13
14S = "${UNPACKDIR}/pv-${PV}"
15
16EXCLUDE_FROM_WORLD = "1"
17
18inherit autotools
19
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test5_git.bb b/meta-selftest/recipes-test/devtool/devtool-upgrade-test5_git.bb
deleted file mode 100644
index 7e8b001a28..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test5_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1SUMMARY = "Test recipe for fetching git submodules"
2HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/git-submodule-test/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6INHIBIT_DEFAULT_DEPS = "1"
7
8# Note: this is intentionally not the latest version in the original .bb
9SRCREV = "132fea6e4dee56b61bcf5721c94e8b2445c6a017"
10PV = "0.1+git"
11PR = "r2"
12
13SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master"
14UPSTREAM_CHECK_COMMITS = "1"
15RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
16
17EXCLUDE_FROM_WORLD = "1"
18
19do_test_git_as_user() {
20 cd ${S}
21 git status
22 git submodule status
23}
24addtask test_git_as_user after do_unpack
25
26fakeroot do_test_git_as_root() {
27 cd ${S}
28 git status
29 git submodule status
30}
31do_test_git_as_root[depends] += "virtual/fakeroot-native:do_populate_sysroot"
32addtask test_git_as_root after do_unpack \ No newline at end of file
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test5_git.bb.upgraded b/meta-selftest/recipes-test/devtool/devtool-upgrade-test5_git.bb.upgraded
deleted file mode 100644
index 938c46b016..0000000000
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test5_git.bb.upgraded
+++ /dev/null
@@ -1,31 +0,0 @@
1SUMMARY = "Test recipe for fetching git submodules"
2HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/git-submodule-test/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6INHIBIT_DEFAULT_DEPS = "1"
7
8# Note: this is intentionally not the latest version in the original .bb
9SRCREV = "a2885dd7d25380d23627e7544b7bbb55014b16ee"
10PV = "0.1+git"
11
12SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master"
13UPSTREAM_CHECK_COMMITS = "1"
14RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
15
16EXCLUDE_FROM_WORLD = "1"
17
18do_test_git_as_user() {
19 cd ${S}
20 git status
21 git submodule status
22}
23addtask test_git_as_user after do_unpack
24
25fakeroot do_test_git_as_root() {
26 cd ${S}
27 git status
28 git submodule status
29}
30do_test_git_as_root[depends] += "virtual/fakeroot-native:do_populate_sysroot"
31addtask test_git_as_root after do_unpack \ No newline at end of file
diff --git a/meta-selftest/recipes-test/emptytest/emptytest.bb b/meta-selftest/recipes-test/emptytest/emptytest.bb
deleted file mode 100644
index 905c6694f3..0000000000
--- a/meta-selftest/recipes-test/emptytest/emptytest.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1include test_recipe.inc
2
3# Set LICENSE to something so that bitbake -p that is ran at the beginning
4# is successful since test_recipe.inc has not yet been modified.
5LICENSE = ""
6
7EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/error/error.bb b/meta-selftest/recipes-test/error/error.bb
deleted file mode 100644
index 65d00a46d9..0000000000
--- a/meta-selftest/recipes-test/error/error.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1SUMMARY = "Error Test case that fails on do_compile"
2DESCRIPTION = "This generates a compile time error to be used to for testing."
3LICENSE = "MIT"
4
5INHIBIT_DEFAULT_DEPS = "1"
6EXCLUDE_FROM_WORLD = "1"
7
8do_compile() {
9 bbfatal "Failing as expected.";
10}
diff --git a/meta-selftest/recipes-test/ext-dtb/bbb-dtbs-as-ext.bb b/meta-selftest/recipes-test/ext-dtb/bbb-dtbs-as-ext.bb
deleted file mode 100644
index 5055d03e54..0000000000
--- a/meta-selftest/recipes-test/ext-dtb/bbb-dtbs-as-ext.bb
+++ /dev/null
@@ -1,29 +0,0 @@
1SUMMARY = "Boeaglebone Devicetrees"
2DESCRIPTION = "Handle the dtc files of the beaglebone-yocto via devicetree.bbclass just for testing purpose"
3SECTION = "kernel"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
6
7inherit devicetree
8
9COMPATIBLE_MACHINE = "^(beaglebone-yocto)$"
10
11# Take a copy of a small devicetree from the kernel's source directory for handling it externally
12# Borrowed an example DTB overlay from
13# https://raw.githubusercontent.com/beagleboard/linux/refs/heads/5.10/arch/arm/boot/dts/overlays/BBORG_RELAY-00A2.dts
14SRC_URI = "\
15 file://am335x-bonegreen-ext.dts \
16 file://BBORG_RELAY-00A2.dts \
17"
18
19# The am335x-bonegreen-ext.dts needs also the ti directories
20DT_INCLUDE:append = " ${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/ti/omap"
21
22# Sym-links are handled as extra configuration nodes in FIT images.
23do_install:append() {
24 ln -sf am335x-bonegreen-ext.dtb "${D}/boot/devicetree/am335x-bonegreen-ext-alias.dtb"
25}
26
27do_deploy:append() {
28 ln -sf am335x-bonegreen-ext.dtb "${DEPLOYDIR}/devicetree/am335x-bonegreen-ext-alias.dtb"
29}
diff --git a/meta-selftest/recipes-test/ext-dtb/files/BBORG_RELAY-00A2.dts b/meta-selftest/recipes-test/ext-dtb/files/BBORG_RELAY-00A2.dts
deleted file mode 100644
index 9530fa50fe..0000000000
--- a/meta-selftest/recipes-test/ext-dtb/files/BBORG_RELAY-00A2.dts
+++ /dev/null
@@ -1,49 +0,0 @@
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2015 Robert Nelson <robertcnelson@gmail.com>
4 * Copyright (C) 2019 Amilcar Lucas <amilcar.lucas@iav.de>
5 */
6
7/dts-v1/;
8/plugin/;
9
10&{/chosen} {
11 overlays {
12 BBORG_RELAY-00A2.kernel = __TIMESTAMP__;
13 };
14};
15
16&ocp {
17 P9_41_pinmux { pinctrl-0 = <&P9_41_gpio_pin>;};
18 P9_42_pinmux { pinctrl-0 = <&P9_42_gpio_pin>;};
19 P9_30_pinmux { pinctrl-0 = <&P9_30_gpio_pin>;};
20 P9_27_pinmux { pinctrl-0 = <&P9_27_gpio_pin>;};
21};
22
23// relay1
24&bone_led_P9_41 {
25 status = "okay";
26 label = "relay1";
27 default-state = "keep";
28};
29
30// relay2
31&bone_led_P9_42 {
32 status = "okay";
33 label = "relay2";
34 default-state = "keep";
35};
36
37// realy3
38&bone_led_P9_30 {
39 status = "okay";
40 label = "relay3";
41 default-state = "keep";
42};
43
44// realy4
45&bone_led_P9_27 {
46 status = "okay";
47 label = "relay4";
48 default-state = "keep";
49};
diff --git a/meta-selftest/recipes-test/ext-dtb/files/am335x-bonegreen-ext.dts b/meta-selftest/recipes-test/ext-dtb/files/am335x-bonegreen-ext.dts
deleted file mode 100644
index a0b39337a9..0000000000
--- a/meta-selftest/recipes-test/ext-dtb/files/am335x-bonegreen-ext.dts
+++ /dev/null
@@ -1,14 +0,0 @@
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
4 */
5/dts-v1/;
6
7#include "am33xx.dtsi"
8#include "am335x-bone-common.dtsi"
9#include "am335x-bonegreen-common.dtsi"
10
11/ {
12 model = "TI AM335x BeagleBone Green External";
13 compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
14};
diff --git a/meta-selftest/recipes-test/fortran/files/hello.f95 b/meta-selftest/recipes-test/fortran/files/hello.f95
deleted file mode 100644
index a0745fc64d..0000000000
--- a/meta-selftest/recipes-test/fortran/files/hello.f95
+++ /dev/null
@@ -1,5 +0,0 @@
1program helloworld
2
3 print * , "Hello World!"
4
5end program helloworld
diff --git a/meta-selftest/recipes-test/fortran/fortran-helloworld.bb b/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
deleted file mode 100644
index 240ed473cc..0000000000
--- a/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1SUMMARY = "Fortran Hello World"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4
5DEPENDS = "libgfortran"
6
7SRC_URI = "file://hello.f95"
8
9S = "${UNPACKDIR}"
10
11# These set flags that Fortran doesn't support
12SECURITY_CFLAGS = ""
13SECURITY_LDFLAGS = ""
14
15do_compile() {
16 ${FC} ${LDFLAGS} hello.f95 -o ${B}/fortran-hello
17}
18
19do_install() {
20 install -D ${B}/fortran-hello ${D}${bindir}/fortran-hello
21}
22
23python () {
24 if not d.getVar("FORTRAN"):
25 raise bb.parse.SkipRecipe("Fortran isn't enabled")
26}
diff --git a/meta-selftest/recipes-test/gcc-source/gcc-source_%.bbappend b/meta-selftest/recipes-test/gcc-source/gcc-source_%.bbappend
deleted file mode 100644
index 205720982c..0000000000
--- a/meta-selftest/recipes-test/gcc-source/gcc-source_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
1# This bbappend is used to alter the recipe using the test_recipe.inc file created by tests.
2include test_recipe.inc
diff --git a/meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb b/meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb
deleted file mode 100644
index 1c0886dcbe..0000000000
--- a/meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb
+++ /dev/null
@@ -1,24 +0,0 @@
1SUMMARY = "Test recipe for fetching git submodules"
2HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/git-submodule-test/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6INHIBIT_DEFAULT_DEPS = "1"
7
8UPSTREAM_VERSION_UNKNOWN = "1"
9
10SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master"
11SRCREV = "a2885dd7d25380d23627e7544b7bbb55014b16ee"
12
13do_test_git_as_user() {
14 cd ${S}
15 git status
16}
17addtask test_git_as_user after do_unpack
18
19fakeroot do_test_git_as_root() {
20 cd ${S}
21 git status
22}
23do_test_git_as_root[depends] += "virtual/fakeroot-native:do_populate_sysroot"
24addtask test_git_as_root after do_unpack
diff --git a/meta-selftest/recipes-test/gitrepotest/gitrepotest.bb b/meta-selftest/recipes-test/gitrepotest/gitrepotest.bb
deleted file mode 100644
index 756c01cb09..0000000000
--- a/meta-selftest/recipes-test/gitrepotest/gitrepotest.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1SUMMARY = "Test recipe for git repo initialization"
2HOMEPAGE = "https://git.yoctoproject.org/git/matchbox-panel-2"
3LICENSE = "GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5
6INHIBIT_DEFAULT_DEPS = "1"
7
8PATCHTOOL = "git"
9
10SRC_URI = "git://git.yoctoproject.org/git/matchbox-panel-2;branch=master;protocol=https \
11 file://0001-testpatch.patch \
12 "
13
14SRCREV = "f82ca3f42510fb3ef10f598b393eb373a2c34ca7"
15
diff --git a/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch b/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch
deleted file mode 100644
index 4f8b745995..0000000000
--- a/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1Upstream-Status: Inappropriate [Test artefact]
2
3diff --git a/Makefile.am b/Makefile.am
4index 432a9b4..bbf7c74 100644
5--- a/Makefile.am
6+++ b/Makefile.am
7@@ -1,3 +1,4 @@
8+## This is useless comment to test if patch works
9 ACLOCAL_AMFLAGS = -I m4
10
11 SUBDIRS = matchbox-panel applets data po
diff --git a/meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline-fail.bb b/meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline-fail.bb
deleted file mode 100644
index 5146129666..0000000000
--- a/meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline-fail.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1require gitunpackoffline.inc
2
3# Clear the base.bbclass magic srcrev call
4fetcher_hashes_dummyfunc[vardepvalue] = ""
diff --git a/meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline.bb b/meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline.bb
deleted file mode 100644
index d9a54690b2..0000000000
--- a/meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require gitunpackoffline.inc
2
3TAGVALUE = "2.11"
4
5PV = "0.0+git"
diff --git a/meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline.inc b/meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline.inc
deleted file mode 100644
index 59b383800c..0000000000
--- a/meta-selftest/recipes-test/gitunpackoffline/gitunpackoffline.inc
+++ /dev/null
@@ -1,15 +0,0 @@
1SUMMARY = "Test recipe for fetching git submodules"
2HOMEPAGE = "https://git.yoctoproject.org/git/matchbox-panel-2"
3LICENSE = "GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5
6INHIBIT_DEFAULT_DEPS = "1"
7
8TAGVALUE = "2.10"
9
10# Deliberately have a tag which has to be resolved but ensure do_unpack doesn't access the network again.
11SRC_URI = "git://git.yoctoproject.org/git/matchbox-panel-2;branch=master;protocol=https"
12SRC_URI:append:gitunpack-enable-recipe = ";tag=${TAGVALUE}"
13SRCREV = "f82ca3f42510fb3ef10f598b393eb373a2c34ca7"
14SRCREV:gitunpack-enable-recipe = ""
15
diff --git a/meta-selftest/recipes-test/images/error-image.bb b/meta-selftest/recipes-test/images/error-image.bb
deleted file mode 100644
index 13d9cc010e..0000000000
--- a/meta-selftest/recipes-test/images/error-image.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1SUMMARY = "An image that includes the error recipe and will therefore fail"
2DESCRIPTION = "This generates an error. Not currently used by oe-selftest"
3
4IMAGE_INSTALL = "error"
5
6IMAGE_LINGUAS = " "
7
8inherit core-image
diff --git a/meta-selftest/recipes-test/images/oe-selftest-image.bb b/meta-selftest/recipes-test/images/oe-selftest-image.bb
deleted file mode 100644
index 0eb4057209..0000000000
--- a/meta-selftest/recipes-test/images/oe-selftest-image.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1SUMMARY = "An image used during oe-selftest tests"
2
3# libudev is needed for deploy mdadm via devtool
4IMAGE_INSTALL = "packagegroup-core-boot packagegroup-core-ssh-dropbear libudev"
5IMAGE_FEATURES = "allow-empty-password empty-root-password allow-root-login"
6
7IMAGE_LINGUAS = " "
8
9inherit core-image
10
diff --git a/meta-selftest/recipes-test/images/test-empty-image.bb b/meta-selftest/recipes-test/images/test-empty-image.bb
deleted file mode 100644
index 88d8d612e8..0000000000
--- a/meta-selftest/recipes-test/images/test-empty-image.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1SUMMARY = "An empty image."
2IMAGE_INSTALL = ""
3IMAGE_LINGUAS = ""
4PACKAGE_INSTALL = ""
5
6inherit image
diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.bb b/meta-selftest/recipes-test/images/wic-image-minimal.bb
deleted file mode 100644
index 89843d9b3c..0000000000
--- a/meta-selftest/recipes-test/images/wic-image-minimal.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "An example of partitioned image."
2
3SRC_URI = "file://${FILE_DIRNAME}/${BPN}.wks"
4
5IMAGE_INSTALL = "packagegroup-core-boot"
6
7IMAGE_FSTYPES = "wic"
8
9WKS_FILE_DEPENDS = "dosfstools-native mtools-native gptfdisk-native"
10WKS_FILE_DEPENDS:append:x86 = " syslinux-native syslinux"
11WKS_FILE_DEPENDS:append:x86-64 = " syslinux-native syslinux"
12WKS_FILE_DEPENDS:append:x86-x32 = " syslinux-native syslinux"
13
14LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
15
16IMAGE_ROOTFS_EXTRA_SPACE = "2000"
17
18inherit image
19
20include test_recipe.inc
diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.wks b/meta-selftest/recipes-test/images/wic-image-minimal.wks
deleted file mode 100644
index 4186b16517..0000000000
--- a/meta-selftest/recipes-test/images/wic-image-minimal.wks
+++ /dev/null
@@ -1,10 +0,0 @@
1# short-description: Example of partitioned image with complex layout
2# long-description: This image contains boot partition and 3 rootfs partitions
3# created from core-image-minimal and wic-image-minimal image recipes.
4
5part /boot --source bootimg_pcbios --ondisk sda --label boot --active --align 1024
6part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
7part /media --source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label uuid-test --align 1024 --use-uuid --fsuuid 2c71ef06-a81d-4735-9d3a-379b69c6bdba
8part /mnt --source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label core --align 1024
9
10bootloader --ptable gpt --timeout=0 --append="rootwait console=tty0"
diff --git a/meta-selftest/recipes-test/license/incompatible-license-alias.bb b/meta-selftest/recipes-test/license/incompatible-license-alias.bb
deleted file mode 100644
index 1af99e7809..0000000000
--- a/meta-selftest/recipes-test/license/incompatible-license-alias.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1SUMMARY = "Recipe with an alias of an SPDX license"
2DESCRIPTION = "Is licensed with an alias of an SPDX license to be used for testing"
3LICENSE = "GPLv3"
4
5EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/license/incompatible-license.bb b/meta-selftest/recipes-test/license/incompatible-license.bb
deleted file mode 100644
index 6fdc58fd30..0000000000
--- a/meta-selftest/recipes-test/license/incompatible-license.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1SUMMARY = "Recipe with an SPDX license"
2DESCRIPTION = "Is licensed with an SPDX license to be used for testing"
3LICENSE = "GPL-3.0-only"
4
5EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/license/incompatible-licenses.bb b/meta-selftest/recipes-test/license/incompatible-licenses.bb
deleted file mode 100644
index 47bd8d7c00..0000000000
--- a/meta-selftest/recipes-test/license/incompatible-licenses.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1SUMMARY = "Recipe with multiple SPDX licenses"
2DESCRIPTION = "Is licensed with multiple SPDX licenses to be used for testing"
3LICENSE = "GPL-2.0-only & GPL-3.0-only & LGPL-3.0-only"
4
5EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/license/incompatible-nonspdx-license.bb b/meta-selftest/recipes-test/license/incompatible-nonspdx-license.bb
deleted file mode 100644
index 142d73158e..0000000000
--- a/meta-selftest/recipes-test/license/incompatible-nonspdx-license.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1SUMMARY = "Recipe with a non-SPDX license"
2DESCRIPTION = "Is licensed with a non-SPDX license to be used for testing"
3LICENSE = "FooLicense"
4
5EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/logging-test/logging-test.bb b/meta-selftest/recipes-test/logging-test/logging-test.bb
deleted file mode 100644
index ac3fb46f45..0000000000
--- a/meta-selftest/recipes-test/logging-test/logging-test.bb
+++ /dev/null
@@ -1,34 +0,0 @@
1SUMMARY = "Destined to fail"
2LICENSE = "CLOSED"
3
4deltask do_patch
5INHIBIT_DEFAULT_DEPS = "1"
6
7do_shelltest() {
8 echo "This is shell stdout"
9 echo "This is shell stderr" >&2
10 exit 1
11}
12addtask do_shelltest
13
14python do_pythontest_exec_func_shell() {
15 bb.build.exec_func('do_shelltest', d)
16}
17addtask do_pythontest_exec_func_shell
18
19python do_pythontest_exit () {
20 print("This is python stdout")
21 sys.exit(1)
22}
23addtask do_pythontest_exit
24
25python do_pythontest_exec_func_python() {
26 bb.build.exec_func('do_pythontest_exit', d)
27}
28addtask do_pythontest_exec_func_python
29
30python do_pythontest_fatal () {
31 print("This is python fatal test stdout")
32 bb.fatal("This is a fatal error")
33}
34addtask do_pythontest_fatal
diff --git a/meta-selftest/recipes-test/m4/m4_%.bbappend b/meta-selftest/recipes-test/m4/m4_%.bbappend
deleted file mode 100644
index 205720982c..0000000000
--- a/meta-selftest/recipes-test/m4/m4_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
1# This bbappend is used to alter the recipe using the test_recipe.inc file created by tests.
2include test_recipe.inc
diff --git a/meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch b/meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch
deleted file mode 100644
index 7df224e5c8..0000000000
--- a/meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1From efc8831f33106e6b48de8e612c2d816fe7d1ae68 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 9 Feb 2018 17:37:48 +0200
4Subject: [PATCH] Test patch here!
5
6This is an invalid patch used by oe-selftest
7
8Upstream-Status: Inappropriate [Test artefact]
9---
10 README | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/README b/README
14index 48fff57..26d1234 100644
15--- a/README
16+++ b/README
17@@ -1,3 +1,4 @@
18+This is a test patch for purposes of oe-selftest
19 THIS LINE MAKES THIS PATCH INVALID README for the man-db manual pager suite
20 ========================================
21
22--
232.15.1
24
diff --git a/meta-selftest/recipes-test/man-db/man-db_%.bbappend b/meta-selftest/recipes-test/man-db/man-db_%.bbappend
deleted file mode 100644
index 205720982c..0000000000
--- a/meta-selftest/recipes-test/man-db/man-db_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
1# This bbappend is used to alter the recipe using the test_recipe.inc file created by tests.
2include test_recipe.inc
diff --git a/meta-selftest/recipes-test/multiconfig/multiconfig-image-packager_0.1.bb b/meta-selftest/recipes-test/multiconfig/multiconfig-image-packager_0.1.bb
deleted file mode 100644
index f6cf0a47c8..0000000000
--- a/meta-selftest/recipes-test/multiconfig/multiconfig-image-packager_0.1.bb
+++ /dev/null
@@ -1,44 +0,0 @@
1LICENSE = "MIT"
2LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
3
4MCMACHINE:virtclass-mcextend-musl = "qemux86-64"
5MCMACHINE:virtclass-mcextend-tiny = "qemux86"
6MCIMGTYPE:virtclass-mcextend-musl = "ext4.zst"
7MCIMGTYPE:virtclass-mcextend-tiny = "cpio.gz"
8
9MC_DEPLOY_DIR_IMAGE = "${TOPDIR}/tmp-mc-${MCNAME}/deploy/images/${MCMACHINE}"
10MC_DEPLOY_IMAGE_BASENAME = "core-image-minimal"
11
12do_install[mcdepends] += "mc::${MCNAME}:core-image-minimal:do_image_complete mc::${MCNAME}:virtual/kernel:do_deploy"
13
14do_install () {
15 install -d ${D}/var/lib/machines/${MCNAME}
16 install ${MC_DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME_CORE_IMAGE_MINIMAL}.${MCIMGTYPE} ${D}/var/lib/machines/${MCNAME}/${MC_DEPLOY_IMAGE_BASENAME}.${MCIMGTYPE}
17 install ${MC_DEPLOY_DIR_IMAGE}/bzImage ${D}/var/lib/machines/${MCNAME}
18}
19
20# for IMAGE_LINK_NAME, IMAGE_BASENAME
21inherit image-artifact-names
22
23python () {
24 mcname = d.getVar('MCNAME')
25 if not mcname:
26 raise bb.parse.SkipRecipe("Not a multiconfig target")
27 multiconfigs = d.getVar('BBMULTICONFIG') or ""
28 if mcname not in multiconfigs:
29 raise bb.parse.SkipRecipe("multiconfig target %s not enabled" % mcname)
30
31 # these will most likely start with my BPN multiconfig-image-packager, but I want them from core-image-minimal
32 # as there is no good way to query core-image-minimal's context lets assume that there are no overrides
33 # and that we can just replace IMAGE_BASENAME
34 image_link_name = d.getVar('IMAGE_LINK_NAME')
35 image_basename = d.getVar('IMAGE_BASENAME')
36 machine = d.getVar('MACHINE')
37 mcmachine = d.getVar('MCMACHINE')
38 image_to_deploy = d.getVar('MC_DEPLOY_IMAGE_BASENAME')
39 image_link_name_to_deploy = image_link_name.replace(image_basename, image_to_deploy).replace(machine, mcmachine)
40 bb.warn('%s: assuming that "%s" built for "%s" has IMAGE_LINK_NAME "%s"' % (d.getVar('PN'), mcmachine, image_to_deploy, image_link_name_to_deploy))
41 d.setVar('IMAGE_LINK_NAME_CORE_IMAGE_MINIMAL', image_link_name_to_deploy)
42}
43
44BBCLASSEXTEND = "mcextend:tiny mcextend:musl"
diff --git a/meta-selftest/recipes-test/multiconfig/multiconfig-test-parse.bb b/meta-selftest/recipes-test/multiconfig/multiconfig-test-parse.bb
deleted file mode 100644
index 6236697453..0000000000
--- a/meta-selftest/recipes-test/multiconfig/multiconfig-test-parse.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1SUMMARY = "Test Multiconfig Parsing"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4
5INHIBIT_DEFAULT_DEPS = "1"
6
7do_showvar() {
8 bbplain "MCTESTVAR=${MCTESTVAR}"
9}
10addtask do_showvar
11
diff --git a/meta-selftest/recipes-test/nopackages/selftest-nopackages.bb b/meta-selftest/recipes-test/nopackages/selftest-nopackages.bb
deleted file mode 100644
index 154df910e4..0000000000
--- a/meta-selftest/recipes-test/nopackages/selftest-nopackages.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1SUMMARY = "Test recipe for nopackages bbclass"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
4
5INHIBIT_DEFAULT_DEPS = "1"
6inherit nopackages
diff --git a/meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb b/meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb
deleted file mode 100644
index 3b59e37619..0000000000
--- a/meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1SUMMARY = "Overlayfs class unit test"
2DESCRIPTION = "Contains an overlayfs configuration"
3LICENSE = "MIT"
4
5INHIBIT_DEFAULT_DEPS = "1"
6EXCLUDE_FROM_WORLD = "1"
7
8inherit_defer ${@bb.utils.contains("DISTRO_FEATURES", "overlayfs", "overlayfs", "", d)}
9include test_recipe.inc
10
11OVERLAYFS_WRITABLE_PATHS[mnt-overlay] += "/usr/share/my-application"
12
13do_install() {
14 install -d ${D}/usr/share/my-application
15 install -d ${D}${sysconfdir}
16 echo "Original file in /etc" >> ${D}${sysconfdir}/lower-layer-test.txt
17}
18
19FILES:${PN} += "\
20 ${exec_prefix} \
21 ${sysconfdir} \
22"
diff --git a/meta-selftest/recipes-test/packagenameconflict/packagenameconflict.bb b/meta-selftest/recipes-test/packagenameconflict/packagenameconflict.bb
deleted file mode 100644
index 5d19a4dd25..0000000000
--- a/meta-selftest/recipes-test/packagenameconflict/packagenameconflict.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1SUMMARY = "Test case that tries to rename a package to an existing one and fails"
2DESCRIPTION = "This generates a packaging error when a package is renamed to a pre-existing name"
3LICENSE = "MIT"
4
5# Add a new package ${PN}-renametest
6PACKAGES += "${PN}-renametest"
7# ... and try to rename the ${PN}-dev to the new ${PN}-renametest (conflict)
8PKG:${PN}-dev = "${PN}-renametest"
9
10EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/perlcross/perlcross_%.bbappend b/meta-selftest/recipes-test/perlcross/perlcross_%.bbappend
deleted file mode 100644
index 205720982c..0000000000
--- a/meta-selftest/recipes-test/perlcross/perlcross_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
1# This bbappend is used to alter the recipe using the test_recipe.inc file created by tests.
2include test_recipe.inc
diff --git a/meta-selftest/recipes-test/poison/poison.bb b/meta-selftest/recipes-test/poison/poison.bb
deleted file mode 100644
index 771113acf3..0000000000
--- a/meta-selftest/recipes-test/poison/poison.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1SUMMARY = "Sysroot poisoning test"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4LICENSE = "MIT"
5
6inherit nopackages
7
8# This test confirms that compiling code that searches /usr/include for headers
9# will result in compiler errors. This recipe should will fail to build and
10# oe-selftest has a test that verifies that.
11python do_compile() {
12 import subprocess
13
14 tests = {
15 "Preprocessor": "${CPP} -I/usr/include -",
16 "C Compiler": "${CC} -I/usr/include -x c -",
17 "C++ Compiler": "${CXX} -I/usr/include -x c++ -",
18 }
19
20 for name, cmd in tests.items():
21 cmd = d.expand(cmd)
22 bb.note("Test command: " + cmd)
23 testcode = "int main(int argc, char** argv) {}"
24 proc = subprocess.run(cmd, shell=True, input=testcode, capture_output=True, text=True)
25
26 if proc.returncode != 0 and "is unsafe for cross-compilation" in proc.stderr:
27 bb.note(f"{name} passed: {proc.stderr}")
28 else:
29 bb.error(f"{name} is not poisoned. Exit status {proc.returncode}, output: {proc.stdout} {proc.stderr}")
30}
31
32EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/postinst/postinst_1.0.bb b/meta-selftest/recipes-test/postinst/postinst_1.0.bb
deleted file mode 100644
index b936c4f44b..0000000000
--- a/meta-selftest/recipes-test/postinst/postinst_1.0.bb
+++ /dev/null
@@ -1,72 +0,0 @@
1SUMMARY = "Packages to exercise postinstall functions"
2LICENSE = "MIT"
3
4inherit allarch
5
6PACKAGES = "${PN}-rootfs ${PN}-delayed-a ${PN}-delayed-b ${PN}-rootfs-failing"
7
8ALLOW_EMPTY:${PN}-rootfs = "1"
9ALLOW_EMPTY:${PN}-delayed-a = "1"
10ALLOW_EMPTY:${PN}-delayed-b = "1"
11ALLOW_EMPTY:${PN}-rootfs-failing = "1"
12
13RDEPENDS:${PN}-delayed-a = "${PN}-rootfs"
14RDEPENDS:${PN}-delayed-b = "${PN}-delayed-a"
15
16TESTDIR = "${sysconfdir}/postinst-test"
17
18# At rootfs time touch $TESTDIR/rootfs. Errors if the file already exists, or
19# if the function runs on first boot.
20pkg_postinst:${PN}-rootfs () {
21 set -e
22
23 if [ -z "$D" ]; then
24 echo "${PN}-rootfs should have finished at rootfs time"
25 exit 1
26 fi
27
28 if [ -e $D${TESTDIR}/rootfs ]; then
29 echo "$D${TESTDIR}/rootfs exists, but should not"
30 exit 1
31 fi
32
33 mkdir -p $D${TESTDIR}
34 touch $D${TESTDIR}/rootfs
35}
36
37# Depends on rootfs, delays until first boot, verifies that the rootfs file was
38# written.
39pkg_postinst_ontarget:${PN}-delayed-a () {
40 set -e
41
42 if [ ! -e ${TESTDIR}/rootfs ]; then
43 echo "${PN}-delayed-a: ${TESTDIR}/rootfs not found"
44 exit 1
45 fi
46
47 touch ${TESTDIR}/delayed-a
48}
49
50# Depends on delayed-a, delays until first boot, verifies that the delayed-a file was
51# written. This verifies the ordering between delayed postinsts.
52pkg_postinst_ontarget:${PN}-delayed-b () {
53 set -e
54
55 if [ ! -e ${TESTDIR}/delayed-a ]; then
56 echo "${PN}-delayed-b: ${TESTDIR}/delayed-a not found"
57 exit 1
58 fi
59
60 touch ${TESTDIR}/delayed-b
61}
62
63# This scriptlet intentionally includes a bogus command in the middle to test
64# that we catch and report such errors properly.
65pkg_postinst:${PN}-rootfs-failing () {
66 mkdir -p $D${TESTDIR}
67 touch $D${TESTDIR}/rootfs-before-failure
68 run_a_really_broken_command
69 # Scriptlet execution should stop here; the following commands are NOT supposed to run.
70 # (oe-selftest checks for it).
71 touch $D${TESTDIR}/rootfs-after-failure
72}
diff --git a/meta-selftest/recipes-test/pseudo-pyc-test/pseudo-pyc-test.bb b/meta-selftest/recipes-test/pseudo-pyc-test/pseudo-pyc-test.bb
deleted file mode 100644
index 12dc91a8f3..0000000000
--- a/meta-selftest/recipes-test/pseudo-pyc-test/pseudo-pyc-test.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1SUMMARY = "pseudo env test"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4
5INHIBIT_DEFAULT_DEPS = "1"
6
7python do_compile() {
8 import pseudo_pyc_test1
9 print(pseudo_pyc_test1.STRING)
10}
11
12python do_install() {
13 import pseudo_pyc_test2
14 print(pseudo_pyc_test2.STRING)
15}
diff --git a/meta-selftest/recipes-test/recipetool/files/add-file.patch b/meta-selftest/recipes-test/recipetool/files/add-file.patch
deleted file mode 100644
index cb43cc629d..0000000000
--- a/meta-selftest/recipes-test/recipetool/files/add-file.patch
+++ /dev/null
@@ -1,10 +0,0 @@
1Upstream-Status: Inappropriate [Test artefact]
2
3diff --git a/file2 b/file2
4new file mode 100644
5index 0000000..049b42e
6--- /dev/null
7+++ b/file2
8@@ -0,0 +1,2 @@
9+Test file 2
10+456
diff --git a/meta-selftest/recipes-test/recipetool/files/file1 b/meta-selftest/recipes-test/recipetool/files/file1
deleted file mode 100644
index 7571aa7a88..0000000000
--- a/meta-selftest/recipes-test/recipetool/files/file1
+++ /dev/null
@@ -1,2 +0,0 @@
1First test file
2123
diff --git a/meta-selftest/recipes-test/recipetool/files/installscript.sh b/meta-selftest/recipes-test/recipetool/files/installscript.sh
deleted file mode 100644
index 9de30d69ca..0000000000
--- a/meta-selftest/recipes-test/recipetool/files/installscript.sh
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2echo "Third file" > $1/selftest-replaceme-scripted
3
diff --git a/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-func b/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-func
deleted file mode 100644
index 2802bb348b..0000000000
--- a/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-func
+++ /dev/null
@@ -1 +0,0 @@
1A file installed by a function called by do_install
diff --git a/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-globfile b/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-globfile
deleted file mode 100644
index 996298bf1f..0000000000
--- a/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-globfile
+++ /dev/null
@@ -1 +0,0 @@
1A file matched by a glob in do_install
diff --git a/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-todir-globfile b/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-todir-globfile
deleted file mode 100644
index 585ae3e9b0..0000000000
--- a/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-todir-globfile
+++ /dev/null
@@ -1 +0,0 @@
1A file matched by a glob in do_install to a directory
diff --git a/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-orig b/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-orig
deleted file mode 100644
index 593d6a0bb4..0000000000
--- a/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-orig
+++ /dev/null
@@ -1 +0,0 @@
1Straight through with same nam
diff --git a/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-todir b/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-todir
deleted file mode 100644
index 85bd5eba46..0000000000
--- a/meta-selftest/recipes-test/recipetool/files/selftest-replaceme-todir
+++ /dev/null
@@ -1 +0,0 @@
1File in SRC_URI installed just to directory path
diff --git a/meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir b/meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir
deleted file mode 100644
index d516b4951b..0000000000
--- a/meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir
+++ /dev/null
@@ -1 +0,0 @@
1A file in a subdirectory
diff --git a/meta-selftest/recipes-test/recipetool/selftest-recipetool-appendfile.bb b/meta-selftest/recipes-test/recipetool/selftest-recipetool-appendfile.bb
deleted file mode 100644
index 7698413d4d..0000000000
--- a/meta-selftest/recipes-test/recipetool/selftest-recipetool-appendfile.bb
+++ /dev/null
@@ -1,42 +0,0 @@
1SUMMARY = "Test recipe for recipetool appendfile"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
4
5INHIBIT_DEFAULT_DEPS = "1"
6
7SRC_URI = "file://installscript.sh \
8 file://selftest-replaceme-orig \
9 file://selftest-replaceme-todir \
10 file://file1 \
11 file://add-file.patch \
12 file://subdir \
13 file://selftest-replaceme-inst-globfile \
14 file://selftest-replaceme-inst-todir-globfile \
15 file://selftest-replaceme-inst-func"
16
17EXCLUDE_FROM_WORLD = "1"
18
19install_extrafunc() {
20 install -m 0644 ${UNPACKDIR}/selftest-replaceme-inst-func ${D}${datadir}/selftest-replaceme-inst-func
21}
22
23do_install() {
24 install -d ${D}${datadir}/
25 install -m 0644 ${UNPACKDIR}/selftest-replaceme-orig ${D}${datadir}/selftest-replaceme-orig
26 install -m 0644 ${UNPACKDIR}/selftest-replaceme-todir ${D}${datadir}
27 install -m 0644 ${UNPACKDIR}/file1 ${D}${datadir}/selftest-replaceme-renamed
28 install -m 0644 ${UNPACKDIR}/subdir/fileinsubdir ${D}${datadir}/selftest-replaceme-subdir
29 cp ${UNPACKDIR}/selftest-replaceme-inst-glob* ${D}${datadir}/selftest-replaceme-inst-globfile
30 cp ${UNPACKDIR}/selftest-replaceme-inst-todir-glob* ${D}${datadir}
31 install -d ${D}${sysconfdir}
32 install -m 0644 ${S}/file2 ${D}${sysconfdir}/selftest-replaceme-patched
33 sh ${UNPACKDIR}/installscript.sh ${D}${datadir}
34 install_extrafunc
35}
36
37pkg_postinst:${PN} () {
38 echo "Test file installed by postinst" > $D${datadir}/selftest-replaceme-postinst
39}
40
41FILES:${PN} += "${datadir}"
42
diff --git a/meta-selftest/recipes-test/recipeutils/recipeutils-test.inc b/meta-selftest/recipes-test/recipeutils/recipeutils-test.inc
deleted file mode 100644
index 8490b902d7..0000000000
--- a/meta-selftest/recipes-test/recipeutils/recipeutils-test.inc
+++ /dev/null
@@ -1,5 +0,0 @@
1SRC_URI = "http://xorg.freedesktop.org/releases/individual/lib/libxshmfence-${PV}.tar.bz2"
2
3SRC_URI[md5sum] = "66662e76899112c0f99e22f2fc775a7e"
4SRC_URI[sha256sum] = "d21b2d1fd78c1efbe1f2c16dae1cb23f8fd231dcf891465b8debe636a9054b0c"
5
diff --git a/meta-selftest/recipes-test/recipeutils/recipeutils-test/anotherfile b/meta-selftest/recipes-test/recipeutils/recipeutils-test/anotherfile
deleted file mode 100644
index e69de29bb2..0000000000
--- a/meta-selftest/recipes-test/recipeutils/recipeutils-test/anotherfile
+++ /dev/null
diff --git a/meta-selftest/recipes-test/recipeutils/recipeutils-test/somefile b/meta-selftest/recipes-test/recipeutils/recipeutils-test/somefile
deleted file mode 100644
index e69de29bb2..0000000000
--- a/meta-selftest/recipes-test/recipeutils/recipeutils-test/somefile
+++ /dev/null
diff --git a/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb b/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb
deleted file mode 100644
index dfaf67c938..0000000000
--- a/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1SUMMARY = "Test recipe for recipeutils.patch_recipe()"
2
3require recipeutils-test.inc
4
5LICENSE = "HPND"
6LIC_FILES_CHKSUM = "file://${UNPACKDIR}/somefile;md5=d41d8cd98f00b204e9800998ecf8427e"
7DEPENDS += "zlib"
8
9S = "${UNPACKDIR}"
10
11BBCLASSEXTEND = "native nativesdk"
12
13SRC_URI += "file://somefile"
14
15SRC_URI:append = " file://anotherfile"
diff --git a/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb b/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb
deleted file mode 100644
index ca22e1e19c..0000000000
--- a/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb
+++ /dev/null
@@ -1,30 +0,0 @@
1SUMMARY = "selftest chown"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4LICENSE = "MIT"
5
6DEPENDS += "coreutils-native"
7
8S = "${UNPACKDIR}"
9
10inherit useradd allarch
11
12USERADD_PACKAGES = "${PN}"
13USERADD_PARAM:${PN} = "-u 1234 -M test"
14TESTDIR = "${D}${sysconfdir}/selftest-chown"
15
16do_install() {
17 install -d ${TESTDIR}
18 install -d ${TESTDIR}/dir
19 touch ${TESTDIR}/file
20 ln -s ./file ${TESTDIR}/symlink
21 install -d ${TESTDIR}/fifotest
22 mkfifo ${TESTDIR}/fifotest/fifo
23
24 chown test:test ${TESTDIR}/file
25 chown -R test:test ${TESTDIR}/dir
26 chown -h test:test ${TESTDIR}/symlink
27 chown -R test:test ${TESTDIR}/fifotest
28}
29
30FILES:${PN} = "${sysconfdir}/selftest-chown/*"
diff --git a/meta-selftest/recipes-test/selftest-ed/selftest-ed_1.20.2.bb b/meta-selftest/recipes-test/selftest-ed/selftest-ed_1.20.2.bb
deleted file mode 100644
index e183d2d4e5..0000000000
--- a/meta-selftest/recipes-test/selftest-ed/selftest-ed_1.20.2.bb
+++ /dev/null
@@ -1,44 +0,0 @@
1SUMMARY = "Line-oriented text editor"
2HOMEPAGE = "http://www.gnu.org/software/ed/"
3DESCRIPTION = "GNU ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files, both interactively and via shell scripts. A restricted version of ed, red, can only edit files in the current directory and cannot execute shell commands."
4
5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \
7 file://ed.h;endline=20;md5=c3212b6c53b09668107420af9368c0ef \
8 file://main.c;endline=17;md5=e5d2ae5ddd1ecb87dc71702c06dd06dc \
9 "
10
11SECTION = "base"
12
13CVE_PRODUCT = "gnu:ed"
14
15# LSB states that ed should be in /bin/
16bindir = "${base_bindir}"
17
18# Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/
19SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.lz"
20UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/"
21
22SRC_URI[sha256sum] = "65fec7318f48c2ca17f334ac0f4703defe62037bb13cc23920de077b5fa24523"
23
24S = "${UNPACKDIR}/ed-${PV}"
25
26EXTRA_OEMAKE = "-e MAKEFLAGS="
27
28# for gcc 15 true/false change
29CFLAGS += "-std=gnu17"
30
31inherit texinfo
32
33do_configure() {
34 ${S}/configure
35}
36
37do_install() {
38 oe_runmake 'DESTDIR=${D}' install
39 # Info dir listing isn't interesting at this point so remove it if it exists.
40 if [ -e "${D}${infodir}/dir" ]; then
41 rm -f ${D}${infodir}/dir
42 fi
43}
44BBCLASSEXTEND = "native"
diff --git a/meta-selftest/recipes-test/selftest-ed/selftest-ed_1.21.1.bb b/meta-selftest/recipes-test/selftest-ed/selftest-ed_1.21.1.bb
deleted file mode 100644
index 6b8ce6e23b..0000000000
--- a/meta-selftest/recipes-test/selftest-ed/selftest-ed_1.21.1.bb
+++ /dev/null
@@ -1,42 +0,0 @@
1SUMMARY = "Line-oriented text editor"
2HOMEPAGE = "http://www.gnu.org/software/ed/"
3DESCRIPTION = "GNU ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files, both interactively and via shell scripts. A restricted version of ed, red, can only edit files in the current directory and cannot execute shell commands."
4
5LICENSE = "GPL-2.0-only"
6LICENSE:gplv3test = "GPL-3.0-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=cca7f74ec83b7a9ce7ccd195aad471bd \
8 file://ed.h;endline=20;md5=a24e7f91c0fb83e65a746f5994762a49 \
9 file://main.c;endline=17;md5=fd6ad9f1853f123f4ae7a31d59761f09 \
10 "
11
12SECTION = "base"
13
14CVE_PRODUCT = "gnu:ed"
15
16# LSB states that ed should be in /bin/
17bindir = "${base_bindir}"
18
19# Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/
20SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.lz"
21UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/"
22
23SRC_URI[sha256sum] = "d6d0c7192b02b0519c902a93719053e865ade5a784a3b327d93d888457b23c4b"
24
25S = "${UNPACKDIR}/ed-${PV}"
26
27EXTRA_OEMAKE = "-e MAKEFLAGS="
28
29inherit texinfo
30
31do_configure() {
32 ${S}/configure
33}
34
35do_install() {
36 oe_runmake 'DESTDIR=${D}' install
37 # Info dir listing isn't interesting at this point so remove it if it exists.
38 if [ -e "${D}${infodir}/dir" ]; then
39 rm -f ${D}${infodir}/dir
40 fi
41}
42BBCLASSEXTEND = "native"
diff --git a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb
deleted file mode 100644
index 8b2aa6c737..0000000000
--- a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb
+++ /dev/null
@@ -1,43 +0,0 @@
1LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
2
3LICENSE = "MIT"
4
5SRC_URI = "file://hello.c \
6 file://gdb.sh \
7"
8
9S = "${UNPACKDIR}"
10
11do_compile () {
12 ${CC} hello.c -o hello1 ${CFLAGS} ${LDFLAGS}
13
14 ${CC} hello.c -c -o hello.o ${CFLAGS}
15 ${AR} rcs libhello.a hello.o
16}
17
18do_install () {
19 install -d ${D}${bindir}
20 install -m 755 ${S}/gdb.sh ${D}${bindir}/
21 install -m 755 hello1 ${D}${bindir}/hello1
22 ln ${D}${bindir}/hello1 ${D}${bindir}/hello2
23
24 install -d ${D}${libexecdir}
25 ln ${D}${bindir}/hello1 ${D}${libexecdir}/hello3
26 ln ${D}${bindir}/hello1 ${D}${libexecdir}/hello4
27
28 # We need so many hardlink copies to look for specific race conditions
29 install -d ${D}${libdir}
30 install -m 0644 libhello.a ${D}${libdir}
31 for num in `seq 1 100` ; do
32 ln ${D}${libdir}/libhello.a ${D}${libdir}/libhello-${num}.a
33 done
34
35 dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M
36}
37
38RDEPENDS:${PN}-gdb += "gdb"
39PACKAGES =+ "${PN}-gdb"
40FILES:${PN}-gdb = "${bindir}/gdb.sh"
41
42PACKAGE_STRIP_STATIC = "1"
43PACKAGE_DEBUG_STATIC_SPLIT = "1"
diff --git a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/gdb.sh b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/gdb.sh
deleted file mode 100755
index f6417d5458..0000000000
--- a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/gdb.sh
+++ /dev/null
@@ -1,8 +0,0 @@
1#!/bin/sh
2gdb -q $1 <<'EOF'
3b main
4r
5c
6q
7EOF
8echo ""
diff --git a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c
deleted file mode 100644
index 5c45dc60bd..0000000000
--- a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c
+++ /dev/null
@@ -1,5 +0,0 @@
1#include <stdio.h>
2
3int main() {
4 printf("Hello World!\n");
5} \ No newline at end of file
diff --git a/meta-selftest/recipes-test/selftest-hello/files/helloworld.c b/meta-selftest/recipes-test/selftest-hello/files/helloworld.c
deleted file mode 100644
index fc7169b7b8..0000000000
--- a/meta-selftest/recipes-test/selftest-hello/files/helloworld.c
+++ /dev/null
@@ -1,8 +0,0 @@
1#include <stdio.h>
2
3int main(void)
4{
5 printf("Hello world!\n");
6
7 return 0;
8}
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
deleted file mode 100644
index 0ffe7308ba..0000000000
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1DESCRIPTION = "Simple helloworld application -- selftest variant"
2SECTION = "examples"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6SRC_URI = "file://helloworld.c"
7
8S = "${UNPACKDIR}"
9
10do_compile() {
11 ${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld
12}
13
14do_install() {
15 install -d ${D}${bindir}
16 install -m 0755 helloworld ${D}${bindir}
17}
18
19BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-selftest/recipes-test/selftest-users/acreategroup.bb b/meta-selftest/recipes-test/selftest-users/acreategroup.bb
deleted file mode 100644
index 07771ecf40..0000000000
--- a/meta-selftest/recipes-test/selftest-users/acreategroup.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1SUMMARY = "creategroup_a"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4LICENSE = "MIT"
5
6S = "${UNPACKDIR}"
7
8EXCLUDE_FROM_WORLD = "1"
9
10inherit useradd allarch
11
12USERADD_PACKAGES = "${PN}"
13USERADD_PARAM:${PN} = "-u 5560 --gid a_group a_user"
14GROUPADD_PARAM:${PN} = "-r a_group"
15
16TESTDIR = "${D}${sysconfdir}/creategroup"
17
18do_install() {
19 install -d ${TESTDIR}
20 install -d ${TESTDIR}/dir
21 touch ${TESTDIR}/file
22 ln -s ./file ${TESTDIR}/symlink
23 install -d ${TESTDIR}/fifotest
24 mkfifo ${TESTDIR}/fifotest/fifo
25
26 chown a_user:a_group ${TESTDIR}/file
27 chown -R a_user:a_group ${TESTDIR}/dir
28 chown -h a_user:a_group ${TESTDIR}/symlink
29 chown -R a_user:a_group ${TESTDIR}/fifotest
30}
31
32FILES:${PN} = "${sysconfdir}/creategroup/*"
diff --git a/meta-selftest/recipes-test/selftest-users/bcreategroup.bb b/meta-selftest/recipes-test/selftest-users/bcreategroup.bb
deleted file mode 100644
index 0071fcc331..0000000000
--- a/meta-selftest/recipes-test/selftest-users/bcreategroup.bb
+++ /dev/null
@@ -1,37 +0,0 @@
1SUMMARY = "creategroup_b"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4LICENSE = "MIT"
5
6# This recipe requires a and c. C requires A. Reverse alpha.
7
8USERADD_DEPENDS = "acreategroup ccreategroup"
9
10S = "${UNPACKDIR}"
11
12EXCLUDE_FROM_WORLD = "1"
13
14inherit useradd allarch
15
16USERADD_PACKAGES = "${PN}"
17USERADD_PARAM:${PN} = "-u 5561 -g b_group -G a_group,c_group b_user "
18GROUPADD_PARAM:${PN} = "-r b_group"
19
20TESTDIR = "${D}${sysconfdir}/creategroup"
21
22do_install() {
23 install -d ${TESTDIR}
24 install -d ${TESTDIR}/dir
25 touch ${TESTDIR}/file
26 ln -s ./file ${TESTDIR}/symlink
27 install -d ${TESTDIR}/fifotest
28 mkfifo ${TESTDIR}/fifotest/fifo
29
30 chown a_user:a_group ${TESTDIR}/file
31 chown -R c_user:c_group ${TESTDIR}/dir
32 chown -h a_user:a_group ${TESTDIR}/symlink
33 chown -R b_user:b_group ${TESTDIR}/fifotest
34}
35
36FILES:${PN} = "${sysconfdir}/creategroup/*"
37
diff --git a/meta-selftest/recipes-test/selftest-users/ccreategroup.bb b/meta-selftest/recipes-test/selftest-users/ccreategroup.bb
deleted file mode 100644
index 1685916630..0000000000
--- a/meta-selftest/recipes-test/selftest-users/ccreategroup.bb
+++ /dev/null
@@ -1,34 +0,0 @@
1SUMMARY = "creategroup_c"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4LICENSE = "MIT"
5
6USERADD_DEPENDS = "acreategroup"
7
8S = "${UNPACKDIR}"
9
10EXCLUDE_FROM_WORLD = "1"
11
12inherit useradd allarch
13
14USERADD_PACKAGES = "${PN}"
15USERADD_PARAM:${PN} = "-u 5563 --gid c_group -G a_group c_user"
16GROUPADD_PARAM:${PN} = "-r c_group"
17
18TESTDIR = "${D}${sysconfdir}/creategroup"
19
20do_install() {
21 install -d ${TESTDIR}
22 install -d ${TESTDIR}/dir
23 touch ${TESTDIR}/file
24 ln -s ./file ${TESTDIR}/symlink
25 install -d ${TESTDIR}/fifotest
26 mkfifo ${TESTDIR}/fifotest/fifo
27
28 chown c_user:c_group ${TESTDIR}/file
29 chown -R c_user:c_group ${TESTDIR}/dir
30 chown -h c_user:c_group ${TESTDIR}/symlink
31 chown -R c_user:c_group ${TESTDIR}/fifotest
32}
33
34FILES:${PN} = "${sysconfdir}/creategroup/*"
diff --git a/meta-selftest/recipes-test/selftest-users/creategroup1.bb b/meta-selftest/recipes-test/selftest-users/creategroup1.bb
deleted file mode 100644
index 28651d3ed7..0000000000
--- a/meta-selftest/recipes-test/selftest-users/creategroup1.bb
+++ /dev/null
@@ -1,30 +0,0 @@
1SUMMARY = "creategroup pt 1"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4LICENSE = "MIT"
5
6S = "${UNPACKDIR}"
7
8inherit useradd allarch
9
10USERADD_PACKAGES = "${PN}"
11USERADD_PARAM:${PN} = "-u 5555 --gid grouptest gt1"
12GROUPADD_PARAM:${PN} = "-r grouptest"
13
14TESTDIR = "${D}${sysconfdir}/creategroup"
15
16do_install() {
17 install -d ${TESTDIR}
18 install -d ${TESTDIR}/dir
19 touch ${TESTDIR}/file
20 ln -s ./file ${TESTDIR}/symlink
21 install -d ${TESTDIR}/fifotest
22 mkfifo ${TESTDIR}/fifotest/fifo
23
24 chown gt1:grouptest ${TESTDIR}/file
25 chown -R gt1:grouptest ${TESTDIR}/dir
26 chown -h gt1:grouptest ${TESTDIR}/symlink
27 chown -R gt1:grouptest ${TESTDIR}/fifotest
28}
29
30FILES:${PN} = "${sysconfdir}/creategroup/*"
diff --git a/meta-selftest/recipes-test/selftest-users/creategroup2.bb b/meta-selftest/recipes-test/selftest-users/creategroup2.bb
deleted file mode 100644
index 2840c92106..0000000000
--- a/meta-selftest/recipes-test/selftest-users/creategroup2.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1SUMMARY = "creategroup pt 2"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4LICENSE = "MIT"
5
6USERADD_DEPENDS = "creategroup1"
7
8S = "${UNPACKDIR}"
9
10inherit useradd allarch
11
12USERADD_PACKAGES = "${PN}"
13USERADD_PARAM:${PN} = "-u 5556 --gid grouptest gt2"
14
15TESTDIR = "${D}${sysconfdir}/creategroup"
16
17do_install() {
18 install -d ${TESTDIR}
19 install -d ${TESTDIR}/dir
20 touch ${TESTDIR}/file
21 ln -s ./file ${TESTDIR}/symlink
22 install -d ${TESTDIR}/fifotest
23 mkfifo ${TESTDIR}/fifotest/fifo
24
25 chown gt2:grouptest ${TESTDIR}/file
26 chown -R gt2:grouptest ${TESTDIR}/dir
27 chown -h gt2:grouptest ${TESTDIR}/symlink
28 chown -R gt2:grouptest ${TESTDIR}/fifotest
29}
30
31FILES:${PN} = "${sysconfdir}/creategroup/*"
32
diff --git a/meta-selftest/recipes-test/selftest-users/dcreategroup.bb b/meta-selftest/recipes-test/selftest-users/dcreategroup.bb
deleted file mode 100644
index eba91fe63d..0000000000
--- a/meta-selftest/recipes-test/selftest-users/dcreategroup.bb
+++ /dev/null
@@ -1,33 +0,0 @@
1SUMMARY = "creategroup_d"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4LICENSE = "MIT"
5
6USERADD_DEPENDS = "bcreategroup"
7
8S = "${UNPACKDIR}"
9
10EXCLUDE_FROM_WORLD = "1"
11
12inherit useradd allarch
13
14USERADD_PACKAGES = "${PN}"
15USERADD_PARAM:${PN} = "-u 5564 -g d_group -G b_group d_user "
16GROUPADD_PARAM:${PN} = "-r d_group"
17
18TESTDIR = "${D}${sysconfdir}/creategroup"
19
20do_install() {
21 install -d ${TESTDIR}
22 install -d ${TESTDIR}/dir
23 touch ${TESTDIR}/file
24 ln -s ./file ${TESTDIR}/symlink
25 install -d ${TESTDIR}/fifotest
26 mkfifo ${TESTDIR}/fifotest/fifo
27
28 chown d_user:d_group ${TESTDIR}/file
29 chown -R d_user:b_group ${TESTDIR}/dir
30 chown -h d_user:d_group ${TESTDIR}/symlink
31 chown -R d_user:b_group ${TESTDIR}/fifotest
32}
33
diff --git a/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb b/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb
deleted file mode 100644
index 7ba7ec85fe..0000000000
--- a/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "UserAddBadTask"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4LICENSE = "MIT"
5
6DEPENDS:append = "coreutils-native"
7
8S = "${UNPACKDIR}"
9
10inherit useradd allarch
11
12USERADD_PACKAGES = "${PN}"
13USERADD_PARAM:${PN} = "-u 5555 --gid groupaddtask useraddtask"
14GROUPADD_PARAM:${PN} = "-r groupaddtask"
15
16do_badthingshappen() {
17 echo "foo"
18}
19
20addtask badthingshappen after do_populate_sysroot before do_package
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-la-test_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-la-test_1.0.bb
deleted file mode 100644
index 21f06782fb..0000000000
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-la-test_1.0.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1SUMMARY = "Produce a broken la file"
2LICENSE = "CLOSED"
3INHIBIT_DEFAULT_DEPS = "1"
4
5EXCLUDE_FROM_WORLD = "1"
6
7# remove-libtool.bbclass is inherited by default and removes all
8# .la files which for this test we specifically do not want.
9REMOVE_LIBTOOL_LA = "0"
10
11do_install() {
12 install -d ${D}${libdir}/test/
13 echo '${WORKDIR}' > ${D}${libdir}/test/la-test.la
14}
15
16BBCLASSEXTEND += "native"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-pc-test_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-pc-test_1.0.bb
deleted file mode 100644
index e748310fc4..0000000000
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-pc-test_1.0.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1SUMMARY = "Produce a broken pc file"
2LICENSE = "CLOSED"
3INHIBIT_DEFAULT_DEPS = "1"
4
5EXCLUDE_FROM_WORLD = "1"
6
7do_install() {
8 install -d ${D}${libdir}/test/
9 echo '${WORKDIR}' > ${D}${libdir}/test/test.pc
10}
11
12BBCLASSEXTEND += "native"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-shebang-test_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-shebang-test_1.0.bb
deleted file mode 100644
index 6c834be897..0000000000
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-shebang-test_1.0.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1SUMMARY = "Check that shebang does not exceed 128 characters"
2LICENSE = "CLOSED"
3INHIBIT_DEFAULT_DEPS = "1"
4
5EXCLUDE_FROM_WORLD = "1"
6do_install() {
7 install -d ${D}${bindir}
8 echo '#!BiM3cnVd1Amtv6PG+FynrQiVMbZnX5ELgF21q3EkuB+44JEGWtq8TvBJ7EGidfVs3eR3wVOUbLnjYDlKUWcm7YC/ute7f+KDHbwxziRUSUBZAUqgjiQdfQ0HnxajI0ozbM863E9JV9k13yZKYfh9/zR77Y6Dl4Dd3zOWS75LSpkAXV' > ${D}${bindir}/max-shebang
9 chmod 755 ${D}${bindir}/max-shebang
10}
11
12BBCLASSEXTEND = "native"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb
deleted file mode 100644
index 36a682c53d..0000000000
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1LICENSE = "CLOSED"
2
3PROVIDES = "virtual/sysroot-test"
4INHIBIT_DEFAULT_DEPS = "1"
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
7TESTSTRING ?= "1"
8
9do_install() {
10 install -d ${D}${includedir}
11 echo "# test ${TESTSTRING}" > ${D}${includedir}/sysroot-test.h
12}
13
14EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb
deleted file mode 100644
index 67172f3cab..0000000000
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1LICENSE = "CLOSED"
2
3PROVIDES = "virtual/sysroot-test"
4INHIBIT_DEFAULT_DEPS = "1"
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
7TESTSTRING ?= "2"
8
9do_install() {
10 install -d ${D}${includedir}
11 echo "# test ${TESTSTRING}" > ${D}${includedir}/sysroot-test.h
12}
13
14EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb
deleted file mode 100644
index 560487c159..0000000000
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1SUMMARY = "Virtual provider sysroot test"
2LICENSE = "CLOSED"
3INHIBIT_DEFAULT_DEPS = "1"
4DEPENDS = "virtual/sysroot-test"
5
6EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/systemd-machine-units/systemd-machine-units_%.bbappend b/meta-selftest/recipes-test/systemd-machine-units/systemd-machine-units_%.bbappend
deleted file mode 100644
index 205720982c..0000000000
--- a/meta-selftest/recipes-test/systemd-machine-units/systemd-machine-units_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
1# This bbappend is used to alter the recipe using the test_recipe.inc file created by tests.
2include test_recipe.inc
diff --git a/meta-selftest/recipes-test/testrpm/files/testfile.txt b/meta-selftest/recipes-test/testrpm/files/testfile.txt
deleted file mode 100644
index c4d7630c1e..0000000000
--- a/meta-selftest/recipes-test/testrpm/files/testfile.txt
+++ /dev/null
@@ -1 +0,0 @@
1== This file serves the purposes of SRC_URI only
diff --git a/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
deleted file mode 100644
index 17ab7af0ab..0000000000
--- a/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "Test recipe for testing rpm generated by oe-core"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4LICENSE = "MIT"
5
6SRC_URI = "file://testfile.txt"
7INHIBIT_DEFAULT_DEPS = "1"
8
9S = "${UNPACKDIR}"
10
11do_compile(){
12 echo "testdata" > ${B}/"file with [brackets].txt"
13 echo "testdata" > ${B}/"file with (parentheses).txt"
14}
15
16do_install(){
17 install ${B}/* ${D}/
18}
19
20FILES:${PN} = "*"
diff --git a/meta-selftest/recipes-test/wrapper/cmdline-shebang-wrapper-test.bb b/meta-selftest/recipes-test/wrapper/cmdline-shebang-wrapper-test.bb
deleted file mode 100644
index c91d00c8d9..0000000000
--- a/meta-selftest/recipes-test/wrapper/cmdline-shebang-wrapper-test.bb
+++ /dev/null
@@ -1,30 +0,0 @@
1SUMMARY = "Check that create_cmdline_shebang works"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4INHIBIT_DEFAULT_DEPS = "1"
5
6SRC_URI += "file://test.awk"
7
8EXCLUDE_FROM_WORLD = "1"
9do_install() {
10 install -d ${D}${bindir}
11 # was not able to make ownership preservation check
12 install -m 0400 ${UNPACKDIR}/test.awk ${D}${bindir}/test
13
14 perm_old="$(stat --format='%a' ${D}${bindir}/test)"
15 sed -i -e 's|@AWK_BIN@|${bindir}/awk|g' ${D}${bindir}/test
16 create_cmdline_shebang_wrapper ${D}${bindir}/test
17 if [ $(${D}${bindir}/test) != "Don't Panic!" ]; then
18 bbfatal "Wrapper is broken"
19 else
20 bbnote "Wrapper is good"
21 fi
22
23 perm_new="$(stat --format='%a' ${D}${bindir}/test.real)"
24
25 if [ "$perm_new" != "$perm_old" ]; then
26 bbfatal "Wrapper permissions for ${D}${bindir}/test.real not preserved. Found $perm_new but expected $perm_old"
27 fi
28}
29
30BBCLASSEXTEND = "native"
diff --git a/meta-selftest/recipes-test/wrapper/files/test.awk b/meta-selftest/recipes-test/wrapper/files/test.awk
deleted file mode 100644
index 91429197b1..0000000000
--- a/meta-selftest/recipes-test/wrapper/files/test.awk
+++ /dev/null
@@ -1,2 +0,0 @@
1#! @AWK_BIN@ -f
2BEGIN { print "Don't Panic!" }
diff --git a/meta-selftest/recipes-test/xcursor-transparent-theme/xcursor-transparent-theme_%.bbappend b/meta-selftest/recipes-test/xcursor-transparent-theme/xcursor-transparent-theme_%.bbappend
deleted file mode 100644
index 205720982c..0000000000
--- a/meta-selftest/recipes-test/xcursor-transparent-theme/xcursor-transparent-theme_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
1# This bbappend is used to alter the recipe using the test_recipe.inc file created by tests.
2include test_recipe.inc