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

Unified Diff: tools/test-runtime.dart

Issue 12385040: Remove support for testing servers from the tools/test-runtime.py (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test-runtime.dart
===================================================================
--- tools/test-runtime.dart (revision 19281)
+++ tools/test-runtime.dart (working copy)
@@ -50,7 +50,6 @@
var verbose = firstConf['verbose'];
var printTiming = firstConf['time'];
var listTests = firstConf['list'];
- var useContentSecurityPolicy = firstConf['csp'];
if (!firstConf['append_logs']) {
var file = new File(TestUtils.flakyFileName());
@@ -73,23 +72,8 @@
print(output_words.join(' '));
}
- var runningBrowserTests = configurations.any((config) {
- return TestUtils.isBrowserRuntime(config['runtime']);
- });
-
var testSuites = new List<TestSuite>();
for (var conf in configurations) {
- if (!listTests && runningBrowserTests) {
- // Start global http servers that serve the entire dart repo.
- // The http server is available on window.location.port, and a second
- // server for cross-domain tests can be found by calling
- // getCrossOriginPortNumber().
- var servers = new TestingServers(new Path(TestUtils.buildDir(conf)),
- useContentSecurityPolicy);
- servers.startServers('127.0.0.1');
- conf['_servers_'] = servers;
- }
-
if (selectors.containsKey('co19')) {
testSuites.add(new Co19TestSuite(conf));
}
@@ -109,11 +93,6 @@
}
void allTestsFinished() {
- for (var conf in configurations) {
- if (conf.containsKey('_servers_')) {
- conf['_servers_'].stopServers();
- }
- }
DebugLogger.close();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698