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

Unified Diff: frog/tests/await/testcfg.py

Issue 9360017: Remove unused support files for old version of tools/test.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove testcfg.py files. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compiler/tests/dartc/testcfg.py ('k') | frog/tests/frog/testcfg.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/await/testcfg.py
diff --git a/frog/tests/await/testcfg.py b/frog/tests/await/testcfg.py
deleted file mode 100644
index d21f6c80c4da82523ccd896e5697f814a38e6df9..0000000000000000000000000000000000000000
--- a/frog/tests/await/testcfg.py
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-# for details. All rights reserved. Use of this source code is governed by a
-# BSD-style license that can be found in the LICENSE file.
-
-from testing import test_configuration
-import os.path
-
-FROG_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
-AWAITC_LOCATION = os.path.join(FROG_DIR, 'await', 'awaitc.dart')
-
-class AwaitConfiguration(test_configuration.StandardTestConfiguration):
- """
- Defines a configuration that runs an await-aware frog compiler on
- each test case.
- """
- # TODO(sigmund): This configuration should eventually be removed when we have
- # a generic way to run preprocessors in the test infrastructure.
- def __init__(self, context, root, fatal_static_type_errors=False):
- super(AwaitConfiguration, self).__init__(context, root)
- self.fatal_static_type_errors = fatal_static_type_errors
-
- def ListTests(self, current_path, path, mode, arch, component):
- """Uses the default listing of test cases, but modifies the architecture to
- use the await-aware frog compiler."""
- tests = super(AwaitConfiguration, self).ListTests(
- current_path, path, mode, arch, component)
- for test in tests:
- test.run_arch.vm_options.append(AWAITC_LOCATION)
- return tests
-
-def GetConfiguration(context, root):
- return AwaitConfiguration(context, root)
« no previous file with comments | « compiler/tests/dartc/testcfg.py ('k') | frog/tests/frog/testcfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698