Explorar o código

Skip the phar building on HHVM

Building a phar does not work on HHVM. It looks like it tries to read the phar file which does not exist yet.
Christophe Coevoet %!s(int64=10) %!d(string=hai) anos
pai
achega
ea44412476
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      tests/Composer/Test/AllFunctionalTest.php

+ 4 - 0
tests/Composer/Test/AllFunctionalTest.php

@@ -60,6 +60,10 @@ class AllFunctionalTest extends \PHPUnit_Framework_TestCase
 
     public function testBuildPhar()
     {
+        if (defined('HHVM_VERSION')) {
+            $this->markTestSkipped('Building the phar does not work on HHVM.');
+        }
+        
         $fs = new Filesystem;
         $fs->removeDirectory(dirname(self::$pharPath));
         $fs->ensureDirectoryExists(dirname(self::$pharPath));