Added the possibility of running tests from each collection separately

Also added CMC_BITSET_WORD_TYPE so that the type of the bitset buffer can be defined with the -D flag
This commit is contained in:
Leonardo committed 2020-05-07 22:19:09 -03:00
1 parent 981fef3def
commit bf3535970e
19 files changed
+527 -156

No files matched your search

+5 -1
View File
@@ -41,7 +41,11 @@
* ------------------------------------------------------------------------- */
/* Defines the underlaying data type for the bitset array */
/* Possible values: uint64_t, uint32_t, uint16_t, uint8_t, size_t */
typedef uint32_t cmc_bitset_word;
#ifndef CMC_BITSET_WORD_TYPE
#define CMC_BITSET_WORD_TYPE uint32_t
#endif /* CMC_BITSET_WORD_TYPE */
typedef CMC_BITSET_WORD_TYPE cmc_bitset_word;
/* to_string format */
static const char *cmc_string_fmt_bitset = "struct %s "
+1 -1
View File
@@ -198,7 +198,7 @@ static void cmc_test_log(const char *unit_name, const char *current_test,
printf( \
" +---------------------------------------------------------------+\n"); \
printf("%s", cmc_test_color(0)); \
printf("\n\n"); \
printf("\n"); \
\
return tinfo.failed; \
}