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

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

Issue 9315036: Change output of test.dart --list option, so it can be parsed automatically. (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
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 #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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698