Contiki 2.5
test.h
1 #ifndef __TEST_H__
2 #define __TEST_H__
3 
4 #include <stdio.h>
5 
6 #define TEST_FAIL(reason) printf("TEST:FAIL:%s\n", (reason))
7 #define TEST_PASS() printf("TEST:PASS\n")
8 #define TEST_REPORT(desc, value, scale, unit) printf("TEST:REPORT:%s:%lu:%lu:%s\n", (desc), ((uint32_t)value), ((uint32_t)scale), (unit))
9 
10 uint32_t test_precise_timestamp();
11 
12 #endif /* __TEST_H__ */