From f817bae1616852aeae880aa8e6a22407276aa223 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Thu, 27 Oct 2016 22:52:32 +0000 Subject: [Test Suite] Pull generateSource into lldbtest Summary: Convert tests using LLDB headers to use generateSource to put the right include paths in place regardless of whether or not you're building a framework. This also abstracted generateSource out of TestPublicAPIHeaders.py into lldbtest.py. Reviewers: tfiala, zturner Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D25887 llvm-svn: 285357 --- .../lldbsuite/test/api/multithreaded/driver.cpp | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp (limited to 'lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp') diff --git a/lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp b/lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp deleted file mode 100644 index fa0c48e0ecf..00000000000 --- a/lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp +++ /dev/null @@ -1,38 +0,0 @@ - -/// LLDB C API Test Driver - -#include -#include -#include -#include -#include - -#include "lldb-headers.h" - -#include "common.h" - -using namespace std; -using namespace lldb; - -void test(SBDebugger &dbg, std::vector args); - -int main(int argc, char** argv) { - int code = 0; - - SBDebugger::Initialize(); - SBDebugger dbg = SBDebugger::Create(); - - try { - if (!dbg.IsValid()) - throw Exception("invalid debugger"); - vector args(argv + 1, argv + argc); - - test(dbg, args); - } catch (Exception &e) { - cout << "ERROR: " << e.what() << endl; - code = 1; - } - - SBDebugger::Destroy(dbg); - return code; -} -- cgit v1.2.3