| 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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 874 } | 874 } |
| 875 } | 875 } |
| 876 | 876 |
| 877 void createTest(successIgnored) { | 877 void createTest(successIgnored) { |
| 878 String d8 = | 878 String d8 = |
| 879 "$buildDir/d8${TestUtils.executableSuffix(configuration['component'])}"; | 879 "$buildDir/d8${TestUtils.executableSuffix(configuration['component'])}"; |
| 880 List<String> args = <String>[ | 880 List<String> args = <String>[ |
| 881 '-ea', | 881 '-ea', |
| 882 '-classpath', classPath, | 882 '-classpath', classPath, |
| 883 '-Dcom.google.dart.runner.d8=$d8', | 883 '-Dcom.google.dart.runner.d8=$d8', |
| 884 '-Dcom.google.dart.corelib.SharedTests.test_py=$dartDir/tools/test.py', | 884 '-Dcom.google.dart.corelib.SharedTests.test_py=' + |
| 885 dartDir + '/tools/test_wrapper.py', |
| 885 'org.junit.runner.JUnitCore']; | 886 'org.junit.runner.JUnitCore']; |
| 886 args.addAll(testClasses); | 887 args.addAll(testClasses); |
| 887 | 888 |
| 888 doTest(new TestCase(suiteName, | 889 doTest(new TestCase(suiteName, |
| 889 'java', | 890 'java', |
| 890 args, | 891 args, |
| 891 configuration, | 892 configuration, |
| 892 completeHandler, | 893 completeHandler, |
| 893 new Set<String>.from([PASS]))); | 894 new Set<String>.from([PASS]))); |
| 894 doDone(); | 895 doDone(); |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1070 * $noCrash tests are expected to be flaky but not crash | 1071 * $noCrash tests are expected to be flaky but not crash |
| 1071 * $pass tests are expected to pass | 1072 * $pass tests are expected to pass |
| 1072 * $failOk tests are expected to fail that we won't fix | 1073 * $failOk tests are expected to fail that we won't fix |
| 1073 * $fail tests are expected to fail that we should fix | 1074 * $fail tests are expected to fail that we should fix |
| 1074 * $crash tests are expected to crash that we should fix | 1075 * $crash tests are expected to crash that we should fix |
| 1075 * $timeout tests are allowed to timeout | 1076 * $timeout tests are allowed to timeout |
| 1076 """; | 1077 """; |
| 1077 print(report); | 1078 print(report); |
| 1078 } | 1079 } |
| 1079 } | 1080 } |
| OLD | NEW |