test: let use gdbserver for all sandbox targets
Enable usage of gdbserver for all sandbox targets (sandbox, sandbox_flattree etc.). Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4ebcb16b51
commit
7374b15522
@ -117,8 +117,8 @@ def pytest_configure(config):
|
|||||||
mkdir_p(persistent_data_dir)
|
mkdir_p(persistent_data_dir)
|
||||||
|
|
||||||
gdbserver = config.getoption('gdbserver')
|
gdbserver = config.getoption('gdbserver')
|
||||||
if gdbserver and board_type != 'sandbox':
|
if gdbserver and not board_type.startswith('sandbox'):
|
||||||
raise Exception('--gdbserver only supported with sandbox')
|
raise Exception('--gdbserver only supported with sandbox targets')
|
||||||
|
|
||||||
import multiplexed_log
|
import multiplexed_log
|
||||||
log = multiplexed_log.Logfile(result_dir + '/test-log.html')
|
log = multiplexed_log.Logfile(result_dir + '/test-log.html')
|
||||||
|
Loading…
Reference in New Issue
Block a user