]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
libmvec: Add extra-test-objs to test-extras
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 15 Jan 2021 02:39:24 +0000 (18:39 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Jan 2021 14:20:46 +0000 (06:20 -0800)
Add extra-test-objs to test-extras so that they are compiled with
-DMODULE_NAME=testsuite instead of -DMODULE_NAME=libc.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/x86_64/fpu/Makefile

index a4ff2723a8ad20a08dac1823a73131597c1bcbb0..9a4bdd075ce1932cd2cf5ec970652e1d59c7df1a 100644 (file)
@@ -31,6 +31,12 @@ libmvec-tests += double-vlen2 double-vlen4 double-vlen4-avx2 \
 tests += test-double-libmvec-sincos test-double-libmvec-sincos-avx \
         test-double-libmvec-sincos-avx2 test-float-libmvec-sincosf \
         test-float-libmvec-sincosf-avx test-float-libmvec-sincosf-avx2
+test-extras += test-double-libmvec-sincos-avx-main \
+                  test-double-libmvec-sincos-avx2-main \
+                  test-double-libmvec-sincos-main \
+                  test-float-libmvec-sincosf-avx-main \
+                  test-float-libmvec-sincosf-avx2-main \
+                  test-float-libmvec-sincosf-main
 extra-test-objs += test-double-libmvec-sincos-avx-main.o \
                   test-double-libmvec-sincos-avx2-main.o \
                   test-double-libmvec-sincos-main.o \
@@ -66,6 +72,8 @@ ifeq (yes,$(config-cflags-avx512))
 libmvec-tests += double-vlen8 float-vlen16
 tests += test-double-libmvec-sincos-avx512 \
         test-float-libmvec-sincosf-avx512
+test-extras += test-double-libmvec-sincos-avx512-main \
+              test-float-libmvec-sincosf-avx512-main
 extra-test-objs += test-double-libmvec-sincos-avx512-main.o \
                   test-float-libmvec-sincosf-avx512-main.o