[Test Suite] Pull generateSource into lldbtest
authorChris Bieneman <beanz@apple.com>
Mon, 31 Oct 2016 04:48:19 +0000 (04:48 +0000)
committerChris Bieneman <beanz@apple.com>
Mon, 31 Oct 2016 04:48:19 +0000 (04:48 +0000)
commitf8ac2da11454d2c2edb9e6254d10e99aa6dc110d
treee662669d8418efc677c855bfd4e2b82a20dfbda8
parentbd6d69987c36d947746d061421b3eb99cf86a6bb
[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: 285542
19 files changed:
lldb/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py
lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py
lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp [deleted file]
lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp.template [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/api/multithreaded/listener_test.cpp [deleted file]
lldb/packages/Python/lldbsuite/test/api/multithreaded/listener_test.cpp.template [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/api/multithreaded/lldb-headers.h [deleted file]
lldb/packages/Python/lldbsuite/test/api/multithreaded/test_breakpoint_callback.cpp [deleted file]
lldb/packages/Python/lldbsuite/test/api/multithreaded/test_breakpoint_callback.cpp.template [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_description.cpp [deleted file]
lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_description.cpp.template [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_process_state.cpp [deleted file]
lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_process_state.cpp.template [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_resume.cpp [deleted file]
lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_resume.cpp.template [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/TestPluginCommands.py
lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/plugin.cpp [deleted file]
lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/plugin.cpp.template [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/lldbtest.py