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
17 lines
569 B
C++
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
|