Browse Source

Skip tests/timezones on Windows

Stefan Siegl 10 năm trước cách đây
mục cha
commit
7b435e30dc
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  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