From bf62a4d622bdef0d4c54dcbcdb69d40108c23331 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Wed, 9 Sep 2020 00:19:14 +0200 Subject: [PATCH] [Debug] Skip a test that was meant for HHVM. --- src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php | 4 ++++ 1 file changed, 4 insertions(+) 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();