From 84be4c71ec31466c14d9e169d152a0e8d388f742 Mon Sep 17 00:00:00 2001 From: crowl Date: Fri, 29 Apr 2011 21:03:49 +0000 Subject: [PATCH] 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 * g++.dg/pph/pph.exp: Copy pph map file to avoid absolute paths in test commands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/pph@173189 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog.pph | 5 +++++ gcc/testsuite/g++.dg/pph/pph.exp | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog.pph b/gcc/testsuite/ChangeLog.pph index 0381354a0de..dc665244129 100644 --- a/gcc/testsuite/ChangeLog.pph +++ b/gcc/testsuite/ChangeLog.pph @@ -1,3 +1,8 @@ +2011-04-29 Lawrence Crowl + + * g++.dg/pph/pph.exp: Copy pph map file to avoid absolute paths in + test commands. + 2011-04-15 Lawrence Crowl * lib/dg-pph.exp (dg-pph-pos): Stop on first failure. Change names of diff --git a/gcc/testsuite/g++.dg/pph/pph.exp b/gcc/testsuite/g++.dg/pph/pph.exp index 3f63b3d7481..a7d3524addd 100644 --- a/gcc/testsuite/g++.dg/pph/pph.exp +++ b/gcc/testsuite/g++.dg/pph/pph.exp @@ -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 { -- 2.11.4.GIT