From 1d1b87bda3c698ec1b7668628e527476e0399ef6 Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Wed, 6 Jan 2016 13:26:55 +0000 Subject: [PATCH] skip extensions_error.phpt on Windows --- tests/extensions_error.phpt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/extensions_error.phpt b/tests/extensions_error.phpt index e4f3629..eca8779 100644 --- a/tests/extensions_error.phpt +++ b/tests/extensions_error.phpt @@ -9,6 +9,12 @@ phpinfo(INFO_MODULES); $minfo = ob_get_contents(); ob_end_clean(); +if(strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') { + // On Windows the "Fatal error" happens to appear before the error + // message output by V8 itself. + echo "skip Windows"; +} + if(preg_match("/V8 Engine Linked Version => (.*)/", $minfo, $matches)) { $version = explode('.', $matches[1]); if($version[0] < 3 || ($version[0] == 3 && $version[1] < 30)) {