Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(16090)

Issue 4744043: [pph] Expect checksums for tests marked with pph asm xdiff (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by Gabriel Charette
Modified:
12 years, 9 months ago
Reviewers:
schwab, Diego Novillo, Lawrence Crowl
CC:
gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : [pph] Expect checksums for tests marked with pph asm xdiff #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -9 lines) Patch
M gcc/testsuite/g++.dg/pph/c1builtin-integral.cc View 1 chunk +1 line, -1 line 0 comments Download
M gcc/testsuite/g++.dg/pph/c1eabi1.cc View 1 chunk +1 line, -1 line 0 comments Download
M gcc/testsuite/g++.dg/pph/p4eabi1.cc View 1 chunk +1 line, -1 line 0 comments Download
M gcc/testsuite/lib/dg-pph.exp View 1 2 chunks +14 lines, -6 lines 2 comments Download

Messages

Total messages: 12
Gabriel Charette
This patch adds an expected checksum for the tests expecting an asm diff. This way ...
12 years, 9 months ago (2011-07-15 22:36:34 UTC) #1
Gabriel Charette
Reviewed in person by Lawrence. Shortened XFAIL message from previous patch. Also, quick side note, ...
12 years, 9 months ago (2011-07-15 23:00:58 UTC) #2
Diego Novillo
OK with the change below. Diego. http://codereview.appspot.com/4744043/diff/3001/gcc/testsuite/lib/dg-pph.exp File gcc/testsuite/lib/dg-pph.exp (right): http://codereview.appspot.com/4744043/diff/3001/gcc/testsuite/lib/dg-pph.exp#newcode131 gcc/testsuite/lib/dg-pph.exp:131: set adiff [catch ...
12 years, 9 months ago (2011-07-15 23:08:26 UTC) #3
Lawrence Crowl
On 7/15/11, Lawrence Crowl <crowl@google.com> wrote: > On 7/15/11, Gabriel Charette <gchare@google.com> wrote: >> This ...
12 years, 9 months ago (2011-07-15 23:12:15 UTC) #4
Lawrence Crowl
On 7/15/11, Gabriel Charette <gchare@google.com> wrote: > This patch adds an expected checksum for the ...
12 years, 9 months ago (2011-07-15 23:12:18 UTC) #5
Lawrence Crowl
On 7/15/11, Gabriel Charette <gchare@google.com> wrote: > This patch adds an expected checksum for the ...
12 years, 9 months ago (2011-07-15 23:12:27 UTC) #6
Gabriel Charette
See below. http://codereview.appspot.com/4744043/diff/3001/gcc/testsuite/lib/dg-pph.exp File gcc/testsuite/lib/dg-pph.exp (right): http://codereview.appspot.com/4744043/diff/3001/gcc/testsuite/lib/dg-pph.exp#newcode131 gcc/testsuite/lib/dg-pph.exp:131: set adiff [catch {exec diff "$bname.s-pph" "$bname.s+pph"} ...
12 years, 9 months ago (2011-07-15 23:21:06 UTC) #7
Diego Novillo
On Fri, Jul 15, 2011 at 19:21, <gchare@google.com> wrote: > It's less affected by merges ...
12 years, 9 months ago (2011-07-15 23:24:35 UTC) #8
schwab_linux-m68k.org
gchare@google.com (Gabriel Charette) writes: > + set expectedSum [exec tr -d \} << [exec cut ...
12 years, 9 months ago (2011-07-16 07:59:43 UTC) #9
Gabriel Charette
On Sat, Jul 16, 2011 at 12:59 AM, Andreas Schwab <schwab@linux-m68k.org> wrote: > > gchare@google.com ...
12 years, 9 months ago (2011-07-18 21:46:49 UTC) #10
schwab_linux-m68k.org
Gabriel Charette <gchare@google.com> writes: > On Sat, Jul 16, 2011 at 12:59 AM, Andreas Schwab ...
12 years, 9 months ago (2011-07-18 22:05:58 UTC) #11
Gabriel Charette
12 years, 9 months ago (2011-07-18 23:38:17 UTC) #12
On Mon, Jul 18, 2011 at 3:05 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Gabriel Charette <gchare@google.com> writes:
>
>> On Sat, Jul 16, 2011 at 12:59 AM, Andreas Schwab <schwab@linux-m68k.org>
wrote:
>>>
>>> gchare@google.com (Gabriel Charette) writes:
>>>
>>> > +         set expectedSum [exec tr -d \} << [exec cut -f 4 -d\  <<
$xdiff_entry]]
>>
>> $xdiffentry is set to something like {{pph asm diff 123456}}, so i
>> need tr and cut to extract 123456
>
> tcl can everything tr and cut can do (with the above options anyway).
>
>> If there are ways to do this directly in TCL, without using exec
>> calls, I'd be glad to know.
>
> Read split(n) and string(n).
>

Thanks for the suggestion,
suggested changes made as part of issue 4768041.

Gabriel
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b