projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
re-implement params serializer
[m6w6/ext-http]
/
tests
/
phpunit.phpt
diff --git
a/tests/phpunit.phpt
b/tests/phpunit.phpt
index 4289ffdfaf12c54053a97b4f8bed52ae9c901000..22f41e5c925d9129ec0831b8631dc77b9ba2c11b 100644
(file)
--- a/
tests/phpunit.phpt
+++ b/
tests/phpunit.phpt
@@
-2,17
+2,19
@@
unit tests
--SKIPIF--
<?php
unit tests
--SKIPIF--
<?php
-@include_once "PHPUnit/Autoload.php" or die("skip need PHPUnit in include_path");
+include "skipif.inc";
+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.
-%
s
+%
a
Time: %s, Memory: %s
Time: %s, Memory: %s