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 <[email protected]> - 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 [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
