mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 23:06:34 +00:00

This reverts commit 6403287eff71a3d6f6c862346d6ed3f0f000eb70. This is failing on all but 1 of Linaro's flang builders. CMake Error at /home/tcwg-buildbot/worker/clang-aarch64-full-2stage/llvm/flang-rt/unittests/CMakeLists.txt:37 (message): Target llvm_gtest not found.
22 lines
786 B
C++
22 lines
786 B
C++
//===-- flang/unittests/Runtime/CrashHandlerFixture.h -----------*- 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
/// Test fixture registers a custom crash handler to ensure death tests fail
|
|
/// with expected message.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
#ifndef LLVM_FLANG_UNITTESTS_RUNTIMEGTEST_CRASHHANDLERFIXTURE_H
|
|
#define LLVM_FLANG_UNITTESTS_RUNTIMEGTEST_CRASHHANDLERFIXTURE_H
|
|
#include <gtest/gtest.h>
|
|
|
|
struct CrashHandlerFixture : testing::Test {
|
|
void SetUp();
|
|
};
|
|
|
|
#endif
|