make sure our priority is just below the input devices so we refresh when the system...
[AROS.git] / test / dos / test.h
blob369cdd5755b92368fb712742dcdc0e55405f5ba3
1 /*
2 Copyright © 1995-2016, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /* Prototypes for mandatory functions */
7 void cleanup( void );
9 /* Return values */
10 #define OK 0 /* All tests succeeded */
11 #define FAIL 5 /* Some of the tests failed */
13 /* Testing macro */
14 #define TEST(x) \
15 if(!(x)) \
16 { \
17 printf( "Test FAILED in %s, line %d.\n", __FILE__, __LINE__ ); \
18 cleanup(); \
19 return FAIL; \
20 } \
21 else \
22 { \
23 printf( "Test passed in %s, line %d.\n", __FILE__, __LINE__ ); \
26 /* Only output when not passing */
27 #define TESTFALSE(x) \
28 if(!(x)) \
29 { \
30 printf( "Test FAILED in %s, line %d.\n", __FILE__, __LINE__ ); \
31 cleanup(); \
32 return FAIL; \