[Concept,1/5] buildman: Update test_reproducible for real Kconfig resolution
Commit Message
From: Simon Glass <simon.glass@canonical.com>
We plan to change how config adjustments are handled in buildman, so
update this test to use a use single board.
This will avoid a race condition with parallel builds using
merge_config.sh race conditions when multiple builds try to compile
Kconfig tools simultaneously.
Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---
tools/buildman/func_test.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -1100,7 +1100,8 @@ Idx Name Size VMA LMA File off Algn
def test_reproducible(self):
"""Test that the -r flag works"""
- lines, cfg_data = self.check_command('-r')
+ # Use single board to avoid parallel merge_config.sh race conditions
+ lines, cfg_data = self.check_command('board0', '-r')
self.assertIn(b'SOURCE_DATE_EPOCH=0', lines[0])
# We should see CONFIG_LOCALVERSION_AUTO unset