summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-04-14 14:31:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-15 06:59:43 +0100
commit76f4bbc30e8aab7f6caf40a0a8e574399e4e8db2 (patch)
tree92671dbcc79a0b3604e029160601e12677b32e55
parent632681209ddde9d278bb23a0cbe92a98a20efde3 (diff)
downloadpoky-76f4bbc30e8aab7f6caf40a0a8e574399e4e8db2.tar.gz
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. (From OE-Core rev: fc90c5db45933369b8fc0a33d6238876f5e5a087) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/sstatetests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/sstatetests.py b/meta/lib/oeqa/selftest/sstatetests.py
index d41b1d3a76..acaf405acb 100644
--- a/meta/lib/oeqa/selftest/sstatetests.py
+++ b/meta/lib/oeqa/selftest/sstatetests.py
@@ -411,6 +411,7 @@ PARALLEL_MAKE = "-j 1"
411DL_DIR = "${TOPDIR}/download1" 411DL_DIR = "${TOPDIR}/download1"
412TIME = "111111" 412TIME = "111111"
413DATE = "20161111" 413DATE = "20161111"
414INHERIT_remove = "buildstats-summary buildhistory"
414""") 415""")
415 self.track_for_cleanup(topdir + "/tmp-sstatesamehash") 416 self.track_for_cleanup(topdir + "/tmp-sstatesamehash")
416 bitbake("world meta-toolchain -S none") 417 bitbake("world meta-toolchain -S none")