[0.3.4] "make test" fails with GCC 11 (but not with GCC 9)
hartwork opened this issue ยท 6 comments
Hi @gkdr ,
as I learned today GCC 11 puts the *.g*
coverage files into the test/
folder and hence the two mv *.g* $(TDIR)
calls in the Makefile
fail, as there is nothing to move. A fix supporting both GCC 9 and 11 could be prefixing them with -
(dash or "minus") so that make ignores a non-zero return code. What do you think?
Best, Sebastian
hi @hartwork, thanks for the report! sounds like a simple solution that does the trick.
Should I make a pull request or would you rather do that yourself?
actually, merging #27 fixed this issue as well because find
does not seem to return an error in case the files don't exist, which was also an issue when trying to run the build in parallel. just ignoring the exit code would have been the easiest solution from the start, i guess ๐ฌ
i'm going to close this issue then. feel free to reopen it if you feel i missed something. and sorry it took me so long to respond for such a simple issue.
@gkdr thanks for the release, bumped in Gentoo just now.