~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/lib/sys_mgmt/system_management.py

  • Committer: Lee Bieber
  • Date: 2011-01-28 03:45:59 UTC
  • mfrom: (2123.1.2 build)
  • Revision ID: kalebral@gmail.com-20110128034559-cxgcjzghp6kpnhuv
Merge Brian - more parser rework
Merge Patrick - 708899: dbqp.py needs --reorder option 

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        self.workdir = variables['workdir']
69
69
        self.start_dirty = variables['startdirty']
70
70
        self.valgrind = variables['valgrind']
 
71
        self.gdb = variables['gdb']
71
72
 
72
73
        # we use this to preface commands in order to run valgrind and such
73
74
        self.cmd_prefix = '' 
400
401
        libtool_path = '../libtool'
401
402
        if os.path.exists(libtool_path) and os.access( libtool_path
402
403
                                                     , os.X_OK):
403
 
            self.logging.info("Using libtool when running valgrind or debugger")
 
404
            if self.valgrind or self.gdb:
 
405
                self.logging.info("Using libtool when running valgrind or debugger")
404
406
            return libtool_path
405
407
        else:
406
408
            return None