split off raphf
[m6w6/ext-http] / tests / phpunit.phpt
index 6320f61ba1811b90e110ea7dece31dcfdccfd01c..087923e8fca8fdba0775e86df63876dc3d30d57d 100644 (file)
@@ -2,12 +2,16 @@
 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.