Browse Source

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 10 years ago
parent
commit
ea44412476
1 changed files with 4 additions and 0 deletions
  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));