]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
libseccomp: Add missing files for ptests
authorJoerg Vehlow <joerg.vehlow@aox.de>
Wed, 25 May 2022 09:26:59 +0000 (11:26 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 31 May 2022 15:49:55 +0000 (05:49 -1000)
pfc files are used e.g. in 38-basic-pfc_coverage.sh
valgrind_test.supp is required, when valgrind is installed, otherwise
all valgrind tests fail

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 32ba67bc37b5ca73f7d29cb6c7de281ab8f824bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/libseccomp/libseccomp_2.5.3.bb

index e6260a77545ddcb5b64cd0ecff7e17a14a17f4a3..d47200e01cb89af89920aec549e6da94f1fadb2b 100644 (file)
@@ -37,6 +37,10 @@ do_install_ptest() {
     for file in $(find tests/*.tests -type f); do
         install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tests
     done
+        for file in $(find tests/*.pfc -type f); do
+        install -m 644 ${S}/${file} ${D}/${PTEST_PATH}/tests
+    done
+    install -m 644 ${S}/tests/valgrind_test.supp ${D}/${PTEST_PATH}/tests
     for file in $(find tools/* -executable -type f); do
         install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tools
     done