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

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

Issue 9369026: Remove test_wrapper.py, replace with test.py (which calls test.dart). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « frog/scripts/buildbot_annotated_steps.py ('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 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 } 933 }
934 934
935 void createTest(successIgnored) { 935 void createTest(successIgnored) {
936 String d8 = 936 String d8 =
937 "$buildDir/d8${TestUtils.executableSuffix(configuration['component'])}"; 937 "$buildDir/d8${TestUtils.executableSuffix(configuration['component'])}";
938 List<String> args = <String>[ 938 List<String> args = <String>[
939 '-ea', 939 '-ea',
940 '-classpath', classPath, 940 '-classpath', classPath,
941 '-Dcom.google.dart.runner.d8=$d8', 941 '-Dcom.google.dart.runner.d8=$d8',
942 '-Dcom.google.dart.corelib.SharedTests.test_py=' + 942 '-Dcom.google.dart.corelib.SharedTests.test_py=' +
943 dartDir + '/tools/test_wrapper.py', 943 dartDir + '/tools/test.py',
944 'org.junit.runner.JUnitCore']; 944 'org.junit.runner.JUnitCore'];
945 args.addAll(testClasses); 945 args.addAll(testClasses);
946 946
947 doTest(new TestCase(suiteName, 947 doTest(new TestCase(suiteName,
948 'java', 948 'java',
949 args, 949 args,
950 configuration, 950 configuration,
951 completeHandler, 951 completeHandler,
952 new Set<String>.from([PASS]))); 952 new Set<String>.from([PASS])));
953 doDone(); 953 doDone();
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 * $noCrash tests are expected to be flaky but not crash 1124 * $noCrash tests are expected to be flaky but not crash
1125 * $pass tests are expected to pass 1125 * $pass tests are expected to pass
1126 * $failOk tests are expected to fail that we won't fix 1126 * $failOk tests are expected to fail that we won't fix
1127 * $fail tests are expected to fail that we should fix 1127 * $fail tests are expected to fail that we should fix
1128 * $crash tests are expected to crash that we should fix 1128 * $crash tests are expected to crash that we should fix
1129 * $timeout tests are allowed to timeout 1129 * $timeout tests are allowed to timeout
1130 """; 1130 """;
1131 print(report); 1131 print(report);
1132 } 1132 }
1133 } 1133 }
OLDNEW
« no previous file with comments | « frog/scripts/buildbot_annotated_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698