]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
selftest/SStateCacheManagement: do not manipulate ERROR_QA
authorAlexander Kanavin <alex.kanavin@gmail.com>
Tue, 30 Jan 2024 13:55:55 +0000 (14:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Feb 2024 17:12:51 +0000 (17:12 +0000)
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.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/sstatetests.py

index 3a2d39ad0c460e6a07ab778c6d92c4f5c9810d71..f2adf7326365cbdc5cd7814b28b622ec45cdf2ce 100644 (file)
@@ -270,10 +270,6 @@ class SStateCacheManagement(SStateBase):
         self.assertTrue(len(global_config) == len(target_config), msg='Lists global_config and target_config should have the same number of elements')
         self.config_sstate(temp_sstate_location=True, add_local_mirrors=[self.sstate_path])
 
-        # If buildhistory is enabled, we need to disable version-going-backwards
-        # QA checks for this test. It may report errors otherwise.
-        self.append_config('ERROR_QA:remove = "version-going-backwards"')
-
         # For now this only checks if random sstate tasks are handled correctly as a group.
         # In the future we should add control over what tasks we check for.