From d2e2b12f9a2e63704d4f17232f409db5d064fa67 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 20 May 2014 16:14:44 +0100 Subject: 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 Acked-by: Ong Boon Leong Signed-off-by: Tom Zanussi --- common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb b/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb index 4dcdea19..97f3b855 100644 --- a/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb +++ b/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb @@ -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" -- cgit v1.2.3-54-g00ecf