* [pph] Relativize pph test commands. (issue4445076)
@ 2011-04-29 21:18 Lawrence Crowl
2011-04-29 21:34 ` Diego Novillo
0 siblings, 1 reply; 2+ messages in thread
From: Lawrence Crowl @ 2011-04-29 21:18 UTC (permalink / raw)
To: reply, dnovillo, gcc-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [pph] Relativize pph test commands. (issue4445076)
2011-04-29 21:18 [pph] Relativize pph test commands. (issue4445076) Lawrence Crowl
@ 2011-04-29 21:34 ` Diego Novillo
0 siblings, 0 replies; 2+ messages in thread
From: Diego Novillo @ 2011-04-29 21:34 UTC (permalink / raw)
To: Lawrence Crowl; +Cc: reply, gcc-patches
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-29 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-29 21:18 [pph] Relativize pph test commands. (issue4445076) Lawrence Crowl
2011-04-29 21:34 ` Diego Novillo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).