summaryrefslogtreecommitdiff
path: root/tmk_core/tool/mbed/mbed-sdk/libraries/tests/mbed/detect/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/tool/mbed/mbed-sdk/libraries/tests/mbed/detect/main.cpp')
-rw-r--r--tmk_core/tool/mbed/mbed-sdk/libraries/tests/mbed/detect/main.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tmk_core/tool/mbed/mbed-sdk/libraries/tests/mbed/detect/main.cpp b/tmk_core/tool/mbed/mbed-sdk/libraries/tests/mbed/detect/main.cpp
new file mode 100644
index 0000000000..1508a13cbf
--- /dev/null
+++ b/tmk_core/tool/mbed/mbed-sdk/libraries/tests/mbed/detect/main.cpp
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "test_env.h"
+
+int main() {
+ MBED_HOSTTEST_TIMEOUT(10);
+ MBED_HOSTTEST_SELECT(detect_auto);
+ MBED_HOSTTEST_DESCRIPTION(Simple detect test);
+ MBED_HOSTTEST_START("DTCT_1");
+
+ notify_start();
+ printf("MBED: Target '%s'\r\n", TEST_SUITE_TARGET_NAME);
+ printf("MBED: Test ID '%s'\r\n", TEST_SUITE_TEST_ID);
+ printf("MBED: UUID '%s'\r\n", TEST_SUITE_UUID);
+ MBED_HOSTTEST_RESULT(true);
+}