This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.4.0 testsuite gives over 5000 g++ errors
Hi.
On Wed, May 05, 2004 at 12:47:27AM +1000, Paul C. Leopardi wrote:
> Oops, I had
> "alias runtest 'runtest -v'" instead of
> "alias runtest='runtest -v'"
>
> I'm running "make -k check" again, with
> "alias runtest='runtest -v -v -v'"
Aliases are a shell mechanism, and hence are not exported to subshells or
commands since expansion takes place before a command is executed. And they
are also not expanded in non-interactive shells by default.
(at least that's the case for bash)
So, to make sure that "runtest -v -v -v" is called rather than just `runtest'
better make a little sh script called `runtest' and place it somewhere in your
PATH before the real runtest program; e.g.:
#!/bin/sh
echo "( runtest -v -v -v )" 1>&2
/usr/bin/runtest -v -v -v "$@"
--
Claudio