Author: ornicar2
Date: 2010-02-05 13:59:26 +0100 (Fri, 05 Feb 2010)
New Revision: 27590

Modified:
   plugins/diemPlugin/trunk/prove
Log:
[Diem]
- added pdo_sqlite check in prove file

Modified: plugins/diemPlugin/trunk/prove
===================================================================
--- plugins/diemPlugin/trunk/prove      2010-02-05 11:50:49 UTC (rev 27589)
+++ plugins/diemPlugin/trunk/prove      2010-02-05 12:59:26 UTC (rev 27590)
@@ -3,9 +3,14 @@
 
 if (!defined('STDIN'))
 {
-  die('This tool is designed to be run from the command line.');
+  die('This tool is designed to be run from the command line.'."\n");
 }
 
+if(!extension_loaded('pdo_sqlite'))
+{
+  die('You need the pdo_sqlite PHP extension to run the tests'."\n");
+}
+
 chdir(dirname(__FILE__).'/dmCorePlugin/test/project');
 
 $_SERVER['argv'] = array(

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to