Skip to content
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

Merged
merged 1 commit into from
May 31, 2018
Merged

Lora: Add greentea tests for LoRaRadio API #7005

merged 1 commit into from
May 31, 2018

Conversation

kivaisan
Copy link
Contributor

Description

This LoRaRadio test set adds basic tests which can be run with a single HW.

Pull request type

[ ] Fix
[ ] Refactor
[ ] New target
[X] Feature
[ ] Breaking change

@kivaisan
Copy link
Contributor Author

@AnttiKauppila @hasnainvirk please review.

hasnainvirk
hasnainvirk previously approved these changes May 24, 2018
Copy link
Contributor

@hasnainvirk hasnainvirk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


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`
Copy link
Contributor

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

#elif (MBED_CONF_APP_LORA_RADIO == SX1276)
#include "SX1276_LoRaRadio.h"
#else
#error [NOT_SUPPORTED] Requires parameters from mbed_app.json
Copy link
Contributor

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)

@kivaisan
Copy link
Contributor Author

@hasnainvirk Renamed mbed_app.json as template_mbed_app.txt. Also changed [NOT SUPPORTED] error as more generic.

AnttiKauppila
AnttiKauppila previously approved these changes May 25, 2018
@AnttiKauppila
Copy link

@0xc0170 Can you trigger build for this?

@0xc0170
Copy link
Contributor

0xc0170 commented May 28, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented May 28, 2018

Build : SUCCESS

Build number : 2174
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/7005/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented May 28, 2018

@mbed-ci
Copy link

mbed-ci commented May 28, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented May 29, 2018

/morph export-build

@mbed-ci
Copy link

mbed-ci commented May 29, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented May 29, 2018

@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.

mbed test -n mbed-os-tests-lorawan-loraradio -m TARGET -t GCC_ARM -v --profile debug --app-config mbed-os/TESTS/lorawan/loraradio/template_mbed_app.txt

This LoRaRadio test set adds basic tests which can be run with a single HW.
@kivaisan
Copy link
Contributor Author

kivaisan commented May 29, 2018

Are we always showing by default the debug command? I would go with the default one.

Definitely. I removed the debug and verbose options from example command.

@0xc0170
Copy link
Contributor

0xc0170 commented May 29, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented May 29, 2018

Build : SUCCESS

Build number : 2189
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/7005/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented May 29, 2018

@mbed-ci
Copy link

mbed-ci commented May 29, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented May 30, 2018

/morph test

@mbed-ci
Copy link

mbed-ci commented May 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants