Skip to content

Commit 85421d2

Browse files
committed
Explicitly depend on libc_errno.h in RoundToIntegerTest, clean up CMake.
1 parent 0d420f1 commit 85421d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ add_fp_unittest(
633633
HDRS
634634
SubTest.h
635635
DEPENDS
636-
libc.src.errno.errno
636+
libc.hdr.errno_macros
637637
libc.hdr.fenv_macros
638638
libc.src.math.dsubl
639639
libc.src.__support.macros.properties.os
@@ -5043,7 +5043,6 @@ add_fp_unittest(
50435043
SRCS
50445044
pow_test.cpp
50455045
DEPENDS
5046-
libc.src.errno.errno
50475046
libc.hdr.fenv_macros
50485047
libc.src.math.pow
50495048
)

libc/test/src/math/smoke/RoundToIntegerTest.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "src/__support/CPP/algorithm.h"
1313
#include "src/__support/FPUtil/FEnvImpl.h"
1414
#include "src/__support/FPUtil/FPBits.h"
15+
#include "src/__support/libc_errno.h"
1516
#include "test/UnitTest/FEnvSafeTest.h"
1617
#include "test/UnitTest/FPMatcher.h"
1718
#include "test/UnitTest/Test.h"

0 commit comments

Comments
 (0)