~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
progs/perftest.c: Use from Glibc syscall numbers.
[catacomb]
/
symm
/
blkc.h
diff --git
a/symm/blkc.h
b/symm/blkc.h
index
069c1da
..
444ec8d
100644
(file)
--- a/
symm/blkc.h
+++ b/
symm/blkc.h
@@
-404,6
+404,10
@@
#include <mLib/quis.h>
#include <mLib/testrig.h>
#include <mLib/quis.h>
#include <mLib/testrig.h>
+#ifndef BLKC_TESTHOOK
+# define BLKC_TESTHOOK do ; while (0)
+#endif
+
#define BLKC_VERIFY(PRE, pre) BLKC_VERIFYX(PRE, pre, #pre)
#define BLKC_VERIFYX(PRE, pre, name) \
#define BLKC_VERIFY(PRE, pre) BLKC_VERIFYX(PRE, pre, #pre)
#define BLKC_VERIFYX(PRE, pre, name) \
@@
-478,6
+482,7
@@
static const test_chunk defs[] = { \
\
int main(int argc, char *argv[]) \
{ \
\
int main(int argc, char *argv[]) \
{ \
+ BLKC_TESTHOOK; \
test_run(argc, argv, defs, SRCDIR"/t/" fname); \
return (0); \
}
test_run(argc, argv, defs, SRCDIR"/t/" fname); \
return (0); \
}