Quellcode durchsuchen

Skip tests/timezones on Windows

Stefan Siegl vor 10 Jahren
Ursprung
Commit
7b435e30dc
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 6 1
      tests/timezones.phpt

+ 6 - 1
tests/timezones.phpt

@@ -1,7 +1,12 @@
 --TEST--
 Test V8::executeString() : Check timezone handling
 --SKIPIF--
-<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
+<?php
+if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
+	die('SKIP TZ not handled by v8 on Windows');
+}
+require_once(dirname(__FILE__) . '/skipif.inc');
+?>
 --FILE--
 <?php