about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-05-06 20:23:01 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-05-06 20:23:01 +0000
commit5bf96de5ef97cd0d6c04445feec6b25e07d4d938 (patch)
tree81c8757aec6ca02a5c9059b8b48695e03645315f
parent12290c0614206ac6e9b52467bcf33f40dea5c2d6 (diff)
downloadglibc-5bf96de5ef97cd0d6c04445feec6b25e07d4d938.tar.gz
glibc-5bf96de5ef97cd0d6c04445feec6b25e07d4d938.tar.xz
glibc-5bf96de5ef97cd0d6c04445feec6b25e07d4d938.zip
Consistently use TEST_f_f1 in gamma tests.
-rw-r--r--ChangeLog5
-rw-r--r--math/libm-test.inc10
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 4bf30b6c57..ba02f5641f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-06  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
+	test signgam value.
+
 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
 	[BZ #15418]
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 7afa46dba8..f289e99c8d 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -9103,11 +9103,11 @@ gamma_test (void)
 
   START (gamma);
 
-  TEST_f_f (gamma, plus_infty, plus_infty);
-  TEST_f_f (gamma, 0, plus_infty, DIVIDE_BY_ZERO_EXCEPTION);
-  TEST_f_f (gamma, -3, plus_infty, DIVIDE_BY_ZERO_EXCEPTION);
-  TEST_f_f (gamma, minus_infty, plus_infty);
-  TEST_f_f (gamma, qnan_value, qnan_value);
+  TEST_f_f1 (gamma, plus_infty, plus_infty, 1);
+  TEST_f_f1 (gamma, 0, plus_infty, 1, DIVIDE_BY_ZERO_EXCEPTION);
+  TEST_f_f1 (gamma, -3, plus_infty, IGNORE, DIVIDE_BY_ZERO_EXCEPTION);
+  TEST_f_f1 (gamma, minus_infty, plus_infty, IGNORE);
+  TEST_f_f1 (gamma, qnan_value, qnan_value, IGNORE);
 
   TEST_f_f1 (gamma, 1, 0, 1);
   TEST_f_f1 (gamma, 3, M_LN2l, 1);