mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 09:49:41 +01: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: 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>
This commit is contained in:
committed by
Richard Purdie
parent
495005ae3c
commit
cc9836f601
@@ -32,6 +32,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