-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Lora: Add greentea tests for LoRaRadio API #7005
Conversation
@AnttiKauppila @hasnainvirk please review. |
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.
LGTM
TESTS/lorawan/loraradio/README.md
Outdated
|
||
You can use the following command to run tests: | ||
|
||
`mbed test -n mbed-os-tests-lorawan-loraradio -m TARGET -t GCC_ARM -v --profile debug --app-config mbed-os/TESTS/lorawan/loraradio/mbed_app.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.
rename the json file. It can't be mbed_app.json
TESTS/lorawan/loraradio/main.cpp
Outdated
#elif (MBED_CONF_APP_LORA_RADIO == SX1276) | ||
#include "SX1276_LoRaRadio.h" | ||
#else | ||
#error [NOT_SUPPORTED] Requires parameters from mbed_app.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.
give it a name which you will choose (anything other than mbed_app.json)
@hasnainvirk Renamed mbed_app.json as template_mbed_app.txt. Also changed [NOT SUPPORTED] error as more generic. |
@0xc0170 Can you trigger build for this? |
/morph build |
Build : SUCCESSBuild number : 2174 Triggering tests/morph test |
Test : SUCCESSBuild number : 1962 |
Exporter Build : ABORTEDBuild number : 1799 |
/morph export-build |
Exporter Build : SUCCESSBuild number : 1809 |
@OPpuolitaival Can you please review these tests additions? Basically, these tests are here but we do not execute them or how can we in CI? @kivaisan Are we always showing by default the debug command? I would go with the default one.
|
This LoRaRadio test set adds basic tests which can be run with a single HW.
Definitely. I removed the debug and verbose options from example command. |
/morph build |
Build : SUCCESSBuild number : 2189 Triggering tests/morph test |
Test : FAILUREBuild number : 1977 |
Exporter Build : SUCCESSBuild number : 1816 |
/morph test |
Test : SUCCESSBuild number : 1982 |
Description
This LoRaRadio test set adds basic tests which can be run with a single HW.
Pull request type