mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-16 15:02:50 +00:00
small cleanup, makefile preparation for calcdiff
This commit is contained in:
parent
451c9610aa
commit
9032811fc5
3 changed files with 52 additions and 38 deletions
5
testutil.h
Normal file
5
testutil.h
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
#define WARN(test) if (!(test)) \
|
||||
fprintf(stderr, "check failed @ %d: %s\n", (int)__LINE__, #test)
|
||||
|
||||
#define WARNF(test) if (!(test) && ((void) fprintf(stderr, "check failed @ %d: %s\n", (int)__LINE__, #test), 1))
|
Loading…
Add table
Add a link
Reference in a new issue