From ce6cdb94d0769e99d0779b6283f543d333553461 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 21 May 2024 13:52:53 -0300 Subject: 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 --- math/test-float-static.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 math/test-float-static.h (limited to 'math/test-float-static.h') diff --git a/math/test-float-static.h b/math/test-float-static.h new file mode 100644 index 0000000000..7834c9e1f1 --- /dev/null +++ b/math/test-float-static.h @@ -0,0 +1 @@ +#include "test-float.h" -- cgit v1.2.3