From: Ross Burton Date: Thu, 14 Apr 2016 13:31:36 +0000 (+0100) Subject: oeqa/selftest/sstatetests: fix no-op sstate test X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc90c5db45933369b8fc0a33d6238876f5e5a087;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/selftest/sstatetests: fix no-op sstate test The test to verify that certain classes when inherited were no-ops only passed if the build already inherited buildhistory. To ensure that the test works as expected, use INHERITS_remove to ensure that the classes are not inherited in the base run. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/sstatetests.py b/meta/lib/oeqa/selftest/sstatetests.py index d41b1d3a769..acaf405acb1 100644 --- a/meta/lib/oeqa/selftest/sstatetests.py +++ b/meta/lib/oeqa/selftest/sstatetests.py @@ -411,6 +411,7 @@ PARALLEL_MAKE = "-j 1" DL_DIR = "${TOPDIR}/download1" TIME = "111111" DATE = "20161111" +INHERIT_remove = "buildstats-summary buildhistory" """) self.track_for_cleanup(topdir + "/tmp-sstatesamehash") bitbake("world meta-toolchain -S none")