From df6a0ca38d3aa7bae69829e9ebc68fe397ea40d0 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 4 May 2007 22:32:30 +0000 Subject: [PATCH] check GMP version and skip the test if it's <= 4.2.1 --- ext/gmp/tests/011.phpt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ext/gmp/tests/011.phpt b/ext/gmp/tests/011.phpt index b359b97b13..a4a23514b1 100644 --- a/ext/gmp/tests/011.phpt +++ b/ext/gmp/tests/011.phpt @@ -1,5 +1,11 @@ --TEST-- -gmp_divexact() tests (OK to fail with GMP =< 4.2.1) +gmp_divexact() tests +--SKIPIF-- +=")) { + die("skip your GMP is too old and will crash"); +} +?> --FILE--