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

Side by Side Diff: tests/standalone/float_array_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 | « tests/standalone/double_smi_comparison_test.dart ('k') | tests/standalone/int_list_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 // 4 //
5 // Dart test program for testing native float arrays. 5 // Dart test program for testing native float arrays.
6 6
7 // VMOptions=--optimization_counter_threshold=10 7 // VMOptions=--optimization_counter_threshold=10 --no-background_compilation
8 8
9 // Library tag to be able to run in html test framework. 9 // Library tag to be able to run in html test framework.
10 library FloatArrayTest; 10 library FloatArrayTest;
11 11
12 import "package:expect/expect.dart"; 12 import "package:expect/expect.dart";
13 import 'dart:typed_data'; 13 import 'dart:typed_data';
14 14
15 void testCreateFloat32Array() { 15 void testCreateFloat32Array() {
16 Float32List floatArray; 16 Float32List floatArray;
17 17
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 testBadValues32(); 220 testBadValues32();
221 testBadValues64(); 221 testBadValues64();
222 // Check optimized (inlined) version of []= 222 // Check optimized (inlined) version of []=
223 Expect.throws(() { 223 Expect.throws(() {
224 storeIt32(a32, 1, 2); 224 storeIt32(a32, 1, 2);
225 }); 225 });
226 Expect.throws(() { 226 Expect.throws(() {
227 storeIt64(a64, 1, 2); 227 storeIt64(a64, 1, 2);
228 }); 228 });
229 } 229 }
OLDNEW
« no previous file with comments | « tests/standalone/double_smi_comparison_test.dart ('k') | tests/standalone/int_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698