~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/dbqp.py

  • Committer: Lee Bieber
  • Date: 2011-02-10 21:02:41 UTC
  • mfrom: (2154.1.3 build)
  • Revision ID: kalebral@gmail.com-20110210210241-jouae2uw2pwv6bac
Merge Patrick - 715885: dbqp needs to return non-zero if tests fail
Merge Stewart - 715539: (get|set)_session_proc_info() still exists
Merge Stewart - 715575: misc session_foo() functions exist - should be methods in Session
Merge Stewart - 712843: SAVEPOINT after rollback due to deadlock with autocommit=off in transaction will call startTransaction with an existing transaction where one shouldn't exist

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
    if server_manager and not variables['startandexit']:
85
85
        server_manager.cleanup()
86
86
 
 
87
    if not variables['startandexit']:
 
88
        if test_manager:
 
89
            fail_count = test_manager.has_failing_tests()
 
90
            sys.exit(test_manager.has_failing_tests())
 
91
        else:
 
92
            # return 1 as we likely have a problem if we don't have a
 
93
            # test_manager
 
94
            sys.exit(1)
 
95