From 88c643b6fec27eec436c8d138fee6346e92337d6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 20 Aug 2019 18:01:57 +0000 Subject: Remove upstream files and directories from vendor/lldb/dist that we do not use. This saves on repository space, and reduces the number of tree conflicts when merging. --- .../lldbsuite/test/lang/cpp/call-function/Makefile | 5 ---- .../lang/cpp/call-function/TestCallCPPFunction.py | 35 ---------------------- .../lldbsuite/test/lang/cpp/call-function/main.cpp | 11 ------- 3 files changed, 51 deletions(-) delete mode 100644 packages/Python/lldbsuite/test/lang/cpp/call-function/Makefile delete mode 100644 packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py delete mode 100644 packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp (limited to 'packages/Python/lldbsuite/test/lang/cpp/call-function') diff --git a/packages/Python/lldbsuite/test/lang/cpp/call-function/Makefile b/packages/Python/lldbsuite/test/lang/cpp/call-function/Makefile deleted file mode 100644 index 314f1cb2f077..000000000000 --- a/packages/Python/lldbsuite/test/lang/cpp/call-function/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -LEVEL = ../../../make - -CXX_SOURCES := main.cpp - -include $(LEVEL)/Makefile.rules diff --git a/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py b/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py deleted file mode 100644 index b6274b3d2669..000000000000 --- a/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py +++ /dev/null @@ -1,35 +0,0 @@ -""" -Tests calling a function by basename -""" - -import lldb -from lldbsuite.test.decorators import * -from lldbsuite.test.lldbtest import * -from lldbsuite.test import lldbutil - - -class CallCPPFunctionTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) - - def setUp(self): - TestBase.setUp(self) - self.line = line_number('main.cpp', '// breakpoint') - - def test_with_run_command(self): - """Test calling a function by basename""" - self.build() - self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET) - - lldbutil.run_break_set_by_file_and_line( - self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True) - - self.runCmd("process launch", RUN_SUCCEEDED) - - # The stop reason of the thread should be breakpoint. - self.expect("thread list", - STOPPED_DUE_TO_BREAKPOINT, - substrs=['stopped', 'stop reason = breakpoint']) - - self.expect("expression -- a_function_to_call()", - startstr="(int) $0 = 0") diff --git a/packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp b/packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp deleted file mode 100644 index 61a5e9d21abb..000000000000 --- a/packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include - -int a_function_to_call() -{ - return 0; -} - -int main() -{ - printf("%d\n", a_function_to_call()); // breakpoint -} -- cgit v1.2.3