From 4626a42c7be849b9c57ddb52114e1a84db2abfcb Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 4 Nov 2019 12:14:57 +0000 Subject: file: run test suite when building natively As we apply the same patches to native and target builds of file, we can verify that the patches are not breaking by executing the test suite during the build of file-native. (From OE-Core rev: 03591b9945bf04baca794e221b93ac66568b0609) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/file/file_5.37.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/file/file_5.37.bb b/meta/recipes-devtools/file/file_5.37.bb index 80e8b91058..a96ccc0d39 100644 --- a/meta/recipes-devtools/file/file_5.37.bb +++ b/meta/recipes-devtools/file/file_5.37.bb @@ -29,6 +29,10 @@ EXTRA_OEMAKE_append_class-nativesdk = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/ FILES_${PN} += "${datadir}/misc/*.mgc" +do_compile_append_class-native() { + oe_runmake check +} + do_install_append_class-native() { create_cmdline_wrapper ${D}/${bindir}/file \ --magic-file ${datadir}/misc/magic.mgc -- cgit v1.2.3-54-g00ecf