libc.src.stdlib.atexit
libc.src.stdlib.exit
libc.src.unistd.environ
- libc.utils.IntegrationTest.test)
+ libc.test.IntegrationTest.test)
list(REMOVE_DUPLICATES fq_deps_list)
# TODO: Instead of gathering internal object files from entrypoints,
add_dependencies(${fq_target_name}
${fq_target_name}.__copy_startup__
${fq_libc_target_name}
- libc.utils.IntegrationTest.test
+ libc.test.IntegrationTest.test
${INTEGRATION_TEST_DEPENDS})
add_custom_command(
+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()
+
add_header_library(
errno_setter_matcher
HDRS
#ifndef LLVM_LIBC_TEST_ERRNOSETTERMATCHER_H
#define LLVM_LIBC_TEST_ERRNOSETTERMATCHER_H
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <errno.h>
add_dependencies(
LibcFPTestHelpers
LibcUnitTest
- libc.utils.UnitTest.string_utils
+ libc.test.UnitTest.string_utils
libc.src.__support.FPUtil.fp_bits
libc.src.__support.FPUtil.fenv_impl
)
LibcUnitTest
libc.src.__support.FPUtil.fp_bits
libc.src.stdio.printf_core.core_structs
- libc.utils.UnitTest.string_utils
+ libc.test.UnitTest.string_utils
)
add_library(
LibcUnitTest
libc.src.__support.FPUtil.fp_bits
libc.src.stdio.scanf_core.core_structs
- libc.utils.UnitTest.string_utils
+ libc.test.UnitTest.string_utils
)
#ifndef LLVM_LIBC_TEST_USE_FUCHSIA
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
namespace __llvm_libc {
namespace fputil {
#include "src/__support/FPUtil/FPBits.h"
-#include "utils/UnitTest/StringUtils.h"
+#include "test/UnitTest/StringUtils.h"
#include <sstream>
#include <string>
#include "src/__support/FPUtil/FEnvImpl.h"
#include "src/__support/FPUtil/FPBits.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include "utils/testutils/RoundingModeUtils.h"
#include <errno.h>
virtual bool is_silent() const { return false; }
};
-template <typename T> struct Matcher : public MatcherBase { bool match(T &t); };
+template <typename T> struct Matcher : public MatcherBase {
+ bool match(T &t);
+};
// NOTE: One should not create instances and call methods on them directly. One
// should use the macros TEST or TEST_F to write test cases.
#include "src/__support/CPP/span.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
namespace __llvm_libc {
namespace memory {
#include "src/__support/FPUtil/FPBits.h"
#include "src/stdio/printf_core/core_structs.h"
-#include "utils/UnitTest/StringUtils.h"
+#include "test/UnitTest/StringUtils.h"
#include <stdint.h>
#define LLVM_LIBC_UTILS_UNITTEST_PRINTF_MATCHER_H
#include "src/stdio/printf_core/core_structs.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <errno.h>
#include "src/__support/FPUtil/FPBits.h"
#include "src/stdio/scanf_core/core_structs.h"
-#include "utils/UnitTest/StringUtils.h"
+#include "test/UnitTest/StringUtils.h"
#include <stdint.h>
#define LLVM_LIBC_UTILS_UNITTEST_SCANF_MATCHER_H
#include "src/stdio/scanf_core/core_structs.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <errno.h>
#include "src/__support/threads/mutex.h"
#include "src/__support/threads/thread.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
__llvm_libc::Mutex mutex(false, false, false);
//===----------------------------------------------------------------------===//
#include "src/__support/threads/thread.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
static constexpr int INIT_VAL = 100;
static constexpr int UPDATE_VAL = 123;
#include "src/pthread/pthread_mutex_unlock.h"
#include "src/pthread/pthread_self.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <pthread.h>
#include "src/pthread/pthread_create.h"
#include "src/pthread/pthread_exit.h"
#include "src/pthread/pthread_join.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <pthread.h>
#include "src/pthread/pthread_create.h"
#include "src/pthread/pthread_join.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <pthread.h>
#include "src/pthread/pthread_self.h"
#include "src/pthread/pthread_setname_np.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <errno.h>
#include <pthread.h>
#include "src/pthread/pthread_mutex_unlock.h"
#include "src/pthread/pthread_once.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <pthread.h>
#include "src/pthread/pthread_create.h"
#include "src/pthread/pthread_join.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <pthread.h>
#include "src/pthread/pthread_key_create.h"
#include "src/pthread/pthread_key_delete.h"
#include "src/pthread/pthread_setspecific.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <pthread.h>
#include "src/spawn/posix_spawn_file_actions_destroy.h"
#include "src/spawn/posix_spawn_file_actions_init.h"
#include "src/sys/wait/waitpid.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <fcntl.h>
#include <spawn.h>
#include "src/stdio/sprintf.h"
#endif
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
static bool my_streq(const char *lhs, const char *rhs) {
if (lhs == rhs)
#include "src/stdlib/getenv.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
static bool my_streq(const char *lhs, const char *rhs) {
if (lhs == rhs)
#include "src/threads/thrd_create.h"
#include "src/threads/thrd_join.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <threads.h>
#include "src/threads/thrd_create.h"
#include "src/threads/thrd_join.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <threads.h>
#include "src/threads/thrd_create.h"
#include "src/threads/thrd_join.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <threads.h>
#include "src/threads/thrd_equal.h"
#include "src/threads/thrd_join.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <threads.h>
#include "src/threads/thrd_create.h"
#include "src/threads/thrd_exit.h"
#include "src/threads/thrd_join.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <threads.h>
#include "src/threads/thrd_create.h"
#include "src/threads/thrd_join.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <threads.h>
#include "src/threads/tss_delete.h"
#include "src/threads/tss_get.h"
#include "src/threads/tss_set.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <threads.h>
#include "src/unistd/execv.h"
#include "src/unistd/fork.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <signal.h>
#include <sys/wait.h>
#include "src/unistd/execve.h"
#include "src/unistd/fork.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <signal.h>
#include <sys/wait.h>
#include "src/sys/wait/waitpid.h"
#include "src/unistd/fork.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <errno.h>
#include <signal.h>
#include "src/stdlib/getenv.h"
#include "src/unistd/getcwd.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <errno.h>
#include <stdlib.h> // For malloc and free
//
//===----------------------------------------------------------------------===//
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
static bool my_streq(const char *lhs, const char *rhs) {
const char *l, *r;
//
//===----------------------------------------------------------------------===//
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
#include <stddef.h>
//
//===----------------------------------------------------------------------===//
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
TEST_MAIN() { return 0; }
//
//===----------------------------------------------------------------------===//
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
TEST_MAIN(int argc, char **argv) { return 0; }
#include "src/errno/llvmlibc_errno.h"
#include "src/sys/mman/mmap.h"
-#include "utils/IntegrationTest/test.h"
+#include "test/IntegrationTest/test.h"
constexpr int threadLocalDataSize = 101;
_Thread_local int a[threadLocalDataSize] = {123};
//===----------------------------------------------------------------------===//
#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.
//===----------------------------------------------------------------------===//
#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;
//===----------------------------------------------------------------------===//
#include "src/__support/CPP/cstddef.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
namespace __llvm_libc::cpp {
//===----------------------------------------------------------------------===//
#include "src/__support/CPP/utility.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
using namespace __llvm_libc::cpp;
#include "src/__support/CPP/limits.h"
#include "src/__support/UInt.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
namespace __llvm_libc {
//===----------------------------------------------------------------------===//
#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;
#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;
#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;
//===----------------------------------------------------------------------===//
#include "src/__support/CPP/string_view.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
using __llvm_libc::cpp::string_view;
#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>;
#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>
//===----------------------------------------------------------------------===//
#include "src/__support/File/file.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <stdio.h> // For SEEK_* macros
#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
#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;
//===----------------------------------------------------------------------===//
#include "src/__support/blockstore.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
struct Element {
int a;
//===----------------------------------------------------------------------===//
#include "src/__support/char_vector.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
using __llvm_libc::CharVector;
//===----------------------------------------------------------------------===//
#include "src/__support/endian.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
namespace __llvm_libc {
//===----------------------------------------------------------------------===//
#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;
#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 =
#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"
#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:
#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
#undef NDEBUG
#include "src/assert/assert.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
extern "C" int close(int);
#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
#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
//
//===----------------------------------------------------------------------===//
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include "src/ctype/isascii.h"
//===----------------------------------------------------------------------===//
#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
//===----------------------------------------------------------------------===//
#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
#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
//===----------------------------------------------------------------------===//
#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
//===----------------------------------------------------------------------===//
#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
//===----------------------------------------------------------------------===//
#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) {
//===----------------------------------------------------------------------===//
#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:
//===----------------------------------------------------------------------===//
#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
//===----------------------------------------------------------------------===//
#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
//===----------------------------------------------------------------------===//
#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) {
#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
//===----------------------------------------------------------------------===//
#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) {
//===----------------------------------------------------------------------===//
#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) {
#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>
//===----------------------------------------------------------------------===//
#include "src/errno/llvmlibc_errno.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcErrnoTest, Basic) {
int test_val = 123;
#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>
#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>
#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>
#include "src/fenv/fesetexceptflag.h"
#include "src/__support/FPUtil/FEnvImpl.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <fenv.h>
#include "src/fenv/fetestexcept.h"
#include "src/__support/FPUtil/FEnvImpl.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <fenv.h>
#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>
#include "src/fenv/feenableexcept.h"
#include "src/fenv/fegetexcept.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <fenv.h>
#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 "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>
#include "src/fenv/fesetround.h"
#include "src/__support/FPUtil/FEnvImpl.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <fenv.h>
#include "src/fenv/fegetround.h"
#include "src/fenv/fesetround.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <fenv.h>
//===----------------------------------------------------------------------===//
#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));
#include "src/inttypes/strtoimax.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include "test/src/stdlib/StrtolTest.h"
#include "src/inttypes/strtoumax.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include "test/src/stdlib/StrtolTest.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 "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 "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 "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>
//
//===----------------------------------------------------------------------===//
+#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 "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 "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>
//
//===----------------------------------------------------------------------===//
+#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>
#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;
//===----------------------------------------------------------------------===//
#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>
#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>
#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>
#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>
//===----------------------------------------------------------------------===//
#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>
#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>
#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>
#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>
#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;
//
//===----------------------------------------------------------------------===//
+#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 "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>
//===----------------------------------------------------------------------===//
#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>
//
//===----------------------------------------------------------------------===//
+#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 "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>
#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>
//===----------------------------------------------------------------------===//
#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>
#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>
#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>
#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>
#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>
//===----------------------------------------------------------------------===//
#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>
#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>
#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>
#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>
#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>
#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
#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>
#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>;
#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>
#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>
//===----------------------------------------------------------------------===//
#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>
#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>;
#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>;
#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>;
#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>;
#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>;
#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>
#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>
#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>
#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>
#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>
#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>
#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>
#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;
#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>
#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>;
#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>;
#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>;
#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) {
#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) {
#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;
#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;
#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>
#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>
#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>
#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>
#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>
//===----------------------------------------------------------------------===//
#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>
//===----------------------------------------------------------------------===//
#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>
#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>
#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>
#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>
#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>
//===----------------------------------------------------------------------===//
#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>
#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>
#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>
#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.
#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>
#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;
#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>
#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
#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>
#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) {
#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>
#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;
#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;
#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;
#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;
#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>
#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>
#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>
#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>
#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>
#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>
#include "src/stdio/fprintf.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <errno.h>
#include <stdio.h>
#include "src/stdio/fscanf.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <errno.h>
#include <stdio.h>
#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>
#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:
#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;
#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;
#include "src/stdio/printf.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcPrintfTest, PrintOut) {
int written;
#include "src/stdio/putc.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <errno.h>
#include <stdio.h>
#include "src/stdio/puts.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcPutsTest, PrintOut) {
int result;
#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>
#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";
#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;
#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];
#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>
#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>
#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.
#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>
#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;
#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>
#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>
//===----------------------------------------------------------------------===//
#include "src/__support/CPP/type_traits.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <limits.h>
//
//===----------------------------------------------------------------------===//
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
template <typename IntType, typename ReturnType>
class DivTest : public __llvm_libc::testing::Test {
#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>
#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);
#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
//===----------------------------------------------------------------------===//
#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); }
#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) {
#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>
#include "src/stdlib/atoi.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
ATOI_TEST(Atoi, __llvm_libc::atoi)
#include "src/stdlib/atol.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
ATOI_TEST(Atol, __llvm_libc::atol)
#include "src/stdlib/atoll.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
ATOI_TEST(Atoll, __llvm_libc::atoll)
#include "src/stdlib/bsearch.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <stdlib.h>
//===----------------------------------------------------------------------===//
#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); }
//===----------------------------------------------------------------------===//
#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); }
#include "src/stdlib/qsort.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <stdlib.h>
#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>
#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>
#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>
#include "src/stdlib/strtol.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include "StrtolTest.h"
#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>
#include "src/stdlib/strtoll.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include "StrtolTest.h"
#include "src/stdlib/strtoul.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include "StrtolTest.h"
#include "src/stdlib/strtoull.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include "StrtolTest.h"
#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 {
#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;
#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 {
#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 {
//===----------------------------------------------------------------------===//
#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
#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 {
#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 {
#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;
#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>
#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 {
//===----------------------------------------------------------------------===//
#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
//===----------------------------------------------------------------------===//
#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
#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 {
//===----------------------------------------------------------------------===//
#include "src/string/stpcpy.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include "src/string/string_utils.h"
#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 {
//===----------------------------------------------------------------------===//
#include "src/string/strcasecmp.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrCaseCmpTest, EmptyStringsShouldReturnZero) {
const char *s1 = "";
//===----------------------------------------------------------------------===//
#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);
//===----------------------------------------------------------------------===//
#include "src/string/strcat.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrCatTest, EmptyDest) {
const char *abc = "abc";
//===----------------------------------------------------------------------===//
#include "src/string/strchr.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrChrTest, FindsFirstCharacter) {
const char *src = "abcde";
//===----------------------------------------------------------------------===//
#include "src/string/strcmp.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrCmpTest, EmptyStringsShouldReturnZero) {
const char *s1 = "";
//===----------------------------------------------------------------------===//
#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.
//===----------------------------------------------------------------------===//
#include "src/string/strcpy.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrCpyTest, EmptySrc) {
const char *empty = "";
#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'};
//===----------------------------------------------------------------------===//
#include "src/string/strdup.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <errno.h>
#include <stdlib.h>
//===----------------------------------------------------------------------===//
#include "src/string/strerror_r.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <stddef.h>
//===----------------------------------------------------------------------===//
#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");
//===----------------------------------------------------------------------===//
#include "src/string/strlcat.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <stdlib.h>
TEST(LlvmLibcStrlcatTest, TooBig) {
//===----------------------------------------------------------------------===//
#include "src/string/strlcpy.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <stdlib.h>
TEST(LlvmLibcStrlcpyTest, TooBig) {
//===----------------------------------------------------------------------===//
#include "src/string/strlen.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrLenTest, EmptyString) {
const char *empty = "";
//===----------------------------------------------------------------------===//
#include "src/string/strncasecmp.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrNCaseCmpTest,
EmptyStringsShouldReturnZeroWithSufficientLength) {
//===----------------------------------------------------------------------===//
#include "src/string/strncat.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrNCatTest, EmptyDest) {
const char *abc = "abc";
//===----------------------------------------------------------------------===//
#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.
#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 {
//===----------------------------------------------------------------------===//
#include "src/string/strndup.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <stdlib.h>
TEST(LlvmLibcstrndupTest, EmptyString) {
//===----------------------------------------------------------------------===//
#include "src/string/strnlen.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <stddef.h>
TEST(LlvmLibcStrNLenTest, EmptyString) {
#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.
//===----------------------------------------------------------------------===//
#include "src/string/strrchr.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrRChrTest, FindsFirstCharacter) {
const char *src = "abcde";
//===----------------------------------------------------------------------===//
#include "src/string/strsignal.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <signal.h>
#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.
//===----------------------------------------------------------------------===//
#include "src/string/strstr.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrStrTest, NeedleNotInHaystack) {
const char *haystack = "12345";
//===----------------------------------------------------------------------===//
#include "src/string/strtok_r.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrTokReentrantTest, NoTokenFound) {
{ // Empty source and delimiter string.
//===----------------------------------------------------------------------===//
#include "src/string/strtok.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrTokTest, NoTokenFound) {
char empty[] = "";
#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>
#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>
#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>
#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>
#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;
#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>
#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>
#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>
#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>
#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>
#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>
#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>
#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>
#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>
#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>
#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>
#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>
#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>
#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>
#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>
#include <time.h>
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
namespace __llvm_libc {
namespace tmmatcher {
#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;
//===----------------------------------------------------------------------===//
#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,
//===----------------------------------------------------------------------===//
#include "src/time/clock_gettime.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <time.h>
//===----------------------------------------------------------------------===//
#include "src/time/clock.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <errno.h>
#include <limits.h>
#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>
#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;
#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;
#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>
#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>
#include "src/time/nanosleep.h"
#include "test/ErrnoSetterMatcher.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
namespace cpp = __llvm_libc::cpp;
//===----------------------------------------------------------------------===//
#include "src/time/time_func.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <errno.h>
#include <limits.h>
#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>
#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>
#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>
#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>
#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>
#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>
#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>
//===----------------------------------------------------------------------===//
#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.
//===----------------------------------------------------------------------===//
#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"
//===----------------------------------------------------------------------===//
#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.
//===----------------------------------------------------------------------===//
#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.
//===----------------------------------------------------------------------===//
#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.
#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>
#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>
#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>
#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>
#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>
#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>
#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 "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>
#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>
#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 "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>
#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>
//===----------------------------------------------------------------------===//
#include "src/unistd/sysconf.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <unistd.h>
#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>
#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>
#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>
//===----------------------------------------------------------------------===//
#include "src/__support/FPUtil/FPBits.h"
-#include "utils/UnitTest/Test.h"
+#include "test/UnitTest/Test.h"
#include <math.h>
//
//===----------------------------------------------------------------------===//
-#include "utils/UnitTest/LibcTest.h"
+#include "test/UnitTest/LibcTest.h"
TEST(LlvmLibcTestFilterTest, CorrectFilter) {}
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()
#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>
#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>
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
deps = [
"//libc:__support_common",
"//libc:__support_fputil_fenv_impl",
- "//libc/utils/UnitTest:fp_test_helpers",
+ "//libc/test/UnitTest:fp_test_helpers",
],
)
deps = [
"//libc:__support_common",
"//libc:__support_fputil_fenv_impl",
- "//libc/utils/UnitTest:fp_test_helpers",
+ "//libc/test/UnitTest:fp_test_helpers",
],
)
"//libc:__support_fputil_basic_operations",
"//libc:__support_fputil_fp_bits",
"//libc/utils/MPFRWrapper:mpfr_wrapper",
- "//libc/utils/UnitTest:LibcUnitTest",
- "//libc/utils/UnitTest:fp_test_helpers",
+ "//libc/test/UnitTest:LibcUnitTest",
+ "//libc/test/UnitTest:fp_test_helpers",
],
)
deps = [
"//libc:__support_fputil_fp_bits",
"//libc:__support_fputil_manipulation_functions",
- "//libc/utils/UnitTest:LibcUnitTest",
+ "//libc/test/UnitTest:LibcUnitTest",
],
)
"//libc:__support_fputil_basic_operations",
"//libc:__support_fputil_fenv_impl",
"//libc:__support_fputil_fp_bits",
- "//libc/utils/UnitTest:LibcUnitTest",
- "//libc/utils/UnitTest:fp_test_helpers",
+ "//libc/test/UnitTest:LibcUnitTest",
+ "//libc/test/UnitTest:fp_test_helpers",
],
)
deps = [
"//libc:__support_fputil_fp_bits",
"//libc:__support_fputil_normal_float",
- "//libc/utils/UnitTest:LibcUnitTest",
- "//libc/utils/UnitTest:fp_test_helpers",
+ "//libc/test/UnitTest:LibcUnitTest",
+ "//libc/test/UnitTest:fp_test_helpers",
],
)
"//libc:__support_fputil_fenv_impl",
"//libc:__support_fputil_fp_bits",
"//libc/utils/MPFRWrapper:mpfr_wrapper",
- "//libc/utils/UnitTest:LibcUnitTest",
- "//libc/utils/UnitTest:fp_test_helpers",
+ "//libc/test/UnitTest:LibcUnitTest",
+ "//libc/test/UnitTest:fp_test_helpers",
],
)
"//libc:__support_fputil_fenv_impl",
"//libc:__support_fputil_fp_bits",
"//libc/utils/MPFRWrapper:mpfr_wrapper",
- "//libc/utils/UnitTest:LibcUnitTest",
- "//libc/utils/UnitTest:fp_test_helpers",
+ "//libc/test/UnitTest:LibcUnitTest",
+ "//libc/test/UnitTest:fp_test_helpers",
],
)
"//libc:__support_cpp_type_traits",
"//libc:__support_fputil_basic_operations",
"//libc:__support_fputil_fp_bits",
- "//libc/utils/UnitTest:LibcUnitTest",
- "//libc/utils/UnitTest:fp_test_helpers",
+ "//libc/test/UnitTest:LibcUnitTest",
+ "//libc/test/UnitTest:fp_test_helpers",
],
)
"//libc:__support_uint128",
"//libc:__support_fputil_manipulation_functions",
"//libc:__support_fputil_nearest_integer_operations",
- "//libc/utils/UnitTest:fp_test_helpers",
+ "//libc/test/UnitTest:fp_test_helpers",
] + deps,
**kwargs
)
],
deps = [
"//libc:__support_cpp_span",
- "//libc/utils/UnitTest:memory_matcher",
+ "//libc/test/UnitTest:memory_matcher",
],
)
],
deps = [
"//libc:__support_cpp_span",
- "//libc/utils/UnitTest:memory_matcher",
+ "//libc/test/UnitTest:memory_matcher",
],
)
"//libc:__support_fputil_platform_defs",
"//libc:libc_root",
"//libc/utils/MPFRWrapper:mpfr_impl",
- "//libc/utils/UnitTest:LibcUnitTest",
- "//libc/utils/UnitTest:fp_test_helpers",
+ "//libc/test/UnitTest:LibcUnitTest",
+ "//libc/test/UnitTest:fp_test_helpers",
"//libc/utils/testutils:libc_test_utils",
],
)