Add tcov support in Makefile
commitff2a372a9af5a7eb16548940f779a24c20767d4f
authorherman ten brugge <hermantenbrugge@home.nl>
Thu, 31 Aug 2023 09:09:49 +0000 (31 11:09 +0200)
committerherman ten brugge <hermantenbrugge@home.nl>
Thu, 31 Aug 2023 09:09:49 +0000 (31 11:09 +0200)
treec0fbf3851b85d32e00595bf2c5898fcbce5b20dc
parentb50a0bdf311a32ffe68e888069a4cf014be053bb
Add tcov support in Makefile

The following targets are added:
testc / testc2.all / testc2.37 / testc2.37+ / testc2.37-
testcpp.all / make testcpp.17
This allows to check that the testcase(s) test the code modified.
See Makefile tests/pp/Makefile tests/tests2/Makefile

lib/tcov.c: Fix while loops with fgets.

tcc.h: Fix tcc_p compilation with latest gcc

tests/tests2/22_floating_point.*: Better test floating point
.gitignore
Makefile
lib/tcov.c
tcc.h
tests/pp/Makefile
tests/tests2/22_floating_point.c
tests/tests2/22_floating_point.expect
tests/tests2/Makefile