diff options
author | Ross Burton <ross.burton@intel.com> | 2019-11-04 12:14:57 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-13 22:02:15 +0000 |
commit | cc9836f601b3ef4e749e953dbe50a005366fd2e7 (patch) | |
tree | d36a5bc04806625c8bd61edc68de40bafef35a7a | |
parent | 495005ae3c4e5f2e36ed1a81b885f5405c6266a9 (diff) | |
download | poky-cc9836f601b3ef4e749e953dbe50a005366fd2e7.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: 4668ac8c2600fe5698f030ed1e8cba69c0989a2c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/file/file_5.37.bb | 4 |
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 509b6cea6e..60fc66131e 100644 --- a/meta/recipes-devtools/file/file_5.37.bb +++ b/meta/recipes-devtools/file/file_5.37.bb | |||
@@ -32,6 +32,10 @@ EXTRA_OEMAKE_append_class-nativesdk = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/ | |||
32 | 32 | ||
33 | FILES_${PN} += "${datadir}/misc/*.mgc" | 33 | FILES_${PN} += "${datadir}/misc/*.mgc" |
34 | 34 | ||
35 | do_compile_append_class-native() { | ||
36 | oe_runmake check | ||
37 | } | ||
38 | |||
35 | do_install_append_class-native() { | 39 | do_install_append_class-native() { |
36 | create_cmdline_wrapper ${D}/${bindir}/file \ | 40 | create_cmdline_wrapper ${D}/${bindir}/file \ |
37 | --magic-file ${datadir}/misc/magic.mgc | 41 | --magic-file ${datadir}/misc/magic.mgc |