test/py: Allow tests to control the sandbox device-tree file
Normally tests will run with the test.dtb file designed for this purpose. However, the verified boot tests need to run with their own device-tree file, containing a public key. Make the device-tree file a config option so that it can be adjusted by tests. The default is to keep the current behaviour. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@ class ConsoleSandbox(ConsoleBase):
|
||||
self.config.build_dir + '/u-boot',
|
||||
'-v',
|
||||
'-d',
|
||||
self.config.build_dir + '/arch/sandbox/dts/test.dtb'
|
||||
self.config.dtb
|
||||
]
|
||||
return Spawn(cmd, cwd=self.config.source_dir)
|
||||
|
||||
|
Reference in New Issue
Block a user