diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-01-24 18:33:18 +0100 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-01-24 18:33:18 +0100 |
commit | d1f6c0d7520ba8226c4d024f88767ad69440e0c8 (patch) | |
tree | 1b3ddb10be6f6b1e00c030666c601fea220b05b4 | |
parent | 86a6a6c36acf917f0731de2168eacd5a48876b42 (diff) | |
download | embedlog-d1f6c0d7520ba8226c4d024f88767ad69440e0c8.tar.gz embedlog-d1f6c0d7520ba8226c4d024f88767ad69440e0c8.tar.bz2 embedlog-d1f6c0d7520ba8226c4d024f88767ad69440e0c8.zip |
fix: remove gcno files on clean + reformat
-rw-r--r-- | tst/Makefile.am.coverage | 1 | ||||
-rw-r--r-- | tst/test-el-print.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tst/Makefile.am.coverage b/tst/Makefile.am.coverage index 8bb36db..757ef89 100644 --- a/tst/Makefile.am.coverage +++ b/tst/Makefile.am.coverage @@ -6,6 +6,7 @@ if HAVE_GCOV clean-gcda: @echo Removing old coverage results -find -name '*.gcda' -print | xargs -r rm + -find -name '*.gcno' -print | xargs -r rm .PHONY: coverage generate-coverage-html clean-coverage-html coverage: clean-gcda diff --git a/tst/test-el-print.c b/tst/test-el-print.c index 8bbe9d6..49da889 100644 --- a/tst/test-el-print.c +++ b/tst/test-el-print.c @@ -13,6 +13,7 @@ ========================================================================== */ + #include <rb.h> #include <string.h> #include <ctype.h> @@ -43,7 +44,7 @@ struct log_message const char *file; size_t line; int level; - const char *msg; + const char *msg; }; @@ -611,7 +612,7 @@ static void print_mix_of_everything(void) for (level = EL_FATAL; level <= EL_DBG; ++level) - for (timestamp = EL_TS_OFF; timestamp != EL_TS_ERROR; ++timestamp) + for (timestamp = EL_TS_OFF; timestamp != EL_TS_ERROR; ++timestamp) for (printlevel = 0; printlevel <= 1; ++printlevel) for (finfo = 0; finfo <= 1; ++finfo) for (colors = 0; colors <= 1; ++colors) |