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

Unified Diff: tests/language/guess_cid_test.dart

Issue 1759973002: Add --no-background-compilation to tests that expect to run code in optimized form (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: more Created 4 years, 10 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 | « tests/language/fast_method_extraction_test.dart ('k') | tests/language/identical_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/guess_cid_test.dart
diff --git a/tests/language/guess_cid_test.dart b/tests/language/guess_cid_test.dart
index 3759cb92423f3c644d62ef836210f5e6aed277b7..ea5629adedc826fc9be73bb5bf5d926a61ee3844 100644
--- a/tests/language/guess_cid_test.dart
+++ b/tests/language/guess_cid_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Dart test program to test cid guessing optimizations.
-// VMOptions=--optimization-counter-threshold=10
+// VMOptions=--optimization-counter-threshold=10 --no-background-compilation
import "package:expect/expect.dart";
@@ -17,17 +17,17 @@ main() {
Expect.equals(3, compareInt(3));
Expect.equals(-2, compareInt(-2));
Expect.equals(0, compareInt(-1));
-
+
Expect.equals(3, binOpInt(3, 3));
Expect.equals(0, binOpInt(-2, -2));
-
+
Expect.equals(3.0, binOpDouble(3.0, 3.0));
Expect.equals(0.0, binOpDouble(-2.0, -2.0));
-
+
Expect.equals(3.0, compareDouble(3.0));
Expect.equals(-2.0, compareDouble(-2.0));
Expect.equals(0.0, compareDouble(-1.0));
-
+
testOSR();
}
« no previous file with comments | « tests/language/fast_method_extraction_test.dart ('k') | tests/language/identical_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698