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 numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ void _GREENTEA_SETUP_COMMON(const int timeout, const char *host_test_name, char
9494
* This function is blocking.
9595
*/
9696
extern "C" void GREENTEA_SETUP(const int timeout, const char *host_test_name) {
97+
#if ! defined(NO_GREENTEA)
9798
char _value[GREENTEA_UUID_LENGTH] = {0};
9899
_GREENTEA_SETUP_COMMON(timeout, host_test_name, _value, GREENTEA_UUID_LENGTH);
100+
#endif
99101
}
100102

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

0 commit comments

Comments
 (0)