summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917>2008-09-27 01:55:05 +0000
committerfergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917>2008-09-27 01:55:05 +0000
commit8253a42afa3e6bd49f1653762d06564dece3e5f6 (patch)
tree065e9a4900da527fbae4cc9d8b3c159fb9961a2c
parent3f13bf43632ac0dd29ca89e2c46233fd63f8c3cd (diff)
downloaddistcc-8253a42afa3e6bd49f1653762d06564dece3e5f6.tar.gz
Delete an unused test case: the test was hard-coded to always pass anyway,
so it wasn't testing anything useful. git-svn-id: http://distcc.googlecode.com/svn/trunk@615 01de4be4-8c4a-0410-9132-4925637da917
-rwxr-xr-xinclude_server/parse_command_test.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/include_server/parse_command_test.py b/include_server/parse_command_test.py
index b87f548..70ccfde 100755
--- a/include_server/parse_command_test.py
+++ b/include_server/parse_command_test.py
@@ -176,24 +176,4 @@ class ParseCommandUnitTest(unittest.TestCase):
'third_party/zlib'),
'third_party/libxml/threads.c'))
- def test_time_ParseCommandArgs(self):
- """Time ParseCommandArgs."""
- fd = open("test_data/gws-main.o.cmd", "r")
- whopper = fd.read()
- fd.close()
- # TODO(klarlund): make this into a fail/pass test as well.
- t = time.time()
- for unused_i in range(100):
- (quote_dirs, angle_dirs, include_files, filepath,
- _include_closure_file, _d_opts) = (
- parse_command.ParseCommandArgs(
- parse_command.ParseCommandLine(whopper),
- os.getcwd(),
- self.includepath_map,
- self.directory_map,
- self.compiler_defaults))
- print "100 iterations of ParseCommandArgs takes %3.1fs" % (time.time() - t)
- return True
-
-
unittest.main()