Message ID | 20110429210035.1ABA32225D2@jade.mtv.corp.google.com |
---|---|
State | New |
Headers | show |
On Fri, Apr 29, 2011 at 17:00, Lawrence Crowl <crowl@google.com> wrote: > Copy the pph map file from the source area to the run area to avoid > absolute paths to the map file. These were causing tests to not match > up in the test comparison scripts. > > Index: gcc/testsuite/ChangeLog.pph > > 2011-04-29 Lawrence Crowl <crowl@google.com> > > * g++.dg/pph/pph.exp: Copy pph map file to avoid absolute paths in > test commands. OK. Diego.
Index: gcc/testsuite/ChangeLog.pph 2011-04-29 Lawrence Crowl <crowl@google.com> * g++.dg/pph/pph.exp: Copy pph map file to avoid absolute paths in test commands. Index: gcc/testsuite/g++.dg/pph/pph.exp =================================================================== --- gcc/testsuite/g++.dg/pph/pph.exp (revision 173124) +++ gcc/testsuite/g++.dg/pph/pph.exp (working copy) @@ -32,7 +32,9 @@ set scenarios [list "" ] set hdr_tests [lsort [glob -nocomplain $srcdir/$subdir/\[cdx\]*.h]] set neg_tests [lsort [glob -nocomplain $srcdir/$subdir/\[dy\]*.cc]] set pos_tests [lsort [glob -nocomplain $srcdir/$subdir/\[cpx\]*.cc]] -set mapflag -fpph-map=$srcdir/$subdir/pph.map + +gcc_copy_files $srcdir/$subdir/pph.map . +set mapflag -fpph-map=pph.map foreach scenario $scenarios {