[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] randomly failing tests
From: |
Vincent Lefevre |
Subject: |
Re: [Tinycc-devel] randomly failing tests |
Date: |
Wed, 28 Dec 2022 12:45:34 +0100 |
User-agent: |
Mutt/2.2.9+60 (9917c0ea) vl-149028 (2022-12-12) |
On 2022-12-28 06:00:11 -0500, NightStrike wrote:
> On Wed, Dec 28, 2022, 03:31 Christian Jullien <eligis@orange.fr> wrote:
> > 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
>
> I think what you want is .NOTPARALLEL:
>
> https://www.gnu.org/software/make/manual/html_node/Parallel-Disable.html
Perhaps, but the issue with ".NOTPARALLEL" is that it applies to
the full Makefile, in case one just wants to serialize some tests.
However, Herman ten Brugge fixed the issue yesterday in
commit 7ed9c95ae795dd71c624ffb0d82f267b2c9697af to allow
a parallel build. I've just checked that it works. Thanks!
--
Vincent Lefèvre <vincent@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] randomly failing tests, Vincent Lefevre, 2022/12/07
- Re: [Tinycc-devel] randomly failing tests, Vincent Lefevre, 2022/12/07
- Re: [Tinycc-devel] randomly failing tests, Herman ten Brugge, 2022/12/27
- Re: [Tinycc-devel] randomly failing tests, Vincent Lefevre, 2022/12/27
- Re: [Tinycc-devel] randomly failing tests, Christian Jullien, 2022/12/28
- Re: [Tinycc-devel] randomly failing tests, NightStrike, 2022/12/28
- Re: [Tinycc-devel] randomly failing tests,
Vincent Lefevre <=
- Re: [Tinycc-devel] randomly failing tests, NightStrike, 2022/12/28
- Re: [Tinycc-devel] randomly failing tests, Vincent Lefevre, 2022/12/28
- Re: [Tinycc-devel] randomly failing tests, NightStrike, 2022/12/28