forked from OSchip/llvm-project
[libc] add dependencies to generic sqrt tests
This adds dependencies on the corresponding sqrt function to each generic sqrt test. This is so that on platforms that don't support the math functions, the tests are not run. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D129388
This commit is contained in:
parent
bd8b55e609
commit
8bf8385ef0
|
@ -1004,6 +1004,7 @@ add_fp_unittest(
|
|||
SRCS
|
||||
generic_sqrtf_test.cpp
|
||||
DEPENDS
|
||||
libc.src.math.sqrtf
|
||||
libc.src.__support.FPUtil.fputil
|
||||
libc.src.__support.FPUtil.generic.sqrt
|
||||
COMPILE_OPTIONS
|
||||
|
@ -1018,6 +1019,7 @@ add_fp_unittest(
|
|||
SRCS
|
||||
generic_sqrt_test.cpp
|
||||
DEPENDS
|
||||
libc.src.math.sqrt
|
||||
libc.src.__support.FPUtil.fputil
|
||||
libc.src.__support.FPUtil.generic.sqrt
|
||||
COMPILE_OPTIONS
|
||||
|
@ -1032,6 +1034,7 @@ add_fp_unittest(
|
|||
SRCS
|
||||
generic_sqrtl_test.cpp
|
||||
DEPENDS
|
||||
libc.src.math.sqrtl
|
||||
libc.src.__support.FPUtil.fputil
|
||||
libc.src.__support.FPUtil.generic.sqrt
|
||||
COMPILE_OPTIONS
|
||||
|
|
Loading…
Reference in New Issue