summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/file/file_5.37.bb
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-11-04 12:14:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-05 10:37:11 +0000
commit4626a42c7be849b9c57ddb52114e1a84db2abfcb (patch)
tree6d128311cb4f36bb53a570dbd9d6d5a561908cbd /meta/recipes-devtools/file/file_5.37.bb
parent5da5331fccba5f18d6f6fab19ff05a6fc3a7f945 (diff)
downloadpoky-4626a42c7be849b9c57ddb52114e1a84db2abfcb.tar.gz
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 <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/file/file_5.37.bb')
-rw-r--r--meta/recipes-devtools/file/file_5.37.bb4
1 files changed, 4 insertions, 0 deletions
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}/
29 29
30FILES_${PN} += "${datadir}/misc/*.mgc" 30FILES_${PN} += "${datadir}/misc/*.mgc"
31 31
32do_compile_append_class-native() {
33 oe_runmake check
34}
35
32do_install_append_class-native() { 36do_install_append_class-native() {
33 create_cmdline_wrapper ${D}/${bindir}/file \ 37 create_cmdline_wrapper ${D}/${bindir}/file \
34 --magic-file ${datadir}/misc/magic.mgc 38 --magic-file ${datadir}/misc/magic.mgc