Skip to content

Commit 78ec812

Browse files
author
Oren Cohen
committed
Add define to skip greentea sync
1 parent 5f38878 commit 78ec812

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)