aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test-log1p.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test-log1p.inc')
-rw-r--r--math/libm-test-log1p.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/libm-test-log1p.inc b/math/libm-test-log1p.inc
index 3df681eeec..5dd223fb6d 100644
--- a/math/libm-test-log1p.inc
+++ b/math/libm-test-log1p.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_f_f_data log1p_test_data[] =
{
TEST_f_f (log1p, -1, minus_infty, DIVIDE_BY_ZERO_EXCEPTION|ERRNO_ERANGE),
@@ -38,6 +40,12 @@ log1p_test (void)
ALL_RM_TEST (log1p, 0, log1p_test_data, RUN_TEST_LOOP_f_f, END);
}
+static void
+do_test (void)
+{
+ log1p_test ();
+}
+
/*
* Local Variables:
* mode:c