-Very much WIP, ehci barebone device, no hardware initializations at this stage just...
[AROS.git] / test / clib / test.h
blob62f48eb3cb2453e31a94de7b0370cf285dd7ff66
1 /* Prototypes for mandatory functions */
2 void cleanup( void );
4 /* Return values */
5 #define OK 0 /* All tests succeded */
6 #define FAIL 5 /* Some of the tests failed */
8 /* Testing macro */
9 #define TEST(x) if( !(x) ) \
10 { \
11 printf( "Test FAILED in %s, line %d.\n", __FILE__, __LINE__ ); \
12 cleanup(); \
13 return FAIL; \