~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/lib/test_mgmt/test_execution.py

  • Committer: Lee Bieber
  • Date: 2011-02-08 04:02:31 UTC
  • mfrom: (2148.1.5 dbqp_fixes)
  • Revision ID: kalebral@gmail.com-20110208040231-qs5od6hdffhpy7ht
Merge Patrick - 709859: dbqp needs to redirect drizzletest stderr ouput appropriately

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
# imports
32
32
import os
33
33
import sys
 
34
import subprocess
34
35
 
35
36
class testExecutor():
36
37
    """ class for handling the execution of testCase
66
67
                                                                , self.workdir
67
68
                                                                )
68
69
        self.record_flag=self.execution_manager.record_flag
69
 
        self.environment_vars = {}
70
70
        self.current_servers = [self.master_server]
71
71
        self.current_testcase = None    
72
72
        self.current_test_status = None
119
119
                # However one could argue that if we aren't using it, 
120
120
                # We shouldn't hog it ; )
121
121
                # We might need to do this better later
122
 
                for server in current_servers:
 
122
                for server in self.current_servers:
123
123
                    server.cleanup() # this only removes any port files
124
124
                sys.exit(0)
125
125
        if self.initial_run: