about summary refs log tree commit diff
path: root/math/test-float32-static.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-05-21 13:52:53 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-05-21 16:53:27 -0300
commitce6cdb94d0769e99d0779b6283f543d333553461 (patch)
tree278e20aee32efb20fc2dd9b783b104f07992c5b6 /math/test-float32-static.h
parent85472c20a55ea2a49a7fbdf71652b4009118b0ae (diff)
downloadglibc-ce6cdb94d0769e99d0779b6283f543d333553461.tar.gz
glibc-ce6cdb94d0769e99d0779b6283f543d333553461.tar.xz
glibc-ce6cdb94d0769e99d0779b6283f543d333553461.zip
math: Add support for auto static math tests
It basically copy the already in place rules for dynamic tests for
auto-generated math functions for all support types.  To avoid the
need to duplicate .inc files, a .SECONDEXPANSION rules is adeed for
the gen-libm-test.py generation.

New tests are added on the new rules 'libm-test-funcs-auto-static',
'libm-test-funcs-noauto-static', and 'libm-test-funcs-narrow-static';
similar to the non-static counterparts.

To avoid add extra build and disk requirement, the new math static
tests are only enable with a new define 'build-math-static-tests'.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'math/test-float32-static.h')
-rw-r--r--math/test-float32-static.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/test-float32-static.h b/math/test-float32-static.h
new file mode 100644
index 0000000000..2df27d1ca0
--- /dev/null
+++ b/math/test-float32-static.h
@@ -0,0 +1 @@
+#include "test-float32.h"