From: Igor Opaniuk Date: Tue, 12 Feb 2019 14:18:14 +0000 (+0200) Subject: test: let use gdbserver for all sandbox targets X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=7374b15522b94d39108da6233b60ffbf30632678;p=u-boot.git 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 Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- diff --git a/test/py/conftest.py b/test/py/conftest.py index 5c658b8c48..e40cbf0ba1 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -117,8 +117,8 @@ def pytest_configure(config): mkdir_p(persistent_data_dir) gdbserver = config.getoption('gdbserver') - if gdbserver and board_type != 'sandbox': - raise Exception('--gdbserver only supported with sandbox') + if gdbserver and not board_type.startswith('sandbox'): + raise Exception('--gdbserver only supported with sandbox targets') import multiplexed_log log = multiplexed_log.Logfile(result_dir + '/test-log.html')