]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest/sstatetests: fix no-op sstate test
authorRoss Burton <ross.burton@intel.com>
Thu, 14 Apr 2016 13:31:36 +0000 (14:31 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Apr 2016 05:57:48 +0000 (06:57 +0100)
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 <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/sstatetests.py

index d41b1d3a7696ccaab4cbc0a7aefedc8e02358265..acaf405acb1b4fbb1648dc657a6306aeb86a1c94 100644 (file)
@@ -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")