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

Issue 7458012: Create a "no compile" drivers script in python to unittest compile time asserts. (Closed)

Created:
9 years, 5 months ago by awong
Modified:
9 years, 3 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Create a "no compile" drivers script in python to unittest compile time asserts. BUG=87341 TEST=enable some of the existing no-compile tests and run on try bots. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100564

Patch Set 1 #

Patch Set 2 : Stub-out nocompile.gypi as informal design proposal. #

Patch Set 3 : working no-compile tests. #

Patch Set 4 : increase timeouts #

Total comments: 90

Patch Set 5 : twiddle with timeouts more. #

Patch Set 6 : stupid errors #

Patch Set 7 : Address Ami's comments and don't busyloop. #

Total comments: 27

Patch Set 8 : Address Ami's comments, add more stats, and fill in unittests. #

Total comments: 4

Patch Set 9 : address last 2 comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+801 lines, -102 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M base/bind_unittest.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -102 lines 0 comments Download
A base/bind_unittest.nc View 1 2 3 4 5 6 7 8 1 chunk +223 lines, -0 lines 0 comments Download
A build/nocompile.gypi View 1 2 3 4 5 6 7 1 chunk +94 lines, -0 lines 0 comments Download
A tools/nocompile_driver.py View 1 2 3 4 5 6 7 1 chunk +472 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
awong
Hey guys, Here's a proposal for a negative compile test driver. The idea would be ...
9 years, 5 months ago (2011-07-20 03:44:24 UTC) #1
Mark Mentovai
Do you have locations where you plan on using this?
9 years, 4 months ago (2011-07-28 03:05:03 UTC) #2
awong
Yes. Bind-unttests.cc has a bunch of compiled out "Don't allow this to compile " lines. ...
9 years, 4 months ago (2011-07-28 03:09:20 UTC) #3
Mark Mentovai
That was my next question…
9 years, 4 months ago (2011-07-28 03:13:23 UTC) #4
awong
On Wed, Jul 27, 2011 at 8:13 PM, <mark@chromium.org> wrote: > That was my next ...
9 years, 4 months ago (2011-07-28 03:47:53 UTC) #5
awong
Added a nocompile.gypi with outlines how I think this could get integrated into the build.
9 years, 4 months ago (2011-08-24 19:02:23 UTC) #6
awong
PTAL
9 years, 3 months ago (2011-08-31 02:33:28 UTC) #7
willchan no longer on Chromium
Leaving Dubai now. Will review when I land in SF. On Aug 31, 2011 6:33 ...
9 years, 3 months ago (2011-08-31 03:40:19 UTC) #8
awong
Ami's offered to look at the python script. Will try to find a good Gyp ...
9 years, 3 months ago (2011-08-31 18:40:09 UTC) #9
Ami GONE FROM CHROMIUM
Lots of nits. Overall I like it! http://codereview.chromium.org/7458012/diff/16001/tools/nocompile_driver.py File tools/nocompile_driver.py (right): http://codereview.chromium.org/7458012/diff/16001/tools/nocompile_driver.py#newcode10 tools/nocompile_driver.py:10: invoke gcc ...
9 years, 3 months ago (2011-08-31 21:50:18 UTC) #10
willchan no longer on Chromium
Thanks Ami. I guess I won't have to review this now.
9 years, 3 months ago (2011-09-01 21:09:40 UTC) #11
awong
TAL s'il vous plaît. I think I got rid of the busy loop. But the ...
9 years, 3 months ago (2011-09-08 02:46:16 UTC) #12
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/7458012/diff/16001/tools/nocompile_driver.py File tools/nocompile_driver.py (right): http://codereview.chromium.org/7458012/diff/16001/tools/nocompile_driver.py#newcode23 tools/nocompile_driver.py:23: class ArgumentValidationException(Exception): > http://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Naming#Naming I'm not sure what you're ...
9 years, 3 months ago (2011-09-08 18:30:20 UTC) #13
awong
PTAL Still trying to work out slow compile issue. http://codereview.chromium.org/7458012/diff/16001/tools/nocompile_driver.py File tools/nocompile_driver.py (right): http://codereview.chromium.org/7458012/diff/16001/tools/nocompile_driver.py#newcode23 tools/nocompile_driver.py:23: ...
9 years, 3 months ago (2011-09-09 01:01:43 UTC) #14
Ami GONE FROM CHROMIUM
LGTM A pleasure doing business! http://codereview.chromium.org/7458012/diff/24001/tools/nocompile_driver.py File tools/nocompile_driver.py (right): http://codereview.chromium.org/7458012/diff/24001/tools/nocompile_driver.py#newcode13 tools/nocompile_driver.py:13: https://sites.google.com/a/chromium.org/dev/developers/testing/no-compile-tests On 2011/09/09 01:01:43, ...
9 years, 3 months ago (2011-09-09 17:17:12 UTC) #15
awong
http://codereview.chromium.org/7458012/diff/34007/base/bind_unittest.nc File base/bind_unittest.nc (right): http://codereview.chromium.org/7458012/diff/34007/base/bind_unittest.nc#newcode10 base/bind_unittest.nc:10: // Keep all the test declarations outside of an ...
9 years, 3 months ago (2011-09-09 18:56:31 UTC) #16
Evan Martin
9 years, 3 months ago (2011-09-09 21:51:45 UTC) #17
gypi LGTM

Powered by Google App Engine
This is Rietveld 408576698