~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/dbqp.py

  • Committer: Brian Aker
  • Date: 2011-02-12 06:56:00 UTC
  • mto: This revision was merged to the branch mainline in revision 2161.
  • Revision ID: brian@tangent.org-20110212065600-m6c68fybw51rflhj
Further strip out includes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
# TODO - make a more robust cleanup
83
83
# At the moment, runaway servers are our biggest concern
84
84
    if server_manager and not variables['startandexit']:
85
 
        if variables['gdb']:
86
 
            server_manager.cleanup_all_servers()
87
 
        else:
88
 
            server_manager.cleanup()
89
 
    if not variables['startandexit']:
90
 
        if test_manager:
91
 
            fail_count = test_manager.has_failing_tests()
92
 
            sys.exit(test_manager.has_failing_tests())
93
 
        else:
94
 
            # return 1 as we likely have a problem if we don't have a
95
 
            # test_manager
96
 
            sys.exit(1)
 
85
        server_manager.cleanup()
97
86