Copy the pph map file from the source area to the run area to avoid ...
13 years, 12 months ago
(2011-04-29 21:01:00 UTC)
#1
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.
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 {
--
This patch is available for review at http://codereview.appspot.com/4445076
On Fri, Apr 29, 2011 at 17:00, Lawrence Crowl <crowl@google.com> wrote: > Copy the pph ...
13 years, 12 months ago
(2011-04-29 21:03:45 UTC)
#2
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.
Issue 4445076: [pph] Relativize pph test commands.
(Closed)
Created 13 years, 12 months ago by Lawrence Crowl
Modified 12 years, 10 months ago
Reviewers: Diego Novillo
Base URL: svn+ssh://gcc.gnu.org/svn/gcc/branches/pph/
Comments: 0