projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
better PHP-5.3 compatibility
[m6w6/ext-http]
/
tests
/
phpunit.phpt
diff --git
a/tests/phpunit.phpt
b/tests/phpunit.phpt
index 6320f61ba1811b90e110ea7dece31dcfdccfd01c..9c106f00e67b65b0e94d9a17d64489cb27bd5532 100644
(file)
--- a/
tests/phpunit.phpt
+++ b/
tests/phpunit.phpt
@@
-2,12
+2,13
@@
unit tests
--SKIPIF--
<?php
unit tests
--SKIPIF--
<?php
-
@include_once "PHPUnit/Autoload.php" or
die("skip need PHPUnit in include_path");
+
if (!@include_once "PHPUnit/Autoload.php")
die("skip need PHPUnit in include_path");
?>
--FILE--
<?php
require_once "PHPUnit/Autoload.php";
?>
--FILE--
<?php
require_once "PHPUnit/Autoload.php";
-(new PHPUnit_TextUI_Command)->run([null, __DIR__."/../phpunit"]);
+$c = new PHPUnit_TextUI_Command;
+$c->run(array("--process-isolation", __DIR__."/../phpunit/"));
?>
--EXPECTF--
PHPUnit %s by Sebastian Bergmann.
?>
--EXPECTF--
PHPUnit %s by Sebastian Bergmann.