This is the mail archive of the
mailing list for the GCC project.
Re: Running tests with multiple options
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: Running tests with multiple options
- From: Jeffrey A Law <law at redhat dot com>
- Date: Tue, 02 Jan 2001 22:40:10 -0700
- cc: gcc at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <Pine.LNX.firstname.lastname@example.org.
> I want to move the format checking testcases to a subdirectory
> (gcc.dg/format), and run them both with and without -DWIDE, in preparation
> for later implementing checking of wide format functions (most of the
> tests applying to both, given suitable macro definitions). It seems
> natural to create a format.exp file in this subdirectory, with the
> contents below, based on the existing files. However, while this works if
> run as "make check-gcc RUNTESTFLAGS='format.exp='", running through plain
> "make check-gcc" causes the standard TORTURE_OPTIONS running through
> multiple optimization levels to be used, and -DWIDE to be ignored. Could
> someone who understands Dejagnu give a suitable format.exp that works in
> both cases?
Presumably something is overriding your TORTURE_OPTIONS. I'd use
the --verbose and --strace options to runtest to try and figure out
where/how that's happening.