about summary refs log tree commit diff
path: root/math/libm-test-cimag.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test-cimag.inc')
-rw-r--r--math/libm-test-cimag.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/libm-test-cimag.inc b/math/libm-test-cimag.inc
index a711f4cf53..569d20c5df 100644
--- a/math/libm-test-cimag.inc
+++ b/math/libm-test-cimag.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_c_f_data cimag_test_data[] =
   {
     TEST_c_f (cimag, 1.0, 0.0, 0.0, NO_INEXACT_EXCEPTION),
@@ -37,6 +39,12 @@ cimag_test (void)
   ALL_RM_TEST (cimag, 1, cimag_test_data, RUN_TEST_LOOP_c_f, END);
 }
 
+static void
+do_test (void)
+{
+  cimag_test ();
+}
+
 /*
  * Local Variables:
  * mode:c