about summary refs log tree commit diff
path: root/math/libm-test-log2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test-log2.inc')
-rw-r--r--math/libm-test-log2.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/libm-test-log2.inc b/math/libm-test-log2.inc
index c232c36415..adae1f129b 100644
--- a/math/libm-test-log2.inc
+++ b/math/libm-test-log2.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 log2_test_data[] =
   {
     TEST_f_f (log2, 0, minus_infty, DIVIDE_BY_ZERO_EXCEPTION|ERRNO_ERANGE),
@@ -42,6 +44,12 @@ log2_test (void)
   ALL_RM_TEST (log2, 0, log2_test_data, RUN_TEST_LOOP_f_f, END);
 }
 
+static void
+do_test (void)
+{
+  log2_test ();
+}
+
 /*
  * Local Variables:
  * mode:c