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

Issue 2982043002: Added presubmit checks for tests. (Closed)

Created:
3 years, 5 months ago by terry
Modified:
3 years, 5 months ago
Reviewers:
Bob Nystrom, Jacob
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Added checks for tests. PRESUBMIT will check: 1. a new test can NOT be added to Dart 1.0 the new test can only be added to DDC. 2. a existing Dart 1.0 test changed must have its corresponding DDC test updated too (if it exists). Presubmit errors may appear as: ** Presubmit ERRORS ** Error: If you change a Dart 1.0 test, you must also update the DDC test: 1. Dart 1.0 test changed: tests/corelib/symbol_map_helper.dart 1. DDC test must change: tests/corelib_2/symbol_map_helper.dart 2. Dart 1.0 test changed: tests/language/compiler_annotations.dart 2. DDC test must change: tests/language_2/compiler_annotations.dart R=jacobr@google.com, rnystrom@google.com Error: New Dart 1.0 test can not be added the test must be added as a DDC test: Fix tests: 1. New Dart 1.0 test: tests/corelib/new_test.dart 1. Should be DDC test: tests/corelib_2/new_test.dart 2. New Dart 1.0 test: tests/language/new_test.dart 2. Should be DDC test: tests/language_2/new_test.dart Committed: https://github.com/dart-lang/sdk/commit/0afa1428a112aad0bc06c1689591c88a30424dd5

Patch Set 1 #

Patch Set 2 : Added checks for tests. #

Total comments: 15

Patch Set 3 : Fixed CL suggestions #

Patch Set 4 : git rebase -i #

Patch Set 5 : Fixed CL suggestions #

Patch Set 6 : Fixed CL suggestions #

Patch Set 7 : Incorporated CL review comments. #

Patch Set 8 : Incorporated CL review comments. #

Patch Set 9 : Cleanup #

Patch Set 10 : Incorporated CL review comments. #

Patch Set 11 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -8 lines) Patch
M PRESUBMIT.py View 1 2 3 4 5 6 7 8 2 chunks +81 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
terry
3 years, 5 months ago (2017-07-17 13:27:28 UTC) #2
terry
3 years, 5 months ago (2017-07-17 20:02:25 UTC) #6
terry
3 years, 5 months ago (2017-07-17 20:03:12 UTC) #7
Jacob
looks nice! a few minor comments. https://codereview.chromium.org/2982043002/diff/20001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/2982043002/diff/20001/PRESUBMIT.py#newcode116 PRESUBMIT.py:116: for f in ...
3 years, 5 months ago (2017-07-17 20:16:34 UTC) #8
Bob Nystrom
https://codereview.chromium.org/2982043002/diff/20001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/2982043002/diff/20001/PRESUBMIT.py#newcode103 PRESUBMIT.py:103: # Dart 1 tests Dart 2.0 tests I would ...
3 years, 5 months ago (2017-07-17 20:38:24 UTC) #9
terry
PTAL https://codereview.chromium.org/2982043002/diff/20001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/2982043002/diff/20001/PRESUBMIT.py#newcode103 PRESUBMIT.py:103: # Dart 1 tests Dart 2.0 tests On ...
3 years, 5 months ago (2017-07-18 13:48:50 UTC) #11
Jacob
lgtm
3 years, 5 months ago (2017-07-18 15:00:42 UTC) #12
terry
3 years, 5 months ago (2017-07-18 15:20:50 UTC) #14
Message was sent while issue was closed.
Committed patchset #11 (id:190001) manually as
0afa1428a112aad0bc06c1689591c88a30424dd5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698