~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/lib/randgen/randgen_test_management.py

  • Committer: patrick crews
  • Date: 2011-06-01 23:31:52 UTC
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: gleebix@gmail.com-20110601233152-7kwbqhr4xujq9hsu
Updates to dbqp to add a sysbench mode.  Created test suites to duplicate readonly / readwrite drizzle-automation tests.  Still needs some work, but tests execute

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    """
44
44
    def __init__( self, system_manager, name=None
45
45
                , fullname = None, server_requirements=[[]]
46
 
                , comment=None, test_command=None, debug=False ):
 
46
                , comment=None, test_command=None, cnf_path=None
 
47
                , debug=False ):
47
48
        self.system_manager = system_manager
48
49
        self.logging = self.system_manager.logging
49
50
        self.skip_keys = ['system_manager','logging']
54
55
        self.comment = comment
55
56
        self.server_requirements = server_requirements
56
57
        self.test_command = test_command
 
58
        self.cnf_path = cnf_path
57
59
        
58
60
        if debug:
59
61
            self.system_manager.logging.debug_class(self)
131
133
                       , fullname = "%s.%s" %(suite_name, test_name)
132
134
                       , server_requirements = server_requirements
133
135
                       , test_command = test_command
 
136
                       , cnf_path = testfile
134
137
                       , debug = self.debug )
135
138
 
136
139
        #sys.exit(0)