Explorar o código

skip long_int64 test on 32bit PHP versions

Stefan Siegl %!s(int64=8) %!d(string=hai) anos
pai
achega
346c47b657
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      tests/long_int64.phpt

+ 5 - 1
tests/long_int64.phpt

@@ -1,7 +1,11 @@
 --TEST--
 Test V8::executeString() : Check long 64-bit export from PHP to JS
 --SKIPIF--
-<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
+<?php
+require_once(dirname(__FILE__) . '/skipif.inc');
+if (4 == PHP_INT_SIZE)
+	die("SKIP test not supported on 32bit PHP");
+?>
 --FILE--
 <?php