Index: test/UnitTest/PigweedTest.h =================================================================== --- /dev/null +++ test/UnitTest/PigweedTest.h @@ -0,0 +1,18 @@ +//===-- Header for setting up the Pigweed tests -----------------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_LIBC_UTILS_UNITTEST_PIGWEEDTEST_H +#define LLVM_LIBC_UTILS_UNITTEST_PIGWEEDTEST_H + +#include + +namespace __llvm_libc::testing { +using Test = ::testing::Test; +} + +#endif // LLVM_LIBC_UTILS_UNITTEST_PIGWEEDTEST_H Index: test/UnitTest/Test.h =================================================================== --- test/UnitTest/Test.h +++ test/UnitTest/Test.h @@ -11,6 +11,8 @@ #ifdef LIBC_COPT_TEST_USE_FUCHSIA #include "FuchsiaTest.h" +#elif defined(LIBC_COPT_TEST_USE_PIGWEED) +#include "PigweedTest.h" #else #include "LibcTest.h" #endif