split off raphf
[m6w6/ext-http] / tests / phpunit.phpt
index 4289ffdfaf12c54053a97b4f8bed52ae9c901000..087923e8fca8fdba0775e86df63876dc3d30d57d 100644 (file)
@@ -2,17 +2,21 @@
 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");
 ?>
+--INI--
+date.timezone=Europe/Vienna
 --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.
 
-%s
+%a
 
 Time: %s, Memory: %s