run some tests in separate process for HHVM compatibillity

This commit is contained in:
uwetews
2015-10-18 20:23:49 +02:00
parent 75663948f2
commit 749eaad939
4 changed files with 4 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ class HttpModifiedSinceTest extends PHPUnit_Smarty
public function setUp() public function setUp()
{ {
$this->markTestSkipped('modified since tests are disabled');
$this->setUpSmarty(__DIR__); $this->setUpSmarty(__DIR__);
} }

View File

@@ -491,7 +491,7 @@ class CacheResourceTestCommon extends PHPUnit_Smarty
} }
/** /**
* *
* @run InSeparateProcess * @runInSeparateProcess
* @preserveGlobalState disabled * @preserveGlobalState disabled
* *
*/ */

View File

@@ -84,4 +84,4 @@ if (defined(MysqlResourceEnable) && MysqlResourceEnable == 'true') {
$this->assertEquals(strtotime("2010-12-25 22:00:00"), $tpl->source->getTimeStamp()); $this->assertEquals(strtotime("2010-12-25 22:00:00"), $tpl->source->getTimeStamp());
} }
} }
} }

View File

@@ -84,7 +84,7 @@ class CompileFunctionTest extends PHPUnit_Smarty
/** /**
* test simple function call tag cached no cache default variable 2 * test simple function call tag cached no cache default variable 2
* *
* @run InSeparateProcess * @runInSeparateProcess
* @preserveGlobalState disabled * @preserveGlobalState disabled
*/ */
public function testSimpleFunctionCachedNocacheDefault_002_2() public function testSimpleFunctionCachedNocacheDefault_002_2()