about summary refs log tree commit diff
path: root/math/libm-test-catan.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test-catan.inc')
-rw-r--r--math/libm-test-catan.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/libm-test-catan.inc b/math/libm-test-catan.inc
index 1d8cf180db..ee9662924f 100644
--- a/math/libm-test-catan.inc
+++ b/math/libm-test-catan.inc
@@ -16,6 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include "libm-test-driver.c"
+
 static const struct test_c_c_data catan_test_data[] =
   {
     TEST_c_c (catan, plus_zero, 1.0L, plus_zero, plus_infty, DIVIDE_BY_ZERO_EXCEPTION),
@@ -77,6 +79,12 @@ catan_test (void)
   ALL_RM_TEST (catan, 0, catan_test_data, RUN_TEST_LOOP_c_c, END_COMPLEX);
 }
 
+static void
+do_test (void)
+{
+  catan_test ();
+}
+
 /*
  * Local Variables:
  * mode:c