mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
check GMP version and skip the test if it's <= 4.2.1
This commit is contained in:
parent
c40640626b
commit
df6a0ca38d
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,11 @@
|
|||
--TEST--
|
||||
gmp_divexact() tests (OK to fail with GMP =< 4.2.1)
|
||||
gmp_divexact() tests
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!defined('GMP_VERSION') || version_compare("4.2.1", GMP_VERSION, ">=")) {
|
||||
die("skip your GMP is too old and will crash");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue