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

Side by Side Diff: runtime/tests/vm/dart/byte_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
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 --disable_alloc_stubs_after_gc 4 // VMOptions=--optimization_counter_threshold=10 --disable_alloc_stubs_after_gc --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 class ByteArrayTest { 12 class ByteArrayTest {
13 static testInt8ListImpl(Int8List array) { 13 static testInt8ListImpl(Int8List array) {
14 Expect.isTrue(array is List<int>); 14 Expect.isTrue(array is List<int>);
(...skipping 2363 matching lines...) Expand 10 before | Expand all | Expand 10 after
2378 2378
2379 testByteList(); 2379 testByteList();
2380 } 2380 }
2381 } 2381 }
2382 2382
2383 main() { 2383 main() {
2384 for (var i=0; i<20; i++) { 2384 for (var i=0; i<20; i++) {
2385 ByteArrayTest.testMain(); 2385 ByteArrayTest.testMain();
2386 } 2386 }
2387 } 2387 }
OLDNEW
« no previous file with comments | « runtime/tests/vm/dart/byte_array_optimized_test.dart ('k') | runtime/tests/vm/dart/inline_stack_frame_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698