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

Issue 14103003: Remove use of Expect from test scripts and idlparser_test. (Closed)

Created:
7 years, 8 months ago by Bill Hesse
Modified:
7 years, 8 months ago
Reviewers:
Ivan Posva, kustermann
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove use of Expect from test scripts and idlparser_test. BUG= Committed: https://code.google.com/p/dart/source/detail?r=21287

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make the test scripts run in checked mode. #

Patch Set 3 : Run test scripts in checked mode. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -25 lines) Patch
M tools/dom/scripts/idlparser_test.dart View 1 chunk +3 lines, -1 line 0 comments Download
M tools/test.py View 1 2 1 chunk +1 line, -1 line 1 comment Download
M tools/testing/dart/multitest.dart View 2 4 chunks +10 lines, -7 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 14 chunks +21 lines, -16 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Bill Hesse
7 years, 8 months ago (2013-04-11 10:57:47 UTC) #1
kustermann
lgtm in general. But I'd feel much more comfortable if we would enable these checks ...
7 years, 8 months ago (2013-04-11 11:51:14 UTC) #2
Bill Hesse
PTAL. I added --checked to test.py. https://codereview.chromium.org/14103003/diff/1/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/14103003/diff/1/tools/testing/dart/test_suite.dart#newcode1016 tools/testing/dart/test_suite.dart:1016: assert(runtime == "drt"); ...
7 years, 8 months ago (2013-04-11 12:46:48 UTC) #3
kustermann
lgtm
7 years, 8 months ago (2013-04-11 15:02:59 UTC) #4
Bill Hesse
Committed patchset #3 manually as r21287 (presubmit successful).
7 years, 8 months ago (2013-04-11 15:54:05 UTC) #5
Ivan Posva
DBC -Ivan https://codereview.chromium.org/14103003/diff/6005/tools/test.py File tools/test.py (right): https://codereview.chromium.org/14103003/diff/6005/tools/test.py#newcode22 tools/test.py:22: command = [utils.DartBinary(), '--checked', dart_test_script] + args ...
7 years, 8 months ago (2013-04-11 16:37:47 UTC) #6
kustermann
7 years, 8 months ago (2013-04-11 16:41:38 UTC) #7
Message was sent while issue was closed.
> Do you really want to run the test script in checked mode ALL of the time?
What
> is the performance impact on cycle times?

We'll see that soon. If it is significant I'll revert the change.

The thing that is important to me is that we still run these checks (whether we
use Expect or assert).

Powered by Google App Engine
This is Rietveld 408576698