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

Side by Side Diff: runtime/tests/vm/dart/byte_array_optimized_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, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | runtime/tests/vm/dart/byte_array_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // VMOptions=--optimization_counter_threshold=10 4 // VMOptions=--optimization_counter_threshold=10 --no-background-compilation
5 5
6 // Library tag to be able to run in html test framework. 6 // Library tag to be able to run in html test framework.
7 library byte_array_test; 7 library byte_array_test;
8 8
9 import "package:expect/expect.dart"; 9 import "package:expect/expect.dart";
10 import 'dart:typed_data'; 10 import 'dart:typed_data';
11 11
12 // This test exercises optimized [] and []= operators 12 // This test exercises optimized [] and []= operators
13 // on byte array views. 13 // on byte array views.
14 class OptimizedByteArrayTest { 14 class OptimizedByteArrayTest {
(...skipping 2112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2127 testFloat32ListView(); 2127 testFloat32ListView();
2128 testFloat64ListView(); 2128 testFloat64ListView();
2129 } 2129 }
2130 } 2130 }
2131 2131
2132 main() { 2132 main() {
2133 for (var i=0; i<20; i++) { 2133 for (var i=0; i<20; i++) {
2134 OptimizedByteArrayTest.testMain(); 2134 OptimizedByteArrayTest.testMain();
2135 } 2135 }
2136 } 2136 }
OLDNEW
« no previous file with comments | « no previous file | runtime/tests/vm/dart/byte_array_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698