mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-17 11:26:37 +00:00

This allows other potential unit test suites (of which one is forthcoming in a subsequent patch) to re-use the same initialization and teardown of the GIL. llvm-svn: 252993
27 lines
568 B
C++
27 lines
568 B
C++
//===-- PythonTestSuite.cpp -------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "gtest/gtest.h"
|
|
|
|
using namespace lldb_private;
|
|
|
|
class PythonTestSuite : public testing::Test
|
|
{
|
|
public:
|
|
void
|
|
SetUp() override;
|
|
|
|
void
|
|
TearDown() override;
|
|
|
|
private:
|
|
PyGILState_STATE m_gil_state;
|
|
};
|
|
|