[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, 7 Dec 2022 16:26:45 +0100 |
User-agent: |
Mutt/2.2.9+54 (af2080d3) vl-149028 (2022-12-04) |
On 2022-12-07 16:12:22 +0100, Vincent Lefevre wrote:
> The cause seems to be that the generated executable name is fixed
> to "a.exe" instead of depending on the test name:
>
> 113_btdll.test: T1 = \
> $(TCC) -bt $1 -shared -D DLL=1 -o a1$(DLLSUF) && \
> $(TCC) -bt $1 -shared -D DLL=2 -o a2$(DLLSUF) && \
> $(TCC) -bt $1 a1$(DLLSUF) a2$(DLLSUF) -Wl,-rpath=. -o a.exe && \
> ./a.exe
>
> T2 = $(if $(NORUN),$1 -o a.exe && ./a.exe,-run $1)
>
> GEN-CC = $(CC) -w -std=gnu99 $(FLAGS) $1 -o a.exe && ./a.exe $(ARGS)
Changing the T2 line to
T2 = $(if $(NORUN),$1 -o a-$1.exe && ./a-$1.exe,-run $1)
avoids the failures for me, but I don't know whether this is OK
everywhere or sufficient.
--
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,
Vincent Lefevre <=
- 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, 2022/12/28
- 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