Skip to content

Commit 1e33fe2

Browse files
nit: cmake rules
Co-authored-by: OverMighty <[email protected]>
1 parent 6092968 commit 1e33fe2

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

libc/test/src/math/smoke/CMakeLists.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3667,10 +3667,14 @@ add_fp_unittest(
36673667
SRCS
36683668
nextafterbf16_test.cpp
36693669
HDRS
3670-
NextUpTest.h
3670+
NextAfterTest.h
36713671
DEPENDS
3672+
libc.hdr.fenv_macros
36723673
libc.src.math.nextafterbf16
3674+
libc.src.__support.CPP.bit
36733675
libc.src.__support.FPUtil.bfloat16
3676+
libc.src.__support.FPUtil.fenv_impl
3677+
libc.src.__support.FPUtil.fp_bits
36743678
)
36753679

36763680
# FIXME: These tests are currently spurious for the GPU.
@@ -3747,10 +3751,14 @@ add_fp_unittest(
37473751
SRCS
37483752
nexttowardbf16_test.cpp
37493753
HDRS
3750-
NextUpTest.h
3754+
NextTowardTest.h
37513755
DEPENDS
3756+
libc.hdr.fenv_macros
37523757
libc.src.math.nexttowardbf16
3758+
libc.src.__support.CPP.bit
37533759
libc.src.__support.FPUtil.bfloat16
3760+
libc.src.__support.FPUtil.fenv_impl
3761+
libc.src.__support.FPUtil.fp_bits
37543762
)
37553763

37563764
add_fp_unittest(
@@ -3820,7 +3828,7 @@ add_fp_unittest(
38203828
SRCS
38213829
nextdownbf16_test.cpp
38223830
HDRS
3823-
NextUpTest.h
3831+
NextDownTest.h
38243832
DEPENDS
38253833
libc.src.math.nextdownbf16
38263834
libc.src.__support.FPUtil.bfloat16

0 commit comments

Comments
 (0)