tests: add Nordic SoftDevice test app#11797
Conversation
|
It could be enabled on CI with |
dylad
left a comment
There was a problem hiding this comment.
Just two nitpicks, I'll try to test it in the coming days.
tests/nordic_softdevice/README.md
Outdated
| @@ -0,0 +1,13 @@ | |||
| # Nordic SoftDevice Test Application | |||
| The main purpose of this test application is to ensure the inclusion of the | |||
| Nodric SoftDevice package in RIOTs build test. | |||
tests/nordic_softdevice/main.c
Outdated
| */ | ||
|
|
||
| /** | ||
| * @ingroup examples |
|
@haukepetersen tested manually on nrf52dk, it works fine but automated test seems broken. Nothing happens with |
|
It does not echo, so no output means success ;) |
|
@miri64 You're right I didn't notice. I don't have the same behavior with Am I missing something ? |
|
The script is configured to do On success there is nothing printed. You can see the output by applying this patch: diff --git a/tests/nordic_softdevice/tests/01-run.py b/tests/nordic_softdevice/tests/01-run.py
index 7329c7409..cda817d1d 100755
--- a/tests/nordic_softdevice/tests/01-run.py
+++ b/tests/nordic_softdevice/tests/01-run.py
@@ -11,4 +11,4 @@ def testfunc(child):
if __name__ == "__main__":
- sys.exit(run(testfunc, timeout=1, echo=False))
+ sys.exit(run(testfunc, timeout=1, echo=True))The rest of |
f1fc5fd to
7fdbb63
Compare
|
@dylad Are your questions regarding the I also fixed the typos that were pointed out, let me know if its ok to squash. |
|
also added the |
dylad
left a comment
There was a problem hiding this comment.
ACK.
I am happy with this PR so you can squash.
38c34e0 to
2e73e7f
Compare
|
squashed and rebased. |
|
All green -> lets go! |
|
It seems this broke the nightlies. |
|
Mh... maybe would have been noticed earlier if RIOT-OS/murdock-scripts#24 were merged :-/ |
I get the hint. ;) blame mode on: the test was never run on CI before merging. Two "skipped automatic tests before merging/ACKing" points for both @haukepetersen and @dylad. 😉 |
Contribution description
This is the next step towards making NimBLE the default IP-over-BLE solution for Nordic boards.
This PR adds a simple test application to verify that the Nordic SoftDevice package is still working. Though meant mainly for keeping the SoftDevice in the built-test, it also includes a (very shallow) test script, that simply checks if a device boots ok and that the SoftDevice registers a network device with GNRC.
Testing procedure
Build test should pass, and
make teston any supported boards should succeed.Issues/PRs references
loosely related to #11578