Skip to content

Commit 66800a7

Browse files
committed
feat: add tests for short fract
Signed-off-by: krishna2803 <[email protected]>
1 parent 02d120e commit 66800a7

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

libc/test/src/stdfix/CMakeLists.txt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,31 +75,30 @@ foreach(suffix IN ITEMS hr r lr hk k lk uhr ur ulr uhk uk ulk)
7575
)
7676

7777
add_libc_test(
78-
countls${suffix}_test
78+
bits${suffix}_test
7979
SUITE
8080
libc-stdfix-tests
8181
HDRS
82-
CountlsTest.h
82+
BitsFxTest.h
8383
SRCS
84-
countls${suffix}_test.cpp
84+
bits${suffix}_test.cpp
8585
DEPENDS
86-
libc.src.stdfix.countls${suffix}
86+
libc.src.stdfix.bits${suffix}
8787
libc.src.__support.fixed_point.fx_rep
8888
libc.src.__support.fixed_point.fx_bits
89+
libc.include.llvm-libc-macros.stdfix_macros
8990
)
90-
endforeach()
9191

92-
foreach(suffix IN ITEMS r lr hk k lk uhr ur ulr uhk uk ulk)
9392
add_libc_test(
94-
bits${suffix}_test
93+
countls${suffix}_test
9594
SUITE
9695
libc-stdfix-tests
9796
HDRS
98-
BitsFxTest.h
97+
CountlsTest.h
9998
SRCS
100-
bits${suffix}_test.cpp
99+
countls${suffix}_test.cpp
101100
DEPENDS
102-
libc.src.stdfix.bits${suffix}
101+
libc.src.stdfix.countls${suffix}
103102
libc.src.__support.fixed_point.fx_rep
104103
libc.src.__support.fixed_point.fx_bits
105104
)

0 commit comments

Comments
 (0)