Update tests as per new checks

This commit is contained in:
Patrick Pelissier committed 2020-05-09 17:16:11 +02:00
1 parent 113fdbf388
commit aadd4f11b1
2 files changed
+19 -1

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ checkfail: fail-no-oplist
# TODO: should grep failure message?
fail-no-oplist:
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ; do \
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ; do \
if $(CC) $(CFLAGS) $(CPPFLAGS) -g -c fail-no-oplist.c -o tmp.o -DTEST=$$i 2> fail-no-oplist-$$i.log ; then echo FAILURE: fail-no-oplist-$$i ; false; else echo OK: fail-no-oplist-$$i ; fi \
done
+18
View File
@@ -121,6 +121,24 @@ BPTREE_MULTI_DEF2(tree, 4, int, DEFAULT_OPLIST, int, M_DEFAULT_OPLIST)
BPTREE_MULTI_DEF(tree, 4, int, DEFAULT_OPLIST)
#elif TEST == 18
#include "m-buffer.h"
BUFFER_DEF(buffer, int, 0, BUFFER_QUEUE, DEFAULT_OPLIST)
#elif TEST == 19
#include "m-buffer.h"
QUEUE_MPMC_DEF(buffer, int, BUFFER_QUEUE, DEFAULT_OPLIST)
#elif TEST == 20
#include "m-buffer.h"
QUEUE_SPSC_DEF(buffer, int, BUFFER_QUEUE, DEFAULT_OPLIST)
#else
# warning TEST variable is out of range.
#endif