Add new test on proper error checking
This commit is contained in:
1 parent
92bddcaab4
commit
70c3932f6e
2 files changed
+10
-2
No files matched your search
+1
-2
@@ -91,7 +91,7 @@ fail-generic.log:
|
||||
fail-no-oplist.log:
|
||||
@$(MAKE) fail-generic.log FAIL_BASE=fail-no-oplist FAIL_SEQ=44
|
||||
fail-chain-oplist.log:
|
||||
@$(MAKE) fail-generic.log FAIL_BASE=fail-chain-oplist FAIL_SEQ=23
|
||||
@$(MAKE) fail-generic.log FAIL_BASE=fail-chain-oplist FAIL_SEQ=24
|
||||
fail-incompatible.log:
|
||||
@$(MAKE) fail-generic.log FAIL_BASE=fail-incompatible FAIL_SEQ=24
|
||||
|
||||
@@ -122,7 +122,6 @@ gene-string:
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -O3 -march=native -DNDEBUG -S tgen-mstring.c && less tgen-mstring.s
|
||||
|
||||
|
||||
#####################################################################################################
|
||||
# Coverage
|
||||
#####################################################################################################
|
||||
|
||||
|
||||
@@ -221,6 +221,15 @@ int f(void) {
|
||||
return r;
|
||||
}
|
||||
|
||||
#elif TEST == 24
|
||||
|
||||
#include "m-tuple.h"
|
||||
#include "m-string.h"
|
||||
|
||||
//TUPLE_DEF2(aggregate, (x, int), (z, string_t))
|
||||
#define M_OPL_aggregate_t() TUPLE_OPLIST(aggregate, int, string_t)
|
||||
TUPLE_DEF2(struct2, (a, aggregate_t))
|
||||
|
||||
#else
|
||||
# warning TEST variable is out of range.
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user