[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[2494] trunk/t



Revision: 2494
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2494&view=rev
Author:   einhverfr
Date:     2009-03-13 20:56:47 +0000 (Fri, 13 Mar 2009)

Log Message:
-----------
Test plan corrections

Modified Paths:
--------------
    trunk/t/11-ledgersmb.t
    trunk/t/43-dbtest.t

Modified: trunk/t/11-ledgersmb.t
===================================================================
--- trunk/t/11-ledgersmb.t	2009-03-13 20:20:09 UTC (rev 2493)
+++ trunk/t/11-ledgersmb.t	2009-03-13 20:56:47 UTC (rev 2494)
@@ -5,7 +5,7 @@
 
 $ENV{TMPDIR} = 't/var';
 
-use Test::More tests => 92;
+use Test::More;
 use Test::Exception;
 use Test::Trap qw(trap $trap);
 use Math::BigFloat;
@@ -13,6 +13,12 @@
 use LedgerSMB::Sysconfig;
 use LedgerSMB;
 my $lsmb;
+if ($ENV{PGDATABASE}){
+    plan tests => 96;
+} else {
+    plan tests => 92;
+}
+
 sub redirect {
 	print "redirected\n";
 }

Modified: trunk/t/43-dbtest.t
===================================================================
--- trunk/t/43-dbtest.t	2009-03-13 20:20:09 UTC (rev 2493)
+++ trunk/t/43-dbtest.t	2009-03-13 20:56:47 UTC (rev 2494)
@@ -5,7 +5,7 @@
 	plan skip_all => 'Skipping all.  Told not to test db.';
 }
 else {
-	plan tests => 82;
+	plan tests => 81;
 	if (defined $ENV{LSMB_NEW_DB}){
 		$ENV{PGDATABASE} = $ENV{LSMB_NEW_DB};
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.