repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
-Very much WIP, ehci barebone device, no hardware initializations at this stage just...
[AROS.git]
/
test
/
clib
/
test.h
blob
62f48eb3cb2453e31a94de7b0370cf285dd7ff66
1
/* Prototypes for mandatory functions */
2
void
cleanup
(
void
);
3
4
/* Return values */
5
#define OK 0
/* All tests succeded */
6
#define FAIL 5
/* Some of the tests failed */
7
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; \
14
}