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

Issue 8496009: Add a leg_only test suite, and make sure to run it in our presubmit script. (Closed)

Created:
9 years, 1 month ago by ngeoffray
Modified:
9 years, 1 month ago
Reviewers:
kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a leg_only test suite, and make sure to run it in our presubmit script. Committed: https://code.google.com/p/dart/source/detail?r=1303

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -138 lines) Patch
D frog/leg/tests/12.dart View 1 chunk +0 lines, -7 lines 0 comments Download
D frog/leg/tests/3.dart View 1 chunk +0 lines, -7 lines 0 comments Download
D frog/leg/tests/33.dart View 1 chunk +0 lines, -7 lines 0 comments Download
D frog/leg/tests/43.dart View 1 chunk +0 lines, -7 lines 0 comments Download
D frog/leg/tests/7.dart View 1 chunk +0 lines, -7 lines 0 comments Download
D frog/leg/tests/empty_method.dart View 1 chunk +0 lines, -6 lines 0 comments Download
D frog/leg/tests/foo7.dart View 1 chunk +0 lines, -11 lines 0 comments Download
D frog/leg/tests/literals.dart View 1 chunk +0 lines, -11 lines 0 comments Download
D frog/leg/tests/locals.dart View 1 chunk +0 lines, -13 lines 0 comments Download
D frog/leg/tests/statements.dart View 1 chunk +0 lines, -20 lines 0 comments Download
D frog/leg/tests/typed_locals.dart View 1 chunk +0 lines, -9 lines 0 comments Download
M frog/presubmit.py View 1 1 chunk +2 lines, -22 lines 0 comments Download
A + frog/tests/leg_only/leg_only.status View 1 1 chunk +5 lines, -3 lines 2 comments Download
A + frog/tests/leg_only/src/12Test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + frog/tests/leg_only/src/33Test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + frog/tests/leg_only/src/3Test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + frog/tests/leg_only/src/43Test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + frog/tests/leg_only/src/7Test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + frog/tests/leg_only/src/EmptyMethodTest.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + frog/tests/leg_only/src/EmptyNegativeTest.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + frog/tests/leg_only/src/Foo7Test.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + frog/tests/leg_only/src/LiteralsTest.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + frog/tests/leg_only/src/LocalsTest.dart View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + frog/tests/leg_only/src/StatementsTest.dart View 1 2 chunks +0 lines, -2 lines 0 comments Download
A + frog/tests/leg_only/src/TypedLocalsTest.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
A + frog/tests/leg_only/testcfg.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M tools/test.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M tools/testing/test_case.py View 1 1 chunk +3 lines, -2 lines 0 comments Download
M tools/testing/test_configuration.py View 1 3 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ngeoffray
9 years, 1 month ago (2011-11-08 11:14:08 UTC) #1
kasperl
LGTM. http://codereview.chromium.org/8496009/diff/1/frog/presubmit.py File frog/presubmit.py (right): http://codereview.chromium.org/8496009/diff/1/frog/presubmit.py#newcode86 frog/presubmit.py:86: test_cmd.extend(['language', 'corelib', 'leg', 'isolate', 'peg', 'leg_only']) Long line.
9 years, 1 month ago (2011-11-08 11:34:13 UTC) #2
kasperl
http://codereview.chromium.org/8496009/diff/1/frog/tests/leg_only/leg_only.status File frog/tests/leg_only/leg_only.status (right): http://codereview.chromium.org/8496009/diff/1/frog/tests/leg_only/leg_only.status#newcode5 frog/tests/leg_only/leg_only.status:5: prefix leg Should this be leg_only? I guess so. ...
9 years, 1 month ago (2011-11-08 11:41:09 UTC) #3
ngeoffray
Thanks! http://codereview.chromium.org/8496009/diff/1/frog/presubmit.py File frog/presubmit.py (right): http://codereview.chromium.org/8496009/diff/1/frog/presubmit.py#newcode86 frog/presubmit.py:86: test_cmd.extend(['language', 'corelib', 'leg', 'isolate', 'peg', 'leg_only']) On 2011/11/08 ...
9 years, 1 month ago (2011-11-08 11:46:11 UTC) #4
ngeoffray
PTAL, I had to make test.py to be more flexible with flags. The previous solution ...
9 years, 1 month ago (2011-11-08 12:12:22 UTC) #5
kasperl
LGTM. http://codereview.chromium.org/8496009/diff/1028/frog/tests/leg_only/leg_only.status File frog/tests/leg_only/leg_only.status (right): http://codereview.chromium.org/8496009/diff/1028/frog/tests/leg_only/leg_only.status#newcode7 frog/tests/leg_only/leg_only.status:7: [ $component == leg || $component == frog ...
9 years, 1 month ago (2011-11-08 12:21:34 UTC) #6
ngeoffray
9 years, 1 month ago (2011-11-08 12:28:11 UTC) #7
http://codereview.chromium.org/8496009/diff/1028/frog/tests/leg_only/leg_only...
File frog/tests/leg_only/leg_only.status (right):

http://codereview.chromium.org/8496009/diff/1028/frog/tests/leg_only/leg_only...
frog/tests/leg_only/leg_only.status:7: [ $component == leg || $component == frog
|| $component == frogsh ]
On 2011/11/08 12:21:34, kasperl wrote:
> Are these really supposed to fail when running with frog/frogsh? Somehow that
> seems strange to me.

That's because the test suite adds leg_only, so frog and frogs will also fail.

I don't want to make leg leg_only, as it will not help us find errors when we
should bail out.

I don't want to make frog and frogsh enable_leg by default, because this would
affect frog developers.

So having the status file this way was the best option for me.

Powered by Google App Engine
This is Rietveld 408576698