[Rt-commit] r12885 - in rt/branches/3.8-TESTING: .

falcone at bestpractical.com falcone at bestpractical.com
Wed Jun 4 15:34:48 EDT 2008


Author: falcone
Date: Wed Jun  4 15:34:47 2008
New Revision: 12885

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/Test.pm

Log:
 r33788 at ketch:  falcone | 2008-06-04 15:34:12 -0400
 * die harders when you forget the RT_DBA* environment variables


Modified: rt/branches/3.8-TESTING/lib/RT/Test.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Test.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Test.pm	Wed Jun  4 15:34:47 2008
@@ -156,7 +156,7 @@
     my %args = @_;
 
    unless (defined $ENV{'RT_DBA_USER'} && defined $ENV{'RT_DBA_PASSWORD'}) {
-	die "RT_DBA_USER and RT_DBA_PASSWORD environment variables need to be set in order to run 'make test'";
+	BAIL_OUT("RT_DBA_USER and RT_DBA_PASSWORD environment variables need to be set in order to run 'make test'");
    }
     # bootstrap with dba cred
     my $dbh = _get_dbh(RT::Handle->SystemDSN,


More information about the Rt-commit mailing list