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

Issue 8539019: Test NaCl version of ppapi_tests via ui_tests (Closed)

Created:
9 years, 1 month ago by noelallen1
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Test NaCl version of ppapi_tests via ui_tests Copy server pieces to build output dir. Update ppapi_uitests.cc to run server from output dir. Add test to ppapi_uitests, update dependecies. Update test_sever to support a fully qualified path. BUG= http://code.google.com/p/chromium/issues/detail?id=96782 BUG= http://code.google.com/p/chromium/issues/detail?id=103690 TEST= try (ui_tests --gtest_filter="PPAPI*.*") Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110221

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Total comments: 16

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -32 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/test/ui/ppapi_uitest.cc View 1 2 3 4 13 chunks +81 lines, -26 lines 0 comments Download
M net/test/test_server.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M ppapi/native_client/tests/ppapi_tests/test_case.nmf View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 3 4 1 chunk +92 lines, -0 lines 0 comments Download
M ppapi/tests/test_url_loader.cc View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
bradn
http://codereview.chromium.org/8539019/diff/1/ppapi/tests/test_url_loader.cc File ppapi/tests/test_url_loader.cc (right): http://codereview.chromium.org/8539019/diff/1/ppapi/tests/test_url_loader.cc#newcode90 ppapi/tests/test_url_loader.cc:90: // RUN_TEST_FORCEASYNC_AND_NOT(SameOriginRestriction); Why are these disabled?
9 years, 1 month ago (2011-11-11 19:43:20 UTC) #1
dmichael (off chromium)
some nits, LGTM (Assuming you're going to work on diagnosing/re-enabling those tests you had to ...
9 years, 1 month ago (2011-11-11 23:20:18 UTC) #2
Paweł Hajdan Jr.
http://codereview.chromium.org/8539019/diff/9/chrome/test/ui/ppapi_uitest.cc File chrome/test/ui/ppapi_uitest.cc (right): http://codereview.chromium.org/8539019/diff/9/chrome/test/ui/ppapi_uitest.cc#newcode30 chrome/test/ui/ppapi_uitest.cc:30: const char nacl_library_name[] = "libppGoogleNaClPluginChrome.so"; Isn't this duplicating kInternalNaClPluginFileName ...
9 years, 1 month ago (2011-11-14 12:31:05 UTC) #3
noelallen1
Also, fix manifest for 32 Bit. http://codereview.chromium.org/8539019/diff/9/chrome/test/ui/ppapi_uitest.cc File chrome/test/ui/ppapi_uitest.cc (right): http://codereview.chromium.org/8539019/diff/9/chrome/test/ui/ppapi_uitest.cc#newcode30 chrome/test/ui/ppapi_uitest.cc:30: const char nacl_library_name[] ...
9 years, 1 month ago (2011-11-14 22:28:17 UTC) #4
Paweł Hajdan Jr.
http://codereview.chromium.org/8539019/diff/9/net/test/test_server.cc File net/test/test_server.cc (right): http://codereview.chromium.org/8539019/diff/9/net/test/test_server.cc#newcode281 net/test/test_server.cc:281: } On 2011/11/14 22:28:17, noelallen1 wrote: > I don't ...
9 years, 1 month ago (2011-11-15 20:02:14 UTC) #5
noelallen1
I still disagree. I appreciate what you are trying to do, but having me go ...
9 years, 1 month ago (2011-11-15 20:57:57 UTC) #6
rvargas (doing something else)
LGTM for net. http://codereview.chromium.org/8539019/diff/5002/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/8539019/diff/5002/chrome/chrome_tests.gypi#newcode804 chrome/chrome_tests.gypi:804: '../ppapi/tests//test_url_loader_data/hello.txt', nit: double '/'
9 years, 1 month ago (2011-11-15 23:26:18 UTC) #7
rvargas (doing something else)
http://codereview.chromium.org/8539019/diff/9/net/test/test_server.cc File net/test/test_server.cc (right): http://codereview.chromium.org/8539019/diff/9/net/test/test_server.cc#newcode281 net/test/test_server.cc:281: } I'm sorry, I only read these comments after ...
9 years, 1 month ago (2011-11-15 23:50:21 UTC) #8
noelallen1
http://codereview.chromium.org/8539019/diff/5002/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/8539019/diff/5002/chrome/chrome_tests.gypi#newcode804 chrome/chrome_tests.gypi:804: '../ppapi/tests//test_url_loader_data/hello.txt', On 2011/11/15 23:26:18, rvargas wrote: > nit: double ...
9 years, 1 month ago (2011-11-16 00:18:22 UTC) #9
James Hawkins
I believe this commit caused regression across the board on the memory waterfall. See http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20Tests%20%28valgrind%29%281%29/builds/4981 ...
9 years, 1 month ago (2011-11-16 06:14:33 UTC) #10
Paweł Hajdan Jr.
http://codereview.chromium.org/8539019/diff/9/net/test/test_server.cc File net/test/test_server.cc (right): http://codereview.chromium.org/8539019/diff/9/net/test/test_server.cc#newcode281 net/test/test_server.cc:281: } On 2011/11/15 23:50:21, rvargas wrote: > I'm sorry, ...
9 years, 1 month ago (2011-11-16 08:57:17 UTC) #11
dmichael (off chromium)
Noel, w.r.t. the tests failing on the valgrind bots, many (most?) of the corresponding PPAPI ...
9 years, 1 month ago (2011-11-16 16:30:44 UTC) #12
dmichael (off chromium)
9 years, 1 month ago (2011-11-16 17:49:48 UTC) #13
FYI: This is reverted as of r110310

On Wed, Nov 16, 2011 at 9:30 AM, David Michael <dmichael@chromium.org>wrote:

> Noel,
> w.r.t. the tests failing on the valgrind bots, many (most?) of the
> corresponding PPAPI tests are disabled for the valgrind bots. We should
> eventually look at fixing them, but for now, I think it would be best to
> disable the NaCl versions of any PPAPI tests that are disabled (and maybe
> more, if others are failing).
>
> See tools/valgrind/gtest_exclude/ui_tests.gtest*
>
> w.r.t. absolute paths, I admittedly don't really know the ins and outs of
> the problem. But after reading this debate, my intuition is that allowing
> absolute paths is an invitation for flakiness. It seems like any tests that
> use absolute paths will be more fragile in the face of things like changing
> bot configurations, etc. It happens that your CL makes sure the path is
> still right, but the next person who comes along and uses an absolute path
> might not do it right.
>
> I think given the issue with the tests and the still controversial path,
> it's probably best to revert. I'll go ahead and do that (sorry, Noel).
> -Dave
>
> On Wed, Nov 16, 2011 at 1:57 AM, <phajdan.jr@chromium.org> wrote:
>
>>
>>
http://codereview.chromium.**org/8539019/diff/9/net/test/**test_server.cc<htt...
>> File net/test/test_server.cc (right):
>>
>> http://codereview.chromium.**org/8539019/diff/9/net/test/**
>>
test_server.cc#newcode281<http://codereview.chromium.org/8539019/diff/9/net/test/test_server.cc#newcode281>
>> net/test/test_server.cc:281: }
>> On 2011/11/15 23:50:21, rvargas wrote:
>>
>>> I'm sorry, I only read these comments after my previous reply, so my
>>>
>> answer was
>>
>>> not intended as an override for this discussion.
>>>
>>
>> Thanks. By the way, I'm annoyed this change was committed with my
>> objections still in place. I'm really _tired_ of keeping things sane
>> while people break them.
>>
>>
>>  Personally I find it a little annoying that this tool is picky about
>>>
>> the type of
>>
>>> argument it accepts, so my first reaction was "great, we are adding
>>>
>> more
>>
>>> flexibility here".
>>>
>>
>> I'm fine with absolute paths. My point here is about consistency and
>> least surprise. More on that below.
>>
>>
>>  That said, I have not dealt personally with some of the
>>> issues related to the test server being stuck and the random test
>>>
>> failures that
>>
>>> we've had in the past 'cause of it, so I don't know for sure if adding
>>> restrictions is the way to reduce problems in the future.
>>>
>>
>> Right, a lot of problems here have been gone, thanks to great work of
>> David Benjamin and other people. I mostly focused on making the public
>> interface simple, predictable, and hard to misuse (the previous one was
>> just an _invitation_ for crashes, and tests were indeed crashing).
>>
>> So the "quality" of the interface translates indirectly to stability of
>> the tests using it.
>>
>>
>>  Pawel, could you expand a little about you think may happen if we do
>>>
>> this part
>>
>>> of the change? Isn't the case that providing the "wrong" kind of path
>>>
>> will just
>>
>>> cause a new test to fail all the time?
>>>
>>
>> Yeah, any failures resulting from this would be deterministic. That's
>> not my concern here at all. I think now the code using the new interface
>> with absolute paths mixed with paths relative to something that is not
>> necessarily current working directory is confusing and ugly.
>>
>> I used to revert changes that were committed without approval. This time
>> all I can say is "if you really want to break it, I can't stop you".
>> It's a small thing, but those small things accumulate.
>>
>>
http://codereview.chromium.**org/8539019/<http://codereview.chromium.org/8539...
>>
>
>

Powered by Google App Engine
This is Rietveld 408576698