[svn:PHP-Sandwich] rev 988 - PHP-Sandwich/trunk/t
[email protected] 15 Apr 2005 15:01:36 -0000
| Newsgroups | perl.php.sandwich.dev |
|---|---|
| Message-ID | <[email protected]> |
Author: wez
Date: Fri Apr 15 08:01:36 2005
New Revision: 988
Modified:
PHP-Sandwich/trunk/t/1.pl
PHP-Sandwich/trunk/t/3.pl
PHP-Sandwich/trunk/t/4.pl
PHP-Sandwich/trunk/t/5.pl
PHP-Sandwich/trunk/t/6.pl
PHP-Sandwich/trunk/t/7.pl
Log:
use ExtUtils::testlib so that you don't need to make install to run these non-tests
Modified: PHP-Sandwich/trunk/t/1.pl
==============================================================================
--- PHP-Sandwich/trunk/t/1.pl (original)
+++ PHP-Sandwich/trunk/t/1.pl Fri Apr 15 08:01:36 2005
@@ -3,12 +3,13 @@
# Test 2 simultaneous interpreters. Requires TSRM patch and
# --enable-maintainer-zts build
+use ExtUtils::testlib;
use PHP;
$p = new PHP::Interpreter();
$p2 = new PHP::Interpreter();
-$p->eval('$name = "george"; echo "hello $name";');
-$p->eval('echo "hello $name";');
+$p->eval('$name = "george"; echo "hello $name\\n";');
+$p->eval('echo "hello $name\\n";');
-$p2->eval('echo "hello $name";');
+$p2->eval('echo "hello $name\\n";');
$p->include("/home/george/a.php");
Modified: PHP-Sandwich/trunk/t/3.pl
==============================================================================
--- PHP-Sandwich/trunk/t/3.pl (original)
+++ PHP-Sandwich/trunk/t/3.pl Fri Apr 15 08:01:36 2005
@@ -1,4 +1,6 @@
+#!/opt/ecelerity/3rdParty/bin/perl
use strict;
+use ExtUtils::testlib;
use Test;
BEGIN { plan tests => 1 }
Modified: PHP-Sandwich/trunk/t/4.pl
==============================================================================
--- PHP-Sandwich/trunk/t/4.pl (original)
+++ PHP-Sandwich/trunk/t/4.pl Fri Apr 15 08:01:36 2005
@@ -1,4 +1,5 @@
#!/opt/ecelerity/3rdParty/bin/perl
+use ExtUtils::testlib;
use PHP;
use PHP::Interpreter;
Modified: PHP-Sandwich/trunk/t/5.pl
==============================================================================
--- PHP-Sandwich/trunk/t/5.pl (original)
+++ PHP-Sandwich/trunk/t/5.pl Fri Apr 15 08:01:36 2005
@@ -1,4 +1,5 @@
#!/opt/ecelerity/3rdParty/bin/perl
+use ExtUtils::testlib;
use PHP;
use PHP::Interpreter;
Modified: PHP-Sandwich/trunk/t/6.pl
==============================================================================
--- PHP-Sandwich/trunk/t/6.pl (original)
+++ PHP-Sandwich/trunk/t/6.pl Fri Apr 15 08:01:36 2005
@@ -1,4 +1,5 @@
#!/opt/ecelerity/3rdParty/bin/perl
+use ExtUtils::testlib;
use PHP;
use PHP::Interpreter;
Modified: PHP-Sandwich/trunk/t/7.pl
==============================================================================
--- PHP-Sandwich/trunk/t/7.pl (original)
+++ PHP-Sandwich/trunk/t/7.pl Fri Apr 15 08:01:36 2005
@@ -1,4 +1,5 @@
#!/opt/ecelerity/3rdParty/bin/perl
+use ExtUtils::testlib;
use PHP;
use PHP::Interpreter;