Skip to content

Commit 024cae5

Browse files
author
Cruz Monrreal
authored
Merge pull request #9835 from orenc17/no_greentea
Add define to skip greentea sync
2 parents b844395 + b5bb1c1 commit 024cae5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberOriginal file lineDiff line numberDiff line change
@@ -94,8 +94,10 @@ void _GREENTEA_SETUP_COMMON(const int timeout, const char *host_test_name, char
94
* This function is blocking.
94
* This function is blocking.
95
*/
95
*/
96
extern "C" void GREENTEA_SETUP(const int timeout, const char *host_test_name) {
96
extern "C" void GREENTEA_SETUP(const int timeout, const char *host_test_name) {
97+
#if ! defined(NO_GREENTEA)
97
char _value[GREENTEA_UUID_LENGTH] = {0};
98
char _value[GREENTEA_UUID_LENGTH] = {0};
98
_GREENTEA_SETUP_COMMON(timeout, host_test_name, _value, GREENTEA_UUID_LENGTH);
99
_GREENTEA_SETUP_COMMON(timeout, host_test_name, _value, GREENTEA_UUID_LENGTH);
100+
#endif
99
}
101
}
100

102

101
/** \brief Handshake with host and send setup data (timeout and host test name). Allows you to preserve sync UUID.
103
/** \brief Handshake with host and send setup data (timeout and host test name). Allows you to preserve sync UUID.

0 commit comments

Comments
 (0)