Files
clang-p2996/libc/utils/UnitTest/FuchsiaTest.h
Michael Jones c73c23f2a9 [libc][NFC] Add a death test API adaptation macro
Fuchsia's zxtest has a slightly different death test definition, and
this macro makes our death test API work on Fuchsia.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D95648
2021-02-01 19:19:04 +00:00

17 lines
569 B
C++

//===-- Header for setting up the Fuchsia 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_FUCHSIATEST_H
#define LLVM_LIBC_UTILS_UNITTEST_FUCHSIATEST_H
#include <zxtest/zxtest.h>
#define WITH_SIGNAL(X) #X
#endif // LLVM_LIBC_UTILS_UNITTEST_FUCHSIATEST_H