mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
canterbury-corpus: don't skip all QA tests
Instead of setting ERROR_QA to "" (disabling all tests, instead of just the problematic ones), adding nothing to WARN_QA (cruft from previous revisions), and also marking do_package_qa as noexec (which doesn't work), just set INSANE_SKIP to skip the specific tests that fail with this package. Signed-off-by: Ross Burton <ross.burton@intel.com> Acked-by: Ong Boon Leong <boon.leong.ong@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
This commit is contained in:
parent
f39393c016
commit
d2e2b12f9a
|
@ -17,14 +17,6 @@ SRC_URI = "http://corpus.canterbury.ac.nz/resources/cantrbry.tar.gz"
|
|||
SRC_URI[md5sum] = "442e56cfffdf460d25b0b91650a55908"
|
||||
SRC_URI[sha256sum] = "f140e8a5b73d3f53198555a63bfb827889394a42f20825df33c810c3d5e3f8fb"
|
||||
|
||||
# Disable architecture QA check for this package since it contains
|
||||
# pre-compiled executable "sum" for SPARC. The package is used
|
||||
# for compression benchmarking only.
|
||||
WARN_QA += ""
|
||||
ERROR_QA = ""
|
||||
|
||||
do_package_qa[noexec] = "1"
|
||||
|
||||
do_unpack () {
|
||||
mkdir -p ${S}
|
||||
tar -xf ${DL_DIR}/cantrbry.tar.gz -C ${S}
|
||||
|
@ -40,3 +32,7 @@ do_install () {
|
|||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 644 ${S}/* ${D}${base_libdir}/firmware
|
||||
}
|
||||
|
||||
# The corpus contains Sparc binaries with unexpected symbol hash tables, so
|
||||
# silence the QA tests that will otherwise emit errors.
|
||||
INSANE_SKIP_${PN} = "arch ldflags"
|
||||
|
|
Loading…
Reference in New Issue
Block a user