-
Notifications
You must be signed in to change notification settings - Fork 3k
Add nanostack mac tester and testcases #7996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@artokin @OPpuolitaival @kjbracey-arm can you check these changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good for me
tools/test_configs/config_paths.json
Outdated
@@ -13,5 +13,6 @@ | |||
"6LOWPAN_ROUTER" : "6lowpanInterface_router.json", | |||
"THREAD_END_DEVICE" : "ThreadInterface_end_device.json", | |||
"THREAD_ROUTER" : "ThreadInterface_router.json", | |||
"NO_NETWORK": "no_network.json" | |||
"NO_NETWORK": "no_network.json", | |||
"MAC_TESTER": "MACTester.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say "MAC tester" may be clear enough in context of Nanostack, but is too generic for Mbed OS as a whole - the name should say something about Nanostack or 802.15.4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with changing it to something like NanostackMACTester.json
/morph build |
Build : FAILUREBuild number : 3082 |
Please review the build failures (some are related to the changes) |
Rebased the branch. Weird stuff started happening when I tried to recreate that disappeared after rebasing. |
/morph build |
Build : FAILUREBuild number : 3124 |
del self.th | ||
self.reset_dut() | ||
|
||
if __name__=='__main__': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont think user are able to run individual test anymore directly, maybe better to remove these blocks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea.
KW24D has this: KW41Z has this: I don't understand why the first one appears, and the second one is weird since that change should be included already. |
/morph build |
Build : FAILUREBuild number : 3145 |
@JuhPuur Is this completed and ready for CI or still work ongoing (latest commit pushed minutes ago) ? |
Sorry about the delay. It's obvious that the application won't compile without its specific test config, so I set it to skip by default. Should have done that from the beginning. Should be done now. |
/morph build |
Build : FAILUREBuild number : 3217 |
looks like a build issue related tot he PR, please take a look. |
I don't think it's related to the PR. One failure for one target for one compiler, when the application added by the PR isn't compiled. The error logs have disappeared so i can't tell what was the actual cause. |
Looks like CI cleanup was not done properly, restarting /morph build |
Build : SUCCESSBuild number : 3247 Triggering tests/morph test |
/morph export-build |
Exporter Build : SUCCESSBuild number : 2834 |
Test : SUCCESSBuild number : 3055 |
This PR's use of thread flags just showed up while rebasing #7980 - didn't notice it at the time. In case you ever touch this again, all the stuff about manual thread flags and rawserial and interrupt handlers and rx_buffer should no longer be needed - like some other test apps that have already been converted you can just use Also makes the app nominally portable to a device using something other than serial console I/O. |
Example of another app conversion: https://github.com/ARMmbed/mbed-client-testapp/pull/981/files |
Description
Add the nanostack MAC tester to test applications and testcases.
Target 5.10-RC2 / 5.10.1
Pull request type