Update the way of working of the coverage so that it produces

more useful information about the line coveraged, and avoid
expanding low level macros.
This commit is contained in:
Patrick Pelissier committed 2017-07-10 17:35:16 +02:00
1 parent fc323a5feb
commit 672c2d509d
11 files changed
+51 -18

No files matched your search

+1 -1
View File
@@ -49,9 +49,9 @@ static void my_mpz_str(string_t str, const mpz_t z, bool append)
free(s);
}
#include "coverage.h"
START_COVERAGE
ARRAY_DEF(uint, unsigned int)
ARRAY_DEF(mpz, mpz_t,
(INIT(mpz_init), INIT_SET(mpz_init_set), SET(mpz_set), CLEAR(mpz_clear), \
OUT_STR(my_mpz_out_str), IN_STR(my_mpz_in_str), EQUAL(my_mpz_equal_p), \