[Concept,1/5] buildman: Update test_reproducible for real Kconfig resolution

Message ID 20260112225406.3274105-2-sjg@u-boot.org
State New
Headers
Series buildman: Improve toolchain selection and config adjustment |

Commit Message

Simon Glass Jan. 12, 2026, 10:53 p.m. UTC
  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(-)
  

Patch

diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py
index 4a207bfb00c..ec2b2efc3b6 100644
--- a/tools/buildman/func_test.py
+++ b/tools/buildman/func_test.py
@@ -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