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

Issue 18639: Have gcl report when unit tests are (or might be) missing from a change.... (Closed)

Created:
11 years, 11 months ago by Pam (message me for reviews)
Modified:
9 years, 5 months ago
Reviewers:
jam
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Have gcl report when unit tests are (or might be) missing from a change. It's a very rough guess now, and will probably need some refinement as we see what it misses and where its false positives are too annoying. Protect against side effects from cwd changes. BUG=6056 TEST=try creating or uploading a change with a new .cpp file and no unit-test changes

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+826 lines, -70 lines) Patch
M development/release/linux/gcl.py View 17 chunks +118 lines, -10 lines 0 comments Download
M development/release/mac/gcl.py View 17 chunks +118 lines, -10 lines 0 comments Download
M development/release/win/gcl.py View 17 chunks +118 lines, -10 lines 0 comments Download
M release/linux/gcl.py View 17 chunks +118 lines, -10 lines 0 comments Download
M release/mac/gcl.py View 17 chunks +118 lines, -10 lines 0 comments Download
M release/win/gcl.py View 17 chunks +118 lines, -10 lines 0 comments Download
M src/release/gcl.py View 1 2 3 17 chunks +118 lines, -10 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Pam (message me for reviews)
New patch, this time over in src/release/, with better handling of the current directory.
11 years, 11 months ago (2009-01-22 00:03:33 UTC) #1
Pam (message me for reviews)
New patch up. Thanks, - Pam
11 years, 11 months ago (2009-01-22 00:51:31 UTC) #2
jam
lgtm http://codereview.chromium.org/18639/diff/206/207 File src/release/gcl.py (right): http://codereview.chromium.org/18639/diff/206/207#newcode202 Line 202: def _NonDeletedFileList(self): I'm not that familiar with ...
11 years, 11 months ago (2009-01-22 00:57:26 UTC) #3
jam
oh also before checking in run scons to update the other 6 files..
11 years, 11 months ago (2009-01-22 00:57:49 UTC) #4
Pam (message me for reviews)
11 years, 11 months ago (2009-01-22 01:14:58 UTC) #5
New patch includes the other 5 files too.

http://codereview.chromium.org/18639/diff/206/207
File src/release/gcl.py (right):

http://codereview.chromium.org/18639/diff/206/207#newcode202
Line 202: def _NonDeletedFileList(self):
On 2009/01/22 00:57:26, John Abd-El-Malek wrote:
> I'm not that familiar with the python style guide, why is there an underscore
> here?  If this is for member functions (or just ones with no side effect),
> shouldn't FileList have it too?

It's for "private" member functions. FileList is called from outside the class.
Probably some of the other methods ought to be marked private too, but I felt
that was outside the scope of this change.

Powered by Google App Engine
This is Rietveld 408576698