aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test-trunc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test-trunc.inc')
-rw-r--r--math/libm-test-trunc.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/libm-test-trunc.inc b/math/libm-test-trunc.inc
index 97da772..88c9128 100644
--- a/math/libm-test-trunc.inc
+++ b/math/libm-test-trunc.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 trunc_test_data[] =
{
TEST_f_f (trunc, plus_infty, plus_infty, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
@@ -179,6 +181,12 @@ trunc_test (void)
ALL_RM_TEST (trunc, 1, trunc_test_data, RUN_TEST_LOOP_f_f, END);
}
+static void
+do_test (void)
+{
+ trunc_test ();
+}
+
/*
* Local Variables:
* mode:c