Running tests with multiple options

Jeffrey A Law law@redhat.com
Tue Jan 2 21:44:00 GMT 2001


  In message <Pine.LNX.4.30.0012231208010.21443-100000@kern.srcf.societies.cam.
ac.uk>you write:
  > 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.
jeff



More information about the Gcc mailing list