If it helps, I've just tried this patch which implement what you suggested, and it works. Maybe maintainers will consider to add it (.. or not)
diff --git a/Makefile b/Makefile index c220879..c718d7a 100644 --- a/Makefile +++ b/Makefile @@ -447,14 +447,16 @@ config.mak: $(if $(wildcard $@),,@echo "Please run ./configure." && exit 1) # run all tests +SERIALIZE = -j1 + test: - @$(MAKE) -C tests + @$(MAKE) $(SERIALIZE) -C tests # run test(s) from tests2 subdir (see make help) tests2.%: - @$(MAKE) -C tests/tests2 $@ + @$(MAKE) $(SERIALIZE) -C tests/tests2 $@ testspp.%: - @$(MAKE) -C tests/pp $@ + @$(MAKE) $(SERIALIZE) -C tests/pp $@ clean: @rm -f tcc$(EXESUF) tcc_p$(EXESUF) *-tcc$(EXESUF) tags ETAGS *.pod -----Original Message----- From: tinycc-devel-bounces+eligis=orange...@nongnu.org [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of Vincent Lefevre Sent: Tuesday, December 27, 2022 12:29 To: tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] randomly failing tests On 2022-12-27 08:30:52 +0100, Herman ten Brugge via Tinycc-devel wrote: > Are you using parallel build? Yes, I have a shell function "make" that uses the -j option (with the number of available cores). > This does not work for the testsuite . If this doesn't work for the testsuite, why not disabling the parallel build of the testsuite? -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel