소스 검색

Skip test in hhvm

Jordi Boggiano 11 년 전
부모
커밋
2d192b0567
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      tests/Monolog/Formatter/GelfMessageFormatterTest.php

+ 4 - 0
tests/Monolog/Formatter/GelfMessageFormatterTest.php

@@ -187,6 +187,10 @@ class GelfMessageFormatterTest extends \PHPUnit_Framework_TestCase
      */
     public function testExceptionObjectWithResourceTrace()
     {
+        if (defined('HHVM_VERSION')) {
+            $this->markTestSkipped('Not supported in HHVM since it detects errors differently');
+        }
+
         // This happens i.e. in React promises or Guzzle streams where stream wrappers are registered
         // and no file or line are included in the trace because it's treated as internal function
         set_error_handler(function ($errno, $errstr, $errfile, $errline ) {