Skip to content

Commit 2d637ad

Browse files
committed
Sync and remove remaining libc.include.math in tests.
1 parent e6fdd20 commit 2d637ad

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

libc/test/src/math/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ add_fp_unittest(
618618
exp_test.cpp
619619
DEPENDS
620620
libc.src.errno.errno
621-
libc.include.math
622621
libc.src.math.exp
623622
libc.src.__support.FPUtil.fp_bits
624623
)
@@ -645,7 +644,6 @@ add_fp_unittest(
645644
exp2_test.cpp
646645
DEPENDS
647646
libc.src.errno.errno
648-
libc.include.math
649647
libc.src.math.exp2
650648
libc.src.__support.FPUtil.fp_bits
651649
)
@@ -658,7 +656,6 @@ add_fp_unittest(
658656
SRCS
659657
exp2m1f_test.cpp
660658
DEPENDS
661-
libc.include.llvm-libc-macros.math_macros
662659
libc.src.errno.errno
663660
libc.src.math.exp2m1f
664661
libc.src.__support.CPP.array
@@ -687,7 +684,6 @@ add_fp_unittest(
687684
exp10_test.cpp
688685
DEPENDS
689686
libc.src.errno.errno
690-
libc.include.math
691687
libc.src.math.exp10
692688
libc.src.__support.FPUtil.fp_bits
693689
)
@@ -1338,7 +1334,6 @@ add_fp_unittest(
13381334
expm1_test.cpp
13391335
DEPENDS
13401336
libc.src.errno.errno
1341-
libc.include.math
13421337
libc.src.math.expm1
13431338
libc.src.__support.FPUtil.fp_bits
13441339
)
@@ -1352,7 +1347,6 @@ add_fp_unittest(
13521347
log_test.cpp
13531348
DEPENDS
13541349
libc.src.errno.errno
1355-
libc.include.math
13561350
libc.src.math.log
13571351
libc.src.__support.FPUtil.fp_bits
13581352
)
@@ -1379,7 +1373,6 @@ log2_test
13791373
log2_test.cpp
13801374
DEPENDS
13811375
libc.src.errno.errno
1382-
libc.include.math
13831376
libc.src.math.log2
13841377
libc.src.__support.FPUtil.fp_bits
13851378
)
@@ -1406,7 +1399,6 @@ add_fp_unittest(
14061399
log10_test.cpp
14071400
DEPENDS
14081401
libc.src.errno.errno
1409-
libc.include.math
14101402
libc.src.math.log10
14111403
libc.src.__support.FPUtil.fp_bits
14121404
)
@@ -1433,7 +1425,6 @@ log1p_test
14331425
log1p_test.cpp
14341426
DEPENDS
14351427
libc.src.errno.errno
1436-
libc.include.math
14371428
libc.src.math.log1p
14381429
libc.src.__support.FPUtil.fp_bits
14391430
)

libc/test/src/math/exp2m1f_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "include/llvm-libc-macros/math-macros.h"
9+
#include "hdr/math_macros.h"
1010
#include "src/__support/CPP/array.h"
1111
#include "src/__support/FPUtil/FPBits.h"
1212
#include "src/errno/libc_errno.h"

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,6 @@ add_fp_unittest(
753753
exp_test.cpp
754754
DEPENDS
755755
libc.src.errno.errno
756-
libc.include.math
757756
libc.src.math.exp
758757
libc.src.__support.FPUtil.fp_bits
759758
)
@@ -778,7 +777,6 @@ add_fp_unittest(
778777
exp2_test.cpp
779778
DEPENDS
780779
libc.src.errno.errno
781-
libc.include.math
782780
libc.src.math.exp2
783781
libc.src.__support.FPUtil.fp_bits
784782
)
@@ -814,7 +812,6 @@ add_fp_unittest(
814812
exp10_test.cpp
815813
DEPENDS
816814
libc.src.errno.errno
817-
libc.include.math
818815
libc.src.math.exp10
819816
libc.src.__support.FPUtil.fp_bits
820817
)

0 commit comments

Comments
 (0)