summaryrefslogtreecommitdiff
path: root/math/libm-test-isfinite.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test-isfinite.inc')
-rw-r--r--math/libm-test-isfinite.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/math/libm-test-isfinite.inc b/math/libm-test-isfinite.inc
index 593822c2e5..48d4c2e15b 100644
--- a/math/libm-test-isfinite.inc
+++ b/math/libm-test-isfinite.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_i_data isfinite_test_data[] =
{
TEST_f_b (isfinite, 0, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
@@ -48,6 +50,13 @@ finite_test (void)
ALL_RM_TEST (finite, 1, isfinite_test_data, RUN_TEST_LOOP_f_b, END);
}
+static void
+do_test (void)
+{
+ isfinite_test ();
+ finite_test ();
+}
+
/*
* Local Variables:
* mode:c