Skip to content

Commit b694a34

Browse files
committed
Remove reference to yotta and mbed-drivers in greentea-client
1 parent 96a71ce commit b694a34

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

features/frameworks/greentea-client/greentea-client/test_env.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@
2222
#define GREENTEA_CLIENT_TEST_ENV_H_
2323

2424
#ifdef __cplusplus
25-
#ifdef YOTTA_GREENTEA_CLIENT_VERSION_STRING
26-
#define MBED_GREENTEA_CLIENT_VERSION_STRING YOTTA_GREENTEA_CLIENT_VERSION_STRING
27-
#else
2825
#define MBED_GREENTEA_CLIENT_VERSION_STRING "1.3.0"
29-
#endif
3026

3127
#include <stdio.h>
3228

@@ -41,7 +37,7 @@
4137
#endif
4238

4339
/**
44-
* Auxilary macros to keep mbed-drivers compatibility with utest before greentea-client
40+
* Ensure compatibility with utest
4541
*/
4642
#define TEST_ENV_TESTCASE_COUNT GREENTEA_TEST_ENV_TESTCASE_COUNT
4743
#define TEST_ENV_TESTCASE_START GREENTEA_TEST_ENV_TESTCASE_START

features/frameworks/greentea-client/source/greentea_test_env.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ extern bool coverage_report;
158158
*
159159
* Generates preamble of message sent to notify host about code coverage data dump.
160160
*
161-
* This function is used by mbedOS software
162-
* (see: mbed-drivers/source/retarget.cpp file) to generate code coverage
161+
* This function is used by Mbed OS
162+
* (see: mbed-os/platform/mbed_retarget.cpp) to generate code coverage
163163
* messages to host. When code coverage feature is turned on slave will
164164
* print-out code coverage data in form of key-value protocol.
165165
* Message with code coverage data will contain message name, path to code
@@ -176,8 +176,8 @@ void greentea_notify_coverage_start(const char *path) {
176176
/**
177177
* \brief Sufix for code coverage message to master (closing statement)
178178
*
179-
* This function is used by mbedOS software
180-
* (see: mbed-drivers/source/retarget.cpp file) to generate code coverage
179+
* This function is used by Mbed OS
180+
* (see: mbed-os/platform/mbed_retarget.cpp) to generate code coverage
181181
* messages to host. When code coverage feature is turned on slave will
182182
* print-out code coverage data in form of key-value protocol.
183183
* Message with code coverage data will contain message name, path to code

0 commit comments

Comments
 (0)