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

Side by Side Diff: tools/testing/dart/test_suite.dart

Issue 2641433002: Support tests using VMOptions also with kernel (Closed)
Patch Set: More fixes Created 3 years, 11 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 | « tools/testing/dart/compiler_configuration.dart ('k') | no next file » | 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 /** 5 /**
6 * Classes and methods for enumerating and preparing tests. 6 * Classes and methods for enumerating and preparing tests.
7 * 7 *
8 * This library includes: 8 * This library includes:
9 * 9 *
10 * - Creating tests by listing all the Dart files in certain directories, 10 * - Creating tests by listing all the Dart files in certain directories,
(...skipping 1811 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 "otherScripts": const [], 1822 "otherScripts": const [],
1823 "isMultitest": false, 1823 "isMultitest": false,
1824 "isMultiHtmlTest": false, 1824 "isMultiHtmlTest": false,
1825 "subtestNames": const [], 1825 "subtestNames": const [],
1826 "isolateStubs": '', 1826 "isolateStubs": '',
1827 "containsDomImport": false, 1827 "containsDomImport": false,
1828 }; 1828 };
1829 } 1829 }
1830 1830
1831 List<List<String>> getVmOptions(Map optionsFromFile) { 1831 List<List<String>> getVmOptions(Map optionsFromFile) {
1832 var COMPILERS = const ['none', 'precompiler', 'app_jit']; 1832 var COMPILERS = const ['none', 'dartk', 'dartkp', 'precompiler', 'app_jit'];
1833 var RUNTIMES = const [ 1833 var RUNTIMES = const [
1834 'none', 1834 'none',
1835 'dart_precompiled', 1835 'dart_precompiled',
1836 'vm', 1836 'vm',
1837 'drt', 1837 'drt',
1838 'dartium', 1838 'dartium',
1839 'ContentShellOnAndroid', 1839 'ContentShellOnAndroid',
1840 'DartiumOnAndroid' 1840 'DartiumOnAndroid'
1841 ]; 1841 ];
1842 var needsVmOptions = COMPILERS.contains(configuration['compiler']) && 1842 var needsVmOptions = COMPILERS.contains(configuration['compiler']) &&
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
2530 } 2530 }
2531 if (path.length > WINDOWS_SHORTEN_PATH_LIMIT) { 2531 if (path.length > WINDOWS_SHORTEN_PATH_LIMIT) {
2532 ++shortNameCounter; 2532 ++shortNameCounter;
2533 var pathEnd = path.substring(path.length - WINDOWS_PATH_END_LENGTH); 2533 var pathEnd = path.substring(path.length - WINDOWS_PATH_END_LENGTH);
2534 path = "short${shortNameCounter}_$pathEnd"; 2534 path = "short${shortNameCounter}_$pathEnd";
2535 } 2535 }
2536 } 2536 }
2537 return path; 2537 return path;
2538 } 2538 }
2539 } 2539 }
OLDNEW
« no previous file with comments | « tools/testing/dart/compiler_configuration.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698