Preliminary main mbed library for nexpaq development
libraries/tests/mbed/detect/main.cpp@0:6c56fb4bc5f0, 2016-11-04 (annotated)
- Committer:
- nexpaq
- Date:
- Fri Nov 04 20:27:58 2016 +0000
- Revision:
- 0:6c56fb4bc5f0
Moving to library for sharing updates
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nexpaq | 0:6c56fb4bc5f0 | 1 | #include "mbed.h" |
nexpaq | 0:6c56fb4bc5f0 | 2 | #include "test_env.h" |
nexpaq | 0:6c56fb4bc5f0 | 3 | |
nexpaq | 0:6c56fb4bc5f0 | 4 | int main() { |
nexpaq | 0:6c56fb4bc5f0 | 5 | MBED_HOSTTEST_TIMEOUT(10); |
nexpaq | 0:6c56fb4bc5f0 | 6 | MBED_HOSTTEST_SELECT(detect_auto); |
nexpaq | 0:6c56fb4bc5f0 | 7 | MBED_HOSTTEST_DESCRIPTION(Simple detect test); |
nexpaq | 0:6c56fb4bc5f0 | 8 | MBED_HOSTTEST_START("DTCT_1"); |
nexpaq | 0:6c56fb4bc5f0 | 9 | |
nexpaq | 0:6c56fb4bc5f0 | 10 | notify_start(); |
nexpaq | 0:6c56fb4bc5f0 | 11 | printf("MBED: Target '%s'\r\n", TEST_SUITE_TARGET_NAME); |
nexpaq | 0:6c56fb4bc5f0 | 12 | printf("MBED: Test ID '%s'\r\n", TEST_SUITE_TEST_ID); |
nexpaq | 0:6c56fb4bc5f0 | 13 | printf("MBED: UUID '%s'\r\n", TEST_SUITE_UUID); |
nexpaq | 0:6c56fb4bc5f0 | 14 | MBED_HOSTTEST_RESULT(true); |
nexpaq | 0:6c56fb4bc5f0 | 15 | } |