Skip to contentSkip to conversation

test: let use gdbserver for all sandbox targets

PATCH New Igor Opaniuk 3 participants 4 messages Feb 12, 2019 – Feb 20, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test: let use gdbserver for all sandbox targets

Enable usage of gdbserver for all sandbox targets (sandbox, sandbox_flattree etc.).

---
 test/py/conftest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
test/py/conftest.py +2 -2
index 5c658b8..e40cbf0 100644
@@ -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')
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 test: let use gdbserver for all sandbox targets

Quoted 4 lines · Igor Opaniuk

Enable usage of gdbserver for all sandbox targets (sandbox, sandbox_flattree etc.).

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190212/d1840ecb/attachment.sig>
#3 lore raw

PATCH 1/1 test: let use gdbserver for all sandbox targets

In reply to Igor Opaniuk
Quoted 6 lines · Igor Opaniuk

Enable usage of gdbserver for all sandbox targets (sandbox, sandbox_flattree etc.).

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190219/418014df/attachment.sig>