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 năm trước cách đây
mục cha
commit
ea44412476
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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));