diff --git a/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php b/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php index 05f24a24ca..12083d3f52 100644 --- a/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php +++ b/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php @@ -558,6 +558,10 @@ class ErrorHandlerTest extends TestCase */ public function testHandleFatalErrorOnHHVM() { + if (!\defined('HHVM_VERSION')) { + $this->markTestSkipped('This test requires HHVM.'); + } + try { $handler = ErrorHandler::register();