2 changes: 1 addition & 1 deletion libc/test/src/__support/CPP/atomic_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/CPP/atomic.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

// Tests in this file do not test atomicity as it would require using
// threads, at which point it becomes a chicken and egg problem.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/CPP/bitset_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/CPP/bitset.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcBitsetTest, SetBitForSizeEqualToOne) {
__llvm_libc::cpp::bitset<1> bitset;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/CPP/cstddef_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/CPP/cstddef.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace __llvm_libc::cpp {

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/CPP/integer_sequence_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/CPP/utility.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

using namespace __llvm_libc::cpp;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/CPP/limits_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/__support/CPP/limits.h"
#include "src/__support/UInt.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace __llvm_libc {

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/CPP/optional_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/CPP/optional.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::cpp::nullopt;
using __llvm_libc::cpp::optional;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/CPP/span_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/__support/CPP/array.h"
#include "src/__support/CPP/span.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::cpp::array;
using __llvm_libc::cpp::span;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/CPP/stringstream_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/__support/CPP/span.h"
#include "src/__support/CPP/stringstream.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::cpp::span;
using __llvm_libc::cpp::StringStream;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/CPP/stringview_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/CPP/string_view.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::cpp::string_view;

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/__support/FPUtil/dyadic_float_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/dyadic_float.h"
#include "src/__support/UInt.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

using Float128 = __llvm_libc::fputil::DyadicFloat<128>;
using Float192 = __llvm_libc::fputil::DyadicFloat<192>;
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/__support/File/file_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "src/__support/CPP/new.h"
#include "src/__support/File/file.h"
#include "src/__support/error_or.h"
#include "utils/UnitTest/MemoryMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/MemoryMatcher.h"
#include "test/UnitTest/Test.h"

#include <stdio.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/File/platform_file_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/File/file.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <stdio.h> // For SEEK_* macros

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/__support/CPP/functional.h"
#include "src/__support/OSUtil/syscall.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcX86_64_SyscallTest, APITest) {
// We only do a signature test here. Actual functionality tests are
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/arg_list_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/__support/arg_list.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

int get_nth_int(int n, ...) {
va_list vlist;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/blockstore_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/blockstore.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

struct Element {
int a;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/char_vector_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/char_vector.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::CharVector;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/endian_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/endian.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace __llvm_libc {

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/fixedvector_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/fixedvector.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcFixedVectorTest, PushAndPop) {
__llvm_libc::FixedVector<int, 20> fixed_vector;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/high_precision_decimal_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/__support/UInt128.h"
#include "src/__support/high_precision_decimal.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcHighPrecisionDecimalTest, BasicInit) {
__llvm_libc::internal::HighPrecisionDecimal hpd =
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/integer_to_string_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/__support/CPP/string_view.h"
#include "src/__support/integer_to_string.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include "limits.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/str_to_float_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/__support/UInt128.h"
#include "src/__support/str_to_float.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

class LlvmLibcStrToFloatTest : public __llvm_libc::testing::Test {
public:
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/__support/uint_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/__support/CPP/optional.h"
#include "src/__support/UInt.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

// We want to test __llvm_libc::cpp::UInt<128> explicitly. So, for convenience,
// we use a sugar which does not conflict with the UInt128 type which can
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/assert/assert_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#undef NDEBUG
#include "src/assert/assert.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

extern "C" int close(int);

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/isalnum_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/ctype/isalnum.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsAlNum, DefaultLocale) {
// Loops through all characters, verifying that numbers and letters
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/isalpha_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/ctype/isalpha.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsAlpha, DefaultLocale) {
// Loops through all characters, verifying that letters return a
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/isascii_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include "src/ctype/isascii.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/isblank_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/isblank.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsBlank, DefaultLocale) {
// Loops through all characters, verifying that space and horizontal tab
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/iscntrl_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/iscntrl.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsCntrl, DefaultLocale) {
// Loops through all characters, verifying that control characters
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/isdigit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/ctype/isdigit.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsDigit, DefaultLocale) {
// Loops through all characters, verifying that numbers return a
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/isgraph_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/isgraph.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsGraph, DefaultLocale) {
// Loops through all characters, verifying that graphical characters
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/islower_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/islower.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsLower, DefaultLocale) {
// Loops through all characters, verifying that lowercase letters
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/isprint_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/isprint.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsPrint, DefaultLocale) {
for (int ch = 0; ch < 255; ++ch) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/ispunct_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/ispunct.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

// Helper function to mark the sections of the ASCII table that are
// punctuation characters. These are listed below:
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/isspace_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/isspace.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsSpace, DefaultLocale) {
// Loops through all characters, verifying that space characters
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/isupper_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/isupper.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsUpper, DefaultLocale) {
// Loops through all characters, verifying that uppercase letters
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/isxdigit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/isxdigit.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcIsXDigit, DefaultLocale) {
for (int ch = 0; ch < 255; ++ch) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/toascii_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/ctype/toascii.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcToAscii, DefaultLocale) {
// Loops through all characters, verifying that ascii characters
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/tolower_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/tolower.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcToLower, DefaultLocale) {
for (int ch = 0; ch < 255; ++ch) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/ctype/toupper_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/ctype/toupper.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcToUpper, DefaultLocale) {
for (int ch = 0; ch < 255; ++ch) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/dirent/dirent_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "src/dirent/opendir.h"
#include "src/dirent/readdir.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <dirent.h>
#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/errno/errno_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/errno/llvmlibc_errno.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcErrnoTest, Basic) {
int test_val = 123;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/fcntl/creat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/fcntl/open.h"
#include "src/unistd/close.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/fcntl/openat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/close.h"
#include "src/unistd/read.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/fenv/enabled_exceptions_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

#include "src/__support/FPUtil/FEnvImpl.h"
#include "src/__support/macros/architectures.h"
#include "utils/UnitTest/FPExceptMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPExceptMatcher.h"
#include "test/UnitTest/Test.h"

#include <fenv.h>
#include <signal.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/fenv/exception_flags_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/fenv/fesetexceptflag.h"

#include "src/__support/FPUtil/FEnvImpl.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <fenv.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/fenv/exception_status_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/fenv/fetestexcept.h"

#include "src/__support/FPUtil/FEnvImpl.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <fenv.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/fenv/feclearexcept_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/fenv/feclearexcept.h"

#include "src/__support/FPUtil/FEnvImpl.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <fenv.h>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/fenv/feenableexcept_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/fenv/feenableexcept.h"
#include "src/fenv/fegetexcept.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <fenv.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/fenv/feholdexcept_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

#include "src/__support/FPUtil/FEnvImpl.h"
#include "src/__support/macros/architectures.h"
#include "utils/UnitTest/FPExceptMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPExceptMatcher.h"
#include "test/UnitTest/Test.h"

#include <fenv.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/fenv/feupdateenv_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/fenv/feupdateenv.h"

#include "src/__support/FPUtil/FEnvImpl.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <fenv.h>
#include <signal.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/fenv/getenv_and_setenv_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "src/fenv/fesetround.h"

#include "src/__support/FPUtil/FEnvImpl.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <fenv.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/fenv/rounding_mode_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/fenv/fegetround.h"
#include "src/fenv/fesetround.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <fenv.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/inttypes/imaxabs_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/inttypes/imaxabs.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcImaxAbsTest, Zero) {
EXPECT_EQ(__llvm_libc::imaxabs(0), intmax_t(0));
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/inttypes/strtoimax_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/inttypes/strtoimax.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include "test/src/stdlib/StrtolTest.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/inttypes/strtoumax_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/inttypes/strtoumax.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include "test/src/stdlib/StrtolTest.h"

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/CeilTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/CopySignTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/FAbsTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/FDimTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

#include "src/__support/FPUtil/BasicOperations.h"
#include "src/__support/FPUtil/FPBits.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include <math.h>

template <typename T>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/FMaxTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/FMinTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/FModTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

#include "src/__support/FPUtil/BasicOperations.h"
#include "src/__support/FPUtil/NearestIntegerOperations.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"

#include <limits>
#include <math.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/FloorTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/FmaTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#define LLVM_LIBC_TEST_SRC_MATH_FMATEST_H

#include "src/__support/FPUtil/FPBits.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "utils/testutils/RandUtils.h"

namespace mpfr = __llvm_libc::testing::mpfr;
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/FrexpTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//

#include "src/__support/FPUtil/BasicOperations.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/HypotTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#define LLVM_LIBC_TEST_SRC_MATH_HYPOTTEST_H

#include "src/__support/FPUtil/FPBits.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/ILogbTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/ManipulationFunctions.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include <math.h>

#include <limits.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/LdExpTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/NormalFloat.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"

#include <limits.h>
#include <math.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/LogbTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//

#include "src/__support/FPUtil/ManipulationFunctions.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/ModfTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/BasicOperations.h"
#include "src/__support/FPUtil/NearestIntegerOperations.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/NextAfterTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include "src/__support/CPP/type_traits.h"
#include "src/__support/FPUtil/BasicOperations.h"
#include "src/__support/FPUtil/FPBits.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include <math.h>

template <typename T>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/RIntTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

#include "src/__support/FPUtil/FEnvImpl.h"
#include "src/__support/FPUtil/FPBits.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <fenv.h>
#include <math.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/RemQuoTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

#include "src/__support/FPUtil/BasicOperations.h"
#include "src/__support/FPUtil/FPBits.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

namespace mpfr = __llvm_libc::testing::mpfr;
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/RoundTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/RoundToIntegerTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

#include "src/__support/FPUtil/FEnvImpl.h"
#include "src/__support/FPUtil/FPBits.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <errno.h>
#include <math.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/SqrtTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//

#include "src/__support/CPP/bit.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/TruncTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/acosf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/acosf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/acoshf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/acoshf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/asin_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//

#include "src/math/asin.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/asinf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/asinf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/asinhf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/asinhf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/atanf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/atanf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/atanhf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/atanhf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/cos_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//

#include "src/math/cos.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/cosf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/cosf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "test/src/math/sdcomp26094.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/coshf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#include "src/__support/CPP/array.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/coshf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/cosf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/cosf.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

#include <thread>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/coshf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/coshf.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

#include <thread>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/exhaustive_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

#include "src/__support/CPP/type_traits.h"
#include "src/__support/FPUtil/FPBits.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/Test.h"

// To test exhaustively for inputs in the range [start, stop) in parallel:
// 1. Inherit from LlvmLibcExhaustiveTest class
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/exp10f_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/exp10f.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

#include <thread>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/exp2f_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/exp2f.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

using FPBits = __llvm_libc::fputil::FPBits<float>;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/expf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/expf.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

#include <thread>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/expm1f_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/expm1f.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

#include <thread>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/exhaustive/fmod_generic_impl_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//
#include "src/__support/CPP/type_traits.h"
#include "src/__support/FPUtil/generic/FMod.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <array>
#include <limits>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/hypotf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/Hypot.h"
#include "src/math/hypotf.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

using FPBits = __llvm_libc::fputil::FPBits<float>;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/log10f_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/log10f.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

using FPBits = __llvm_libc::fputil::FPBits<float>;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/log1pf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/log1pf.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

using FPBits = __llvm_libc::fputil::FPBits<float>;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/log2f_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/log2f.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

using FPBits = __llvm_libc::fputil::FPBits<float>;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/logf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/logf.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

using FPBits = __llvm_libc::fputil::FPBits<float>;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/sincosf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/sincosf.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

#include <thread>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/sinf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/sinf.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

#include <thread>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/sinhf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/sinhf.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

#include <thread>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/math/exhaustive/tanf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include "exhaustive_test.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/tanf.h"
#include "test/UnitTest/FPMatcher.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"

#include <thread>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/exp10f_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/exp10f.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/exp2f_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/exp2f.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/expf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/expf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/explogxf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#include "in_float_range_test_helper.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/generic/explogxf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

namespace mpfr = __llvm_libc::testing::mpfr;
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/expm1f_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/expm1f.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/fdim_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/fdim.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include <math.h>

using LlvmLibcFDimTest = FDimTestTemplate<double>;
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/fdimf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/fdimf.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include <math.h>

using LlvmLibcFDimTest = FDimTestTemplate<float>;
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/fdiml_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/fdiml.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include <math.h>

using LlvmLibcFDimTest = FDimTestTemplate<long double>;
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/ilogb_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/ManipulationFunctions.h"
#include "src/math/ilogb.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include <math.h>

TEST_F(LlvmLibcILogbTest, SpecialNumbers_ilogb) {
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/ilogbf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/ManipulationFunctions.h"
#include "src/math/ilogbf.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include <math.h>

TEST_F(LlvmLibcILogbTest, SpecialNumbers_ilogbf) {
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/ilogbl_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/ManipulationFunctions.h"
#include "src/math/ilogbl.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include <math.h>

using RunContext = __llvm_libc::testing::RunContext;
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/inv_trigf_utils_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#include "in_float_range_test_helper.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/generic/inv_trigf_utils.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

namespace mpfr = __llvm_libc::testing::mpfr;
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/log10_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/log10.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "utils/testutils/StreamWrapper.h"
#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/log10f_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/log10f.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/log1pf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/log1pf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/log2f_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/log2f.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/logf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/logf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/mod_k_pi_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//

#include "src/math/generic/dp_trig.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/pow_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//

#include "src/math/pow.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/sin_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/sin.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/sincosf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/sincosf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "test/src/math/sdcomp26094.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/sinf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/sinf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "test/src/math/sdcomp26094.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/sinhf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#include "src/__support/CPP/array.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/math/sinhf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/tan_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//

#include "src/math/tan.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"

#include <math.h>

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/tanf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/tanf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "test/src/math/sdcomp26094.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/math/tanhf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/math/tanhf.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include <math.h>

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/pthread/pthread_attr_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "src/pthread/pthread_attr_setstack.h"
#include "src/pthread/pthread_attr_setstacksize.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <linux/param.h> // For EXEC_PAGESIZE.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/pthread/pthread_mutexattr_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "src/pthread/pthread_mutexattr_setpshared.h"
#include "src/pthread/pthread_mutexattr_setrobust.h"
#include "src/pthread/pthread_mutexattr_settype.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <pthread.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/setjmp/setjmp_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/setjmp/longjmp.h"
#include "src/setjmp/setjmp_impl.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

jmp_buf buf;
constexpr int MAX_LOOP = 123;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/signal/kill_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "include/sys/syscall.h" // For syscall numbers.
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <signal.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/signal/raise_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "include/signal.h"
#include "src/signal/raise.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcSignalTest, Raise) {
// SIGCONT is ingored unless stopped, so we can use it to check the return
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/signal/sigaction_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/signal/sigaction.h"

#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <signal.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/signal/sigaddset_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/signal/sigaddset.h"

#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

// This tests invalid inputs and ensures errno is properly set.
TEST(LlvmLibcSignalTest, SigaddsetInvalid) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/signal/sigaltstack_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "src/signal/sigaltstack.h"

#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <signal.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/signal/sigdelset_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "src/signal/sigprocmask.h"

#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcSigdelset, Invalid) {
using __llvm_libc::testing::ErrnoSetterMatcher::Fails;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/signal/sigfillset_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "src/signal/sigprocmask.h"

#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcSigfillset, Invalid) {
using __llvm_libc::testing::ErrnoSetterMatcher::Fails;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/signal/signal_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "src/signal/signal.h"

#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::testing::ErrnoSetterMatcher::Fails;
using __llvm_libc::testing::ErrnoSetterMatcher::Succeeds;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/signal/sigprocmask_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "src/signal/sigprocmask.h"

#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

class LlvmLibcSignalTest : public __llvm_libc::testing::Test {
sigset_t oldSet;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/spawn/posix_spawn_file_actions_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "src/spawn/posix_spawn_file_actions_addopen.h"
#include "src/spawn/posix_spawn_file_actions_destroy.h"
#include "src/spawn/posix_spawn_file_actions_init.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <spawn.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/fgetc_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "src/stdio/fopen.h"
#include "src/stdio/fwrite.h"
#include "src/stdio/getc.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/fgetc_unlocked_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "src/stdio/funlockfile.h"
#include "src/stdio/fwrite.h"
#include "src/stdio/getc_unlocked.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/fgets_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "src/stdio/fgets.h"
#include "src/stdio/fopen.h"
#include "src/stdio/fwrite.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/fileop_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "src/stdio/fread.h"
#include "src/stdio/fseek.h"
#include "src/stdio/fwrite.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/stdio/fopencookie_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include "src/stdio/fread.h"
#include "src/stdio/fseek.h"
#include "src/stdio/fwrite.h"
#include "utils/UnitTest/MemoryMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/MemoryMatcher.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/fprintf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include "src/stdio/fprintf.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/fscanf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include "src/stdio/fscanf.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/ftell_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "src/stdio/ftell.h"
#include "src/stdio/fwrite.h"
#include "src/stdio/setvbuf.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/printf_core/converter_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/stdio/printf_core/string_writer.h"
#include "src/stdio/printf_core/writer.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

class LlvmLibcPrintfConverterTest : public __llvm_libc::testing::Test {
protected:
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/stdio/printf_core/parser_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

#include <stdarg.h>

#include "utils/UnitTest/PrintfMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/PrintfMatcher.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::cpp::string_view;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/printf_core/string_writer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/stdio/printf_core/string_writer.h"
#include "src/stdio/printf_core/writer.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::cpp::string_view;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/printf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/stdio/printf.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcPrintfTest, PrintOut) {
int written;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/putc_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include "src/stdio/putc.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/puts_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/stdio/puts.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcPutsTest, PrintOut) {
int result;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/remove_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "src/unistd/access.h"
#include "src/unistd/close.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/scanf_core/converter_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "src/stdio/scanf_core/reader.h"
#include "src/stdio/scanf_core/string_reader.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcScanfConverterTest, RawMatchBasic) {
const char *str = "abcdef";
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/stdio/scanf_core/parser_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

#include <stdarg.h>

#include "utils/UnitTest/ScanfMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/ScanfMatcher.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::cpp::string_view;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/scanf_core/string_reader_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/stdio/scanf_core/reader.h"
#include "src/stdio/scanf_core/string_reader.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcScanfStringReaderTest, Constructor) {
char str[10];
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/setbuf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "src/stdio/fwrite.h"
#include "src/stdio/setbuf.h"
#include "src/stdio/ungetc.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <stdio.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/setvbuf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/stdio/fread.h"
#include "src/stdio/fwrite.h"
#include "src/stdio/setvbuf.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/snprintf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/stdio/snprintf.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

// The sprintf test cases cover testing the shared printf functionality, so
// these tests will focus on snprintf exclusive features.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/sprintf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/PlatformDefs.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/RoundingModeUtils.h"

// #include <stdio.h>
Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/stdio/sscanf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

#include <stdio.h> // For EOF

#include "utils/UnitTest/FPMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/FPMatcher.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcSScanfTest, SimpleStringConv) {
int ret_val;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/ungetc_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "src/stdio/fseek.h"
#include "src/stdio/fwrite.h"
#include "src/stdio/ungetc.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <stdio.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdio/unlocked_fileop_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "src/stdio/fread_unlocked.h"
#include "src/stdio/funlockfile.h"
#include "src/stdio/fwrite_unlocked.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/AtoiTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/CPP/type_traits.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <limits.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/DivTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

template <typename IntType, typename ReturnType>
class DivTest : public __llvm_libc::testing::Test {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/StrtolTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/__support/CPP/limits.h"
#include "src/__support/CPP/type_traits.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/_Exit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "include/stdlib.h"
#include "src/stdlib/_Exit.h"
#include "src/stdlib/exit.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStdlib, _Exit) {
EXPECT_EXITS([] { __llvm_libc::_Exit(1); }, 1);
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/abort_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "include/signal.h"
#include "include/stdlib.h"
#include "src/stdlib/abort.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStdlib, abort) {
// -1 matches against any signal, which is necessary for now until
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/abs_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/stdlib/abs.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcAbsTest, Zero) { EXPECT_EQ(__llvm_libc::abs(0), 0); }

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/atexit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/__support/CPP/utility.h"
#include "src/stdlib/atexit.h"
#include "src/stdlib/exit.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

static int a;
TEST(LlvmLibcAtExit, Basic) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/atof_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/__support/FPUtil/FPBits.h"
#include "src/stdlib/atof.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/atoi_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

#include "src/stdlib/atoi.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

ATOI_TEST(Atoi, __llvm_libc::atoi)
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/atol_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

#include "src/stdlib/atol.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

ATOI_TEST(Atol, __llvm_libc::atol)
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/atoll_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

#include "src/stdlib/atoll.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

ATOI_TEST(Atoll, __llvm_libc::atoll)
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/bsearch_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/stdlib/bsearch.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <stdlib.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/labs_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/stdlib/labs.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcLabsTest, Zero) { EXPECT_EQ(__llvm_libc::labs(0l), 0l); }

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/llabs_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/stdlib/llabs.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcLlabsTest, Zero) { EXPECT_EQ(__llvm_libc::llabs(0ll), 0ll); }

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/qsort_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/stdlib/qsort.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <stdlib.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/rand_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/stdlib/rand.h"
#include "src/stdlib/srand.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <stddef.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/strtod_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/__support/FPUtil/FPBits.h"
#include "src/stdlib/strtod.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/RoundingModeUtils.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/strtof_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/__support/FPUtil/FPBits.h"
#include "src/stdlib/strtof.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/RoundingModeUtils.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/strtol_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/stdlib/strtol.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include "StrtolTest.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/strtold_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/__support/UInt128.h"
#include "src/stdlib/strtold.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/strtoll_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/stdlib/strtoll.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include "StrtolTest.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/strtoul_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/stdlib/strtoul.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include "StrtolTest.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/stdlib/strtoull_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/stdlib/strtoull.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include "StrtolTest.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/bcmp_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "memory_utils/memory_check_utils.h"
#include "src/string/bcmp.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace __llvm_libc {

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/string/bcopy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

#include "src/__support/CPP/span.h"
#include "src/string/bcopy.h"
#include "utils/UnitTest/MemoryMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/MemoryMatcher.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::cpp::array;
using __llvm_libc::cpp::span;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/bzero_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "memory_utils/memory_check_utils.h"
#include "src/string/bzero.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace __llvm_libc {

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/memccpy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/__support/CPP/span.h"
#include "src/string/memccpy.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include <stddef.h> // For size_t.

class LlvmLibcMemccpyTest : public __llvm_libc::testing::Test {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/memchr_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/memchr.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include <stddef.h>

// A helper function that calls memchr and abstracts away the explicit cast for
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/memcmp_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "memory_utils/memory_check_utils.h"
#include "src/string/memcmp.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace __llvm_libc {

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/memcpy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "memory_utils/memory_check_utils.h"
#include "src/string/memcpy.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace __llvm_libc {

Expand Down
4 changes: 2 additions & 2 deletions libc/test/src/string/memmove_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

#include "src/__support/CPP/span.h"
#include "src/string/memmove.h"
#include "utils/UnitTest/MemoryMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/MemoryMatcher.h"
#include "test/UnitTest/Test.h"

using __llvm_libc::cpp::array;
using __llvm_libc::cpp::span;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/memory_utils/op_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/string/memory_utils/op_builtin.h"
#include "src/string/memory_utils/op_generic.h"
#include "src/string/memory_utils/op_x86.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <assert.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/memory_utils/utils_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/__support/CPP/array.h"
#include "src/string/memory_utils/utils.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace __llvm_libc {

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/mempcpy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/mempcpy.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

// Since this function just calls out to memcpy, and memcpy has its own unit
// tests, it is assumed that memcpy works. These tests are just for the specific
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/memrchr_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/memrchr.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include <stddef.h>

// A helper function that calls memrchr and abstracts away the explicit cast for
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/memset_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "memory_utils/memory_check_utils.h"
#include "src/string/memset.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace __llvm_libc {

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/stpcpy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/stpcpy.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include "src/string/string_utils.h"

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/stpncpy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/__support/CPP/span.h"
#include "src/string/stpncpy.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include <stddef.h> // For size_t.

class LlvmLibcStpncpyTest : public __llvm_libc::testing::Test {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strcasecmp_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strcasecmp.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrCaseCmpTest, EmptyStringsShouldReturnZero) {
const char *s1 = "";
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strcasestr_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strcasestr.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrCaseStrTest, NeedleNotInHaystack) {
EXPECT_STREQ(__llvm_libc::strcasestr("abcd", "e"), nullptr);
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strcat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strcat.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrCatTest, EmptyDest) {
const char *abc = "abc";
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strchr_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strchr.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrChrTest, FindsFirstCharacter) {
const char *src = "abcde";
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strcmp_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strcmp.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrCmpTest, EmptyStringsShouldReturnZero) {
const char *s1 = "";
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strcoll_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strcoll.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

// TODO: Add more comprehensive tests once locale support is added.

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strcpy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strcpy.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrCpyTest, EmptySrc) {
const char *empty = "";
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strcspn_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/string/strcspn.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrCSpnTest, ComplementarySpanShouldNotGoPastNullTerminator) {
const char src[5] = {'a', 'b', '\0', 'c', 'd'};
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strdup_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strdup.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strerror_r_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strerror_r.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <stddef.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strerror_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strerror.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrErrorTest, KnownErrors) {
ASSERT_STREQ(__llvm_libc::strerror(0), "Success");
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strlcat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strlcat.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include <stdlib.h>

TEST(LlvmLibcStrlcatTest, TooBig) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strlcpy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strlcpy.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include <stdlib.h>

TEST(LlvmLibcStrlcpyTest, TooBig) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strlen_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strlen.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrLenTest, EmptyString) {
const char *empty = "";
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strncasecmp_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strncasecmp.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrNCaseCmpTest,
EmptyStringsShouldReturnZeroWithSufficientLength) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strncat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strncat.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrNCatTest, EmptyDest) {
const char *abc = "abc";
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strncmp_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strncmp.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

// This group is just copies of the strcmp tests, since all the same cases still
// need to be tested.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strncpy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/__support/CPP/span.h"
#include "src/string/strncpy.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include <stddef.h> // For size_t.

class LlvmLibcStrncpyTest : public __llvm_libc::testing::Test {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strndup_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strndup.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include <stdlib.h>

TEST(LlvmLibcstrndupTest, EmptyString) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strnlen_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strnlen.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include <stddef.h>

TEST(LlvmLibcStrNLenTest, EmptyString) {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strpbrk_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/string/strpbrk.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrPBrkTest, EmptyStringShouldReturnNullptr) {
// The search should not include the null terminator.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strrchr_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strrchr.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrRChrTest, FindsFirstCharacter) {
const char *src = "abcde";
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strsignal_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strsignal.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <signal.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strspn_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/string/strspn.h"

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrSpnTest, EmptyStringShouldReturnZeroLengthSpan) {
// The search should not include the null terminator.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strstr_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strstr.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrStrTest, NeedleNotInHaystack) {
const char *haystack = "12345";
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strtok_r_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strtok_r.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrTokReentrantTest, NoTokenFound) {
{ // Empty source and delimiter string.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/string/strtok_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/string/strtok.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcStrTokTest, NoTokenFound) {
char empty[] = "";
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/mman/linux/madvise_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/sys/mman/mmap.h"
#include "src/sys/mman/munmap.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <sys/mman.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/mman/linux/mmap_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/sys/mman/mmap.h"
#include "src/sys/mman/munmap.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <sys/mman.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/mman/linux/mprotect_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/sys/mman/mprotect.h"
#include "src/sys/mman/munmap.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <signal.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/mman/linux/posix_madvise_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/sys/mman/munmap.h"
#include "src/sys/mman/posix_madvise.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <sys/mman.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/random/linux/getrandom_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "src/math/fabs.h"
#include "src/sys/random/getrandom.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcGetRandomTest, InvalidFlag) {
using __llvm_libc::testing::ErrnoSetterMatcher::Fails;
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/resource/getrlimit_setrlimit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "src/unistd/close.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <sys/resource.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/select/select_failure_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/sys/select/select.h"
#include "src/unistd/read.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <sys/select.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/select/select_ui_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/sys/select/select.h"
#include "src/unistd/read.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <sys/select.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/sendfile/sendfile_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "src/unistd/unlink.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/stat/chmod_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/close.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/stat/fchmod_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/close.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/stat/fchmodat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/close.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/stat/fstat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/close.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/stat/lstat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/close.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/stat/mkdirat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/sys/stat/mkdirat.h"
#include "src/unistd/rmdir.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/stat/stat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/close.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/utsname/uname_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/__support/macros/architectures.h"
#include "src/sys/utsname/uname.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <sys/utsname.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/wait/wait4_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/sys/wait/wait4.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <sys/wait.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/sys/wait/waitpid_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/sys/wait/waitpid.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <sys/wait.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/termios/termios_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "src/termios/tcsetattr.h"
#include "src/unistd/close.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <termios.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/TmMatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include <time.h>

#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace __llvm_libc {
namespace tmmatcher {
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/asctime_r_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

#include "src/time/asctime_r.h"
#include "src/time/time_utils.h"
#include "test/UnitTest/Test.h"
#include "test/src/time/TmHelper.h"
#include "utils/UnitTest/Test.h"

using __llvm_libc::time_utils::TimeConstants;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/asctime_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//===----------------------------------------------------------------------===//

#include "src/time/asctime.h"
#include "test/UnitTest/Test.h"
#include "test/src/time/TmHelper.h"
#include "utils/UnitTest/Test.h"

static inline char *call_asctime(struct tm *tm_data, int year, int month,
int mday, int hour, int min, int sec, int wday,
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/clock_gettime_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/time/clock_gettime.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <time.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/clock_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/time/clock.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/difftime_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/time/difftime.h"
#include "src/time/time_utils.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/gettimeofday_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "src/time/gettimeofday.h"
#include "src/time/nanosleep.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace cpp = __llvm_libc::cpp;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/gmtime_r_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

#include "src/time/gmtime_r.h"
#include "src/time/time_utils.h"
#include "test/UnitTest/Test.h"
#include "test/src/time/TmMatcher.h"
#include "utils/UnitTest/Test.h"

using __llvm_libc::time_utils::TimeConstants;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/gmtime_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "src/time/gmtime.h"
#include "src/time/time_utils.h"
#include "test/ErrnoSetterMatcher.h"
#include "test/UnitTest/Test.h"
#include "test/src/time/TmMatcher.h"
#include "utils/UnitTest/Test.h"

#include <errno.h>
#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/mktime_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#include "src/time/mktime.h"
#include "src/time/time_utils.h"
#include "test/ErrnoSetterMatcher.h"
#include "test/UnitTest/Test.h"
#include "test/src/time/TmHelper.h"
#include "test/src/time/TmMatcher.h"
#include "utils/UnitTest/Test.h"

#include <errno.h>
#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/nanosleep_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "src/time/nanosleep.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

namespace cpp = __llvm_libc::cpp;

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/time/time_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/time/time_func.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/access_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/close.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/chdir_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/unistd/chdir.h"
#include "src/unistd/close.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/dup2_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "src/unistd/unlink.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/dup3_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "src/unistd/unlink.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/dup_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "src/unistd/unlink.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/fchdir_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/unistd/close.h"
#include "src/unistd/fchdir.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/ftruncate_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "src/unistd/unlink.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/geteuid_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/unistd/geteuid.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcGetEuidTest, SmokeTest) {
// geteuid always succeeds. So, we just call it as a smoke test.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/getopt_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/unistd/getopt.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include "src/__support/CPP/array.h"
#include "src/stdio/fflush.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/getpid_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/unistd/getpid.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcGetPidTest, SmokeTest) {
// getpid always succeeds. So, we just call it as a smoke test.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/getppid_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/unistd/getppid.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcGetPpidTest, SmokeTest) {
// getppid always succeeds. So, we just call it as a smoke test.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/getuid_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/unistd/getuid.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

TEST(LlvmLibcGetUidTest, SmokeTest) {
// getuid always succeeds. So, we just call it as a smoke test.
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/isatty_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/unistd/close.h"
#include "src/unistd/isatty.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/link_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/link.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/linkat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/linkat.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/lseek_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/lseek.h"
#include "src/unistd/read.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/pread_pwrite_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "src/unistd/unlink.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/read_write_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "src/unistd/read.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/readlink_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/symlink.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/readlinkat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/symlink.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <fcntl.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/rmdir_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/sys/stat/mkdir.h"
#include "src/unistd/rmdir.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/symlink_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/symlink.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/symlinkat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/symlinkat.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/syscall_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "src/unistd/syscall.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>
#include <fcntl.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/sysconf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/unistd/sysconf.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <unistd.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/truncate_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "src/unistd/unlink.h"
#include "src/unistd/write.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <errno.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/unlink_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "src/unistd/close.h"
#include "src/unistd/unlink.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/unistd/unlinkat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/unistd/close.h"
#include "src/unistd/unlinkat.h"
#include "test/ErrnoSetterMatcher.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/FDReader.h"

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/test/utils/FPUtil/x86_long_double_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//

#include "src/__support/FPUtil/FPBits.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"

#include <math.h>

Expand Down
2 changes: 1 addition & 1 deletion libc/test/utils/UnitTest/testfilter_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

#include "utils/UnitTest/LibcTest.h"
#include "test/UnitTest/LibcTest.h"

TEST(LlvmLibcTestFilterTest, CorrectFilter) {}

Expand Down
6 changes: 0 additions & 6 deletions libc/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
add_subdirectory(MPFRWrapper)
add_subdirectory(testutils)
add_subdirectory(UnitTest)

if(LLVM_LIBC_FULL_BUILD AND NOT
(LIBC_TARGET_ARCHITECTURE_IS_GPU OR LIBC_TARGET_OS_IS_BAREMETAL))
add_subdirectory(IntegrationTest)
endif()
2 changes: 1 addition & 1 deletion libc/utils/MPFRWrapper/MPFRUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "src/__support/CPP/string_view.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/PlatformDefs.h"
#include "utils/UnitTest/FPMatcher.h"
#include "test/UnitTest/FPMatcher.h"

#include <cmath>
#include <fenv.h>
Expand Down
2 changes: 1 addition & 1 deletion libc/utils/MPFRWrapper/MPFRUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define LLVM_LIBC_UTILS_TESTUTILS_MPFRUTILS_H

#include "src/__support/CPP/type_traits.h"
#include "utils/UnitTest/Test.h"
#include "test/UnitTest/Test.h"
#include "utils/testutils/RoundingModeUtils.h"

#include <stdint.h>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def libc_test(name, srcs, libc_function_deps, deps = [], **kwargs):
srcs = srcs,
deps = [d + INTERNAL_SUFFIX for d in libc_function_deps] + [
"//libc:libc_root",
"//libc/utils/UnitTest:LibcUnitTest",
"//libc/test/UnitTest:LibcUnitTest",
] + deps,
features = ["-link_llvmlibc"], # Do not link libllvmlibc.a
**kwargs
Expand Down
Loading