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

Issue 9086008: Add python wrapper for test.dart. (Closed)

Created:
8 years, 11 months ago by Mads Ager (google)
Modified:
8 years, 11 months ago
Reviewers:
Bill Hesse, ahe
CC:
reviews_dartlang.org, ahe
Visibility:
Public.

Description

Add python wrapper for test.dart. Use test.dart (through the wrapper) for all frog testing both for developers and on the buildbot. Will commit this once the frogium tests have been fixed to be runable from the frog directory. R=whesse@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=3026

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add copyright notice. #

Patch Set 3 : Long line #

Total comments: 7

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -4 lines) Patch
M frog/presubmit.py View 1 chunk +1 line, -1 line 0 comments Download
M frog/scripts/buildbot_annotated_steps.py View 1 chunk +1 line, -1 line 0 comments Download
A tools/test_wrapper.py View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 2 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mads Ager (google)
8 years, 11 months ago (2012-01-04 15:04:57 UTC) #1
Bill Hesse
LGTM. The long line is fixed, I see. http://codereview.chromium.org/9086008/diff/1/tools/test_wrapper.py File tools/test_wrapper.py (right): http://codereview.chromium.org/9086008/diff/1/tools/test_wrapper.py#newcode24 tools/test_wrapper.py:24: args ...
8 years, 11 months ago (2012-01-04 15:11:08 UTC) #2
ahe
LGTM! http://codereview.chromium.org/9086008/diff/3001/tools/test_wrapper.py File tools/test_wrapper.py (right): http://codereview.chromium.org/9086008/diff/3001/tools/test_wrapper.py#newcode13 tools/test_wrapper.py:13: def GuessOS(): Any reason for not importing this ...
8 years, 11 months ago (2012-01-04 15:38:40 UTC) #3
Mads Ager (google)
http://codereview.chromium.org/9086008/diff/3001/tools/test_wrapper.py File tools/test_wrapper.py (right): http://codereview.chromium.org/9086008/diff/3001/tools/test_wrapper.py#newcode13 tools/test_wrapper.py:13: def GuessOS(): On 2012/01/04 15:38:40, ahe wrote: > Any ...
8 years, 11 months ago (2012-01-05 14:15:42 UTC) #4
ahe
8 years, 11 months ago (2012-01-05 14:19:52 UTC) #5
http://codereview.chromium.org/9086008/diff/3001/tools/test_wrapper.py
File tools/test_wrapper.py (right):

http://codereview.chromium.org/9086008/diff/3001/tools/test_wrapper.py#newcode13
tools/test_wrapper.py:13: def GuessOS():
On 2012/01/05 14:15:45, Mads Ager wrote:
> On 2012/01/04 15:38:40, ahe wrote:
> > Any reason for not importing this from utils.py?
> 
> I had two reasons:
> 
> 1. I want to return 'windows' and not 'win32'.
> 2. I would like to get rid of as much python code as possible.
> 
> None of these are critical. I can just test for win32 explicitly and I
actually
> think it will be a while before we can get rid of utils.py in any case. Let's
> just import utils for now.

Thank you!

Powered by Google App Engine
This is Rietveld 408576698