diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-14 14:31:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-15 06:59:43 +0100 |
commit | 76f4bbc30e8aab7f6caf40a0a8e574399e4e8db2 (patch) | |
tree | 92671dbcc79a0b3604e029160601e12677b32e55 /meta/lib/oeqa | |
parent | 632681209ddde9d278bb23a0cbe92a98a20efde3 (diff) | |
download | poky-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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/sstatetests.py | 1 |
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" | |||
411 | DL_DIR = "${TOPDIR}/download1" | 411 | DL_DIR = "${TOPDIR}/download1" |
412 | TIME = "111111" | 412 | TIME = "111111" |
413 | DATE = "20161111" | 413 | DATE = "20161111" |
414 | INHERIT_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") |