This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: Don't use -o ./a.out in the gcc testsuite.
- To: hjl at lucon dot org, tprince at computer dot org
- Subject: Re: PATCH: Don't use -o ./a.out in the gcc testsuite.
- From: mike stump <mrs at windriver dot com>
- Date: Wed, 17 Oct 2001 11:10:52 -0700 (PDT)
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
> Date: Wed, 17 Oct 2001 10:30:57 -0700
> From: "H . J . Lu" <email@example.com>
> To: Tim Prince <firstname.lastname@example.org>
> Cc: email@example.com, firstname.lastname@example.org
> How about this patch? Tested on Linux/x86.
While I have no official status to ok this, the patch looks good to
The only danger is, the ./a.out's should be transformed to ./foo.exe
names, not foo.exe names, to retain the `sameness'. The ./ is not
without meaning, if . isn't `soon' enough in the path and the name is
used to run the testcase.
> - set output_file "./a.out"
> + set output_file "[file rootname [file tail $prog]].exe"
Fixing this after the fact tends to be fairly obscure.