~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/dbqp.py

Updates to allow several dbqp's run run on one system (via uuid) and fix to return a relevant code post-execution (ie 1 if tests failed or timed out))

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