| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |