| 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 #library("test_suite"); | 5 #library("test_suite"); |
| 6 | 6 |
| 7 #import("dart:io"); | 7 #import("dart:io"); |
| 8 #import("status_file_parser.dart"); | 8 #import("status_file_parser.dart"); |
| 9 #import("test_runner.dart"); | 9 #import("test_runner.dart"); |
| 10 #import("multitest.dart"); | 10 #import("multitest.dart"); |
| (...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 } | 864 } |
| 865 } | 865 } |
| 866 | 866 |
| 867 void createTest(successIgnored) { | 867 void createTest(successIgnored) { |
| 868 String d8 = | 868 String d8 = |
| 869 "$buildDir/d8${TestUtils.executableSuffix(configuration['component'])}"; | 869 "$buildDir/d8${TestUtils.executableSuffix(configuration['component'])}"; |
| 870 List<String> args = <String>[ | 870 List<String> args = <String>[ |
| 871 '-ea', | 871 '-ea', |
| 872 '-classpath', classPath, | 872 '-classpath', classPath, |
| 873 '-Dcom.google.dart.runner.d8=$d8', | 873 '-Dcom.google.dart.runner.d8=$d8', |
| 874 '-Dcom.google.dart.corelib.SharedTests.test_py=$dartDir/tools/test.py', | 874 '-Dcom.google.dart.corelib.SharedTests.test_py=$dartDir/tools/test_wrapp
er.py', |
| 875 'org.junit.runner.JUnitCore']; | 875 'org.junit.runner.JUnitCore']; |
| 876 args.addAll(testClasses); | 876 args.addAll(testClasses); |
| 877 | 877 |
| 878 doTest(new TestCase(suiteName, | 878 doTest(new TestCase(suiteName, |
| 879 'java', | 879 'java', |
| 880 args, | 880 args, |
| 881 configuration, | 881 configuration, |
| 882 completeHandler, | 882 completeHandler, |
| 883 new Set<String>.from([PASS]))); | 883 new Set<String>.from([PASS]))); |
| 884 doDone(); | 884 doDone(); |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1060 * $noCrash tests are expected to be flaky but not crash | 1060 * $noCrash tests are expected to be flaky but not crash |
| 1061 * $pass tests are expected to pass | 1061 * $pass tests are expected to pass |
| 1062 * $failOk tests are expected to fail that we won't fix | 1062 * $failOk tests are expected to fail that we won't fix |
| 1063 * $fail tests are expected to fail that we should fix | 1063 * $fail tests are expected to fail that we should fix |
| 1064 * $crash tests are expected to crash that we should fix | 1064 * $crash tests are expected to crash that we should fix |
| 1065 * $timeout tests are allowed to timeout | 1065 * $timeout tests are allowed to timeout |
| 1066 """; | 1066 """; |
| 1067 print(report); | 1067 print(report); |
| 1068 } | 1068 } |
| 1069 } | 1069 } |
| OLD | NEW |