Mercurial > hg > th-libs
diff tests.c @ 649:2c9260f5cf44
Tweedle.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 25 Jan 2020 11:35:59 +0200 |
parents | 1e7e3f96632e |
children | 24cbab6e88c6 |
line wrap: on
line diff
--- a/tests.c Sat Jan 25 08:01:17 2020 +0200 +++ b/tests.c Sat Jan 25 11:35:59 2020 +0200 @@ -609,7 +609,8 @@ goto out; } - th_regex_dump(stdout, 1, expr); + if (th_verbosity > 0) + th_regex_dump(stdout, 1, expr); for (const test_regex_def1 *def = list; def->str != NULL; def++) { @@ -638,6 +639,7 @@ th_regex_free(expr); } + void test_regex_list2(const test_regex_def2 *list) { printf("========================================\n"); @@ -657,7 +659,8 @@ goto out; } - th_regex_dump(stdout, 1, expr); + if (th_verbosity > 0) + th_regex_dump(stdout, 1, expr); printf("----------------------------------------\n");