Skip to content

Commit fadca25

Browse files
committed
Reduce libc_errno usage in fmod smoke tests.
1 parent 4ba9ec2 commit fadca25

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4438,8 +4438,8 @@ add_fp_unittest(
44384438
HDRS
44394439
FModTest.h
44404440
DEPENDS
4441+
libc.hdr.errno_macros
44414442
libc.hdr.fenv_macros
4442-
libc.src.errno.errno
44434443
libc.src.math.fmodf
44444444
libc.src.__support.FPUtil.fenv_impl
44454445
# FIXME: Currently fails on the GPU build.
@@ -4455,8 +4455,8 @@ add_fp_unittest(
44554455
HDRS
44564456
FModTest.h
44574457
DEPENDS
4458+
libc.hdr.errno_macros
44584459
libc.hdr.fenv_macros
4459-
libc.src.errno.errno
44604460
libc.src.math.fmod
44614461
libc.src.__support.FPUtil.fenv_impl
44624462
# FIXME: Currently fails on the GPU build.
@@ -4472,8 +4472,8 @@ add_fp_unittest(
44724472
HDRS
44734473
FModTest.h
44744474
DEPENDS
4475+
libc.hdr.errno_macros
44754476
libc.hdr.fenv_macros
4476-
libc.src.errno.errno
44774477
libc.src.math.fmodl
44784478
libc.src.__support.FPUtil.fenv_impl
44794479
# FIXME: Currently fails on the GPU build.
@@ -4489,8 +4489,8 @@ add_fp_unittest(
44894489
HDRS
44904490
FModTest.h
44914491
DEPENDS
4492+
libc.hdr.errno_macros
44924493
libc.hdr.fenv_macros
4493-
libc.src.errno.errno
44944494
libc.src.math.fmodf16
44954495
libc.src.__support.FPUtil.fenv_impl
44964496
# FIXME: Currently fails on the GPU build.
@@ -4506,8 +4506,8 @@ add_fp_unittest(
45064506
HDRS
45074507
FModTest.h
45084508
DEPENDS
4509+
libc.hdr.errno_macros
45094510
libc.hdr.fenv_macros
4510-
libc.src.errno.errno
45114511
libc.src.math.fmodf128
45124512
libc.src.__support.FPUtil.fenv_impl
45134513
# FIXME: Currently fails on the GPU build.
@@ -4523,8 +4523,8 @@ add_fp_unittest(
45234523
HDRS
45244524
FModTest.h
45254525
DEPENDS
4526+
libc.hdr.errno_macros
45264527
libc.hdr.fenv_macros
4527-
libc.src.errno.errno
45284528
libc.src.math.fmodbf16
45294529
libc.src.__support.FPUtil.bfloat16
45304530
libc.src.__support.FPUtil.fenv_impl

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#ifndef LLVM_LIBC_TEST_SRC_MATH_FMODTEST_H
1010
#define LLVM_LIBC_TEST_SRC_MATH_FMODTEST_H
1111

12+
#include "hdr/errno_macros.h"
1213
#include "src/__support/FPUtil/FEnvImpl.h"
13-
#include "src/__support/libc_errno.h"
1414
#include "test/UnitTest/FEnvSafeTest.h"
1515
#include "test/UnitTest/FPMatcher.h"
1616
#include "test/UnitTest/Test.h"

0 commit comments

Comments
 (0)