cvs: php-src /ext/gmp/tests 011.phpt

From: Date: Fri, 04 May 2007 22:32:30 +0000
Subject: cvs: php-src /ext/gmp/tests 011.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-44183@lists.php.net to get a copy of this message
tony2001 Fri May 4 22:32:30 2007 UTC Modified files: /php-src/ext/gmp/tests 011.phpt Log: check GMP version and skip the test if it's <= 4.2.1 http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/011.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/gmp/tests/011.phpt diff -u php-src/ext/gmp/tests/011.phpt:1.2 php-src/ext/gmp/tests/011.phpt:1.3 --- php-src/ext/gmp/tests/011.phpt:1.2 Fri Apr 27 11:43:24 2007 +++ php-src/ext/gmp/tests/011.phpt Fri May 4 22:32:30 2007 @@ -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

« previous php.cvs (#44183) next »