~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/dbqp.py

  • Committer: Brian Aker
  • Date: 2011-02-04 09:29:39 UTC
  • mfrom: (2139.3.6 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2144.
  • Revision ID: brian@tangent.org-20110204092939-nlwrimamw0fxxhgl
Main bit of this patch is that Inno now just uses the identifier so we only
have one spot to make changes for paths.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /usr/bin/env python
 
1
#! /usr/bin/python
2
2
# -*- mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
3
3
# vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
4
4
#
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