DescriptionAdded 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 #Messages
Total messages: 14 (6 generated)
|