mirror of
https://github.com/google/pebble.git
synced 2025-05-05 09:21:40 -04:00
9 lines
248 B
C
9 lines
248 B
C
#include <stdio.h>
|
|
|
|
#define TEST(x) \
|
|
if (!(x)) { \
|
|
fprintf(stderr, "\033[31;1mFAILED:\033[22;39m %s:%d %s\n", __FILE__, __LINE__, #x); \
|
|
status = 1; \
|
|
} else { \
|
|
printf("\033[32;1mOK:\033[22;39m %s\n", #x); \
|
|
}
|