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

Unified Diff: runtime/tests/vm/dart/inline_stack_frame_test.dart

Issue 14651005: Enable all vm tests on simarm (skip 2 timing out byte array tests). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 | « no previous file | runtime/tests/vm/vm.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tests/vm/dart/inline_stack_frame_test.dart
===================================================================
--- runtime/tests/vm/dart/inline_stack_frame_test.dart (revision 22278)
+++ runtime/tests/vm/dart/inline_stack_frame_test.dart (working copy)
@@ -2,6 +2,8 @@
// 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.
+// VMOptions=--optimization_counter_threshold=10
+
import "package:expect/expect.dart";
// This test tries to verify that we produce the correct stack trace when
@@ -50,7 +52,7 @@
return result;
}
int func5(var i) {
- if (i >= 1030) throw "show me inlined functions";
+ if (i >= 520) throw "show me inlined functions";
return i;
}
}
@@ -64,7 +66,7 @@
Expect.isTrue(result.contains("Test.func3"));
Expect.isTrue(result.contains("Test.func4"));
Expect.isTrue(result.contains("Test.func"));
- for (var i = 0; i <= 200; i++) {
+ for (var i = 0; i <= 10; i++) {
result = x.func1(i);
}
Expect.isTrue(result.contains("show me inlined functions"));
« no previous file with comments | « no previous file | runtime/tests/vm/vm.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698