diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-01-30 14:55:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-08 17:12:54 +0000 |
commit | 5ae7c6268b48146a515970343b1c417a40c15968 (patch) | |
tree | 6dddc5e5156cb7fe0539d6c2aa06d9a22164594f /meta/lib/oeqa/selftest | |
parent | 18c4179d11605bb3e25b437334e7ade1e987b31f (diff) | |
download | poky-5ae7c6268b48146a515970343b1c417a40c15968.tar.gz |
selftest/SStateCacheManagement: do not manipulate ERROR_QA
This is no longer necessary as selftest enforces buildhistory disabling nowadays.
It is also a significant contributor to slowness of the tests:
they work by setting up private sstate and retaining autobuilder sstate
as a read-only mirror, and if the needed objects aren't in that
mirror (as particularly seen on arm hosts), then the whole build
stars from scratch - and then is thrown away.
(From OE-Core rev: 208c8bc0e168cd2fd5884882b892862c6303fdfe)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/sstatetests.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py index 3a2d39ad0c..f2adf73263 100644 --- a/meta/lib/oeqa/selftest/cases/sstatetests.py +++ b/meta/lib/oeqa/selftest/cases/sstatetests.py | |||
@@ -270,10 +270,6 @@ class SStateCacheManagement(SStateBase): | |||
270 | self.assertTrue(len(global_config) == len(target_config), msg='Lists global_config and target_config should have the same number of elements') | 270 | self.assertTrue(len(global_config) == len(target_config), msg='Lists global_config and target_config should have the same number of elements') |
271 | self.config_sstate(temp_sstate_location=True, add_local_mirrors=[self.sstate_path]) | 271 | self.config_sstate(temp_sstate_location=True, add_local_mirrors=[self.sstate_path]) |
272 | 272 | ||
273 | # If buildhistory is enabled, we need to disable version-going-backwards | ||
274 | # QA checks for this test. It may report errors otherwise. | ||
275 | self.append_config('ERROR_QA:remove = "version-going-backwards"') | ||
276 | |||
277 | # For now this only checks if random sstate tasks are handled correctly as a group. | 273 | # For now this only checks if random sstate tasks are handled correctly as a group. |
278 | # In the future we should add control over what tasks we check for. | 274 | # In the future we should add control over what tasks we check for. |
279 | 275 | ||