mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
buildman: Add a test for the -A option
This lacks a test at present. Add one. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -1016,3 +1016,10 @@ endif
|
||||
result = self._RunControl('-R', outfile, brds=None,
|
||||
get_builder=False)
|
||||
self.assertTrue(os.path.exists(outfile))
|
||||
|
||||
def test_print_prefix(self):
|
||||
"""Test that we can print the toolchain prefix"""
|
||||
with test_util.capture_sys_output() as (stdout, stderr):
|
||||
result = self._RunControl('-A', 'board0')
|
||||
self.assertEqual('arm-\n', stdout.getvalue())
|
||||
self.assertEqual('', stderr.getvalue())
|
||||
|
||||
Reference in New Issue
Block a user