diff options
author | Igor Opaniuk <igor.opaniuk@linaro.org> | 2019-02-12 16:18:14 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-02-19 08:55:43 -0500 |
commit | 7374b15522b94d39108da6233b60ffbf30632678 (patch) | |
tree | aa33f6b79e26625cd1cad14dc66e9d320ab0d688 /test/py | |
parent | 4ebcb16b51589f6eb88d698f81a314f064db6487 (diff) | |
download | u-boot-7374b15522b94d39108da6233b60ffbf30632678.tar.gz |
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>
Diffstat (limited to 'test/py')
-rw-r--r-- | test/py/conftest.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |