This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Running tests with multiple options




  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]