Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Issue 1149423011: Clean up unit munging unit tests using common NaCl API. (Closed)

Created:
5 years, 6 months ago by Karl
Modified:
5 years, 6 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Clean up unit munging unit tests using common NaCl API. Simplify the munging unit tests to follow the new NaCl utilities for munging tests. Note that this CL takes advantage of changes added by CL https://codereview.chromium.org/1140153004 BUG=None R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=cbb1d3d73045a8c2a91d0c66c438fd5d8cdd9473

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -103 lines) Patch
M Makefile.standalone View 1 chunk +1 line, -0 lines 0 comments Download
M unittest/BitcodeMunge.h View 1 chunk +3 lines, -3 lines 0 comments Download
M unittest/BitcodeMunge.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M unittest/IceParseInstsTest.cpp View 1 17 chunks +52 lines, -96 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Karl
5 years, 6 months ago (2015-06-04 20:32:02 UTC) #2
Jim Stichnoth
LGTM. I assume there is a matching LLVM CL that this needs to be atomically ...
5 years, 6 months ago (2015-06-04 22:20:57 UTC) #3
Karl
Committed patchset #2 (id:20001) manually as cbb1d3d73045a8c2a91d0c66c438fd5d8cdd9473 (tree was closed).
5 years, 6 months ago (2015-06-08 16:25:21 UTC) #4
Karl
5 years, 6 months ago (2015-06-08 16:25:40 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/1149423011/diff/1/unittest/BitcodeMunge.cpp
File unittest/BitcodeMunge.cpp (right):

https://codereview.chromium.org/1149423011/diff/1/unittest/BitcodeMunge.cpp#n...
unittest/BitcodeMunge.cpp:42: Translator.translateBuffer("Test",
MungedInput.get());
On 2015/06/04 22:20:57, stichnot wrote:
> Maybe "document" the constant string argument using something like:
>   const char *TestName = "Test";

Done.

https://codereview.chromium.org/1149423011/diff/1/unittest/IceParseInstsTest.cpp
File unittest/IceParseInstsTest.cpp (right):

https://codereview.chromium.org/1149423011/diff/1/unittest/IceParseInstsTest....
unittest/IceParseInstsTest.cpp:339: 
On 2015/06/04 22:20:57, stichnot wrote:
> This new blank line seems out of character. :)

Done.

Powered by Google App Engine
This is Rietveld 408576698