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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 2200683002: Add --hot-reload-rollback test mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index 5dfbd393c5bae9e6787bacfbaef2ee0db30ea143..2c4b54102a06c1324a17eaef27b04e122e5a7a25 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -300,7 +300,7 @@ abstract class TestSuite {
return;
}
- if (configuration['hot_reload']) {
+ if (configuration['hot_reload'] || configuration['hot_reload_rollback']) {
// Handle reload special cases.
if (expectations.contains(Expectation.COMPILETIME_ERROR)) {
// Running a test that expects a compilation error with hot reloading
@@ -850,7 +850,8 @@ class StandardTestSuite extends TestSuite {
buildDir,
suiteDir,
createTestCase,
- configuration['hot_reload']));
+ (configuration['hot_reload'] ||
+ configuration['hot_reload_rollback'])));
} else {
createTestCase(filePath, filePath, optionsFromFile['hasCompileError'],
optionsFromFile['hasRuntimeError'],
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698