mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
5da5331fcc
commit
4626a42c7b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user