diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-05-21 13:52:53 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-05-21 16:53:27 -0300 |
commit | ce6cdb94d0769e99d0779b6283f543d333553461 (patch) | |
tree | 278e20aee32efb20fc2dd9b783b104f07992c5b6 /Makeconfig | |
parent | 85472c20a55ea2a49a7fbdf71652b4009118b0ae (diff) | |
download | glibc-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 'Makeconfig')
-rw-r--r-- | Makeconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig index 9fe664ae3a..29819363da 100644 --- a/Makeconfig +++ b/Makeconfig @@ -768,6 +768,11 @@ run-built-tests = yes endif endif +# Whether to build the static math tests +ifndef build-math-static-tests +build-math-static-tests = no +endif + # Whether to stop immediately when a test fails. Nonempty means to # stop, empty means not to stop. ifndef stop-on-test-failure |