diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-03-13 22:28:25 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-03-16 22:01:19 -0400 |
commit | fb42151a18a9727931f4298075d1e7a829ac2191 (patch) | |
tree | 092903041111f85d2d4103a39bf88cb22fd41d08 /newlib/libm/test/Makefile.inc | |
parent | 958833a0d3287bfdd4960a3e72cd11980bb9ca42 (diff) | |
download | newlib-fb42151a18a9727931f4298075d1e7a829ac2191.zip newlib-fb42151a18a9727931f4298075d1e7a829ac2191.tar.gz newlib-fb42151a18a9727931f4298075d1e7a829ac2191.tar.bz2 |
newlib: libm: integrate tests subdir
Integrate the old libm/test/ subdir into the main build. It hasn't
been used in a long time causing the code to rot a bit. I've fixed
some of those, but it still fails for many ports, so it's disabled
by default. People who want to take a closer look can run:
$ make libm/test/test
Diffstat (limited to 'newlib/libm/test/Makefile.inc')
-rw-r--r-- | newlib/libm/test/Makefile.inc | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/newlib/libm/test/Makefile.inc b/newlib/libm/test/Makefile.inc new file mode 100644 index 0000000..ddf09c9 --- /dev/null +++ b/newlib/libm/test/Makefile.inc @@ -0,0 +1,85 @@ +# Some of the tests in here depend on functionality that only a few ports +# provide. Disable building it by default until that's figured out. +#check_PROGRAMS += %D%/test +EXTRA_PROGRAMS += %D%/test + +%C%_test_SOURCES = \ + %D%/test.c \ + %D%/string.c \ + %D%/convert.c \ + %D%/conv_vec.c \ + %D%/iconv_vec.c \ + %D%/test_is.c \ + %D%/dvec.c \ + %D%/sprint_vec.c \ + %D%/sprint_ivec.c \ + %D%/math2.c \ + %D%/test_ieee.c \ + %D%/math.c \ + %D%/atan2_vec.c \ + %D%/atan2f_vec.c \ + %D%/jn_vec.c \ + %D%/jnf_vec.c \ + %D%/log2_vec.c \ + %D%/log2f_vec.c \ + %D%/yn_vec.c \ + %D%/ynf_vec.c \ + %D%/acos_vec.c \ + %D%/acosf_vec.c \ + %D%/acosh_vec.c \ + %D%/acoshf_vec.c \ + %D%/asin_vec.c \ + %D%/asinf_vec.c \ + %D%/asinh_vec.c \ + %D%/asinhf_vec.c \ + %D%/atan_vec.c \ + %D%/atanf_vec.c \ + %D%/atanh_vec.c \ + %D%/atanhf_vec.c \ + %D%/ceil_vec.c \ + %D%/ceilf_vec.c \ + %D%/cos_vec.c \ + %D%/cosf_vec.c \ + %D%/cosh_vec.c \ + %D%/coshf_vec.c \ + %D%/erf_vec.c \ + %D%/erfc_vec.c \ + %D%/erfcf_vec.c \ + %D%/erff_vec.c \ + %D%/exp_vec.c \ + %D%/expf_vec.c \ + %D%/fabs_vec.c \ + %D%/fabsf_vec.c \ + %D%/floor_vec.c \ + %D%/floorf_vec.c \ + %D%/gamma_vec.c \ + %D%/gammaf_vec.c \ + %D%/j0_vec.c \ + %D%/j0f_vec.c \ + %D%/j1_vec.c \ + %D%/j1f_vec.c \ + %D%/log10_vec.c \ + %D%/log10f_vec.c \ + %D%/log1p_vec.c \ + %D%/log1pf_vec.c \ + %D%/log_vec.c \ + %D%/logf_vec.c \ + %D%/sin_vec.c \ + %D%/sinf_vec.c \ + %D%/sinh_vec.c \ + %D%/sinhf_vec.c \ + %D%/sqrt_vec.c \ + %D%/sqrtf_vec.c \ + %D%/tan_vec.c \ + %D%/tanf_vec.c \ + %D%/tanh_vec.c \ + %D%/tanhf_vec.c \ + %D%/y0_vec.c \ + %D%/y0f_vec.c \ + %D%/y1_vec.c \ + %D%/y1f_vec.c \ + %D%/hypotf_vec.c \ + %D%/hypot_vec.c \ + %D%/fmod_vec.c \ + %D%/fmodf_vec.c +%C%_test_LDADD = $(CRT0) libm.a libc.a |