[goffice] Tests: really don't test long-double stuff when --without-long-double



commit 14a4841f2c8e5f1a536d721c21bc081d243c0206
Author: Morten Welinder <terra gnome org>
Date:   Mon Jun 15 15:37:16 2015 -0400

    Tests: really don't test long-double stuff when --without-long-double

 tests/test-math.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/tests/test-math.c b/tests/test-math.c
index c39da3b..8baf2d2 100644
--- a/tests/test-math.c
+++ b/tests/test-math.c
@@ -85,16 +85,16 @@ static double fake_atan2pi (double y, double x) { return atan2 (y,x) / M_PI; }
        REFTEST(a_,go_cotpi,fake_cotpi(a_),"cotpi");                    \
        REFTEST(a_,go_atanpi,fake_atanpi(a_),"atanpi");                 \
                                                                        \
-       REFTEST(a_,go_sinpil,fake_sinpi(a_),"sinpil");                  \
-       REFTEST(a_,go_cospil,fake_cospi(a_),"cospil");                  \
-       REFTEST(a_,go_tanpil,fake_tanpi(a_),"tanpil");                  \
-       REFTEST(a_,go_cotpil,fake_cotpi(a_),"cotpil");                  \
-       REFTEST(a_,go_atanpil,fake_atanpi(a_),"atanpil");               \
+       REFTESTl(a_,go_sinpil,fake_sinpi(a_),"sinpil");                 \
+       REFTESTl(a_,go_cospil,fake_cospi(a_),"cospil");                 \
+       REFTESTl(a_,go_tanpil,fake_tanpi(a_),"tanpil");                 \
+       REFTESTl(a_,go_cotpil,fake_cotpi(a_),"cotpil");                 \
+       REFTESTl(a_,go_atanpil,fake_atanpi(a_),"atanpil");              \
 } while (0)
 
 #define TEST2(a_,b_) do {                                              \
                REFTEST2(a_,b_,go_atan2pi,fake_atan2pi(a_,b_),"atan2pi"); \
-               REFTEST2(a_,b_,go_atan2pil,fake_atan2pi(a_,b_),"atan2pil"); \
+               REFTEST2l(a_,b_,go_atan2pil,fake_atan2pi(a_,b_),"atan2pil"); \
 } while (0)
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]