# File lib/run_marjoree.rb, line 13
def run_marjoree_tests_and_exit
  Test::Unit.run=true
  puts Test::Unit.run?

  #OdbcConnectionWrapper.odbc_config_path = '../../../DatabaseTests/credit_manager/odbc_config/connections.yml'
  OdbcConnectionWrapper.odbc_config_path = 'odbc_config/connections.yml'

  odbc_connection = OdbcConnectionWrapper.new()
  establish_connection_to( odbc_connection )
  connect_me_to( 'EMT_TEST' )

#  connect('EMT_TEST', 'sa', '' )
  Kernel.at_exit { disconnect_me }

  yield

  passed = Test::Unit::AutoRunner.run
  exit passed ? 0 : -1
end