aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test-scalbn.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test-scalbn.inc')
-rw-r--r--math/libm-test-scalbn.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/math/libm-test-scalbn.inc b/math/libm-test-scalbn.inc
index f20295d7d1..b696b57ff2 100644
--- a/math/libm-test-scalbn.inc
+++ b/math/libm-test-scalbn.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_fi_f_data scalbn_test_data[] =
{
TEST_fi_f (scalbn, 0, 0, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
@@ -99,6 +101,13 @@ ldexp_test (void)
ALL_RM_TEST (ldexp, 1, scalbn_test_data, RUN_TEST_LOOP_fi_f, END);
}
+static void
+do_test (void)
+{
+ scalbn_test ();
+ ldexp_test ();
+}
+
/*
* Local Variables:
* mode:c