diff options
| author | Zachary Turner <zturner@google.com> | 2015-10-28 17:43:26 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2015-10-28 17:43:26 +0000 |
| commit | c432c8f856e0bd84de980a9d9bb2d31b06fa95b1 (patch) | |
| tree | 4efa528e074a6e2df782345e4cd97f5d85d038c4 /lldb/test/functionalities/object-file | |
| parent | a8a3bd210086b50242903ed95048fe5e53897878 (diff) | |
| download | bcm5719-llvm-c432c8f856e0bd84de980a9d9bb2d31b06fa95b1.tar.gz bcm5719-llvm-c432c8f856e0bd84de980a9d9bb2d31b06fa95b1.zip | |
Move lldb/test to lldb/packages/Python/lldbsuite/test.
This is the conclusion of an effort to get LLDB's Python code
structured into a bona-fide Python package. This has a number
of benefits, but most notably the ability to more easily share
Python code between different but related pieces of LLDB's Python
infrastructure (for example, `scripts` can now share code with
`test`).
llvm-svn: 251532
Diffstat (limited to 'lldb/test/functionalities/object-file')
| -rw-r--r-- | lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py | 41 | ||||
| -rwxr-xr-x | lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-clang-3.3 | bin | 7477 -> 0 bytes | |||
| -rwxr-xr-x | lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-gcc-4.7.3 | bin | 7520 -> 0 bytes | |||
| -rwxr-xr-x | lldb/test/functionalities/object-file/bin/hello-netbsd-6.1-x86_64-gcc-4.5.3 | bin | 7352 -> 0 bytes | |||
| -rwxr-xr-x | lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-clang-3.5pre | bin | 8112 -> 0 bytes | |||
| -rwxr-xr-x | lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-gcc-4.8.2 | bin | 8056 -> 0 bytes | |||
| -rw-r--r-- | lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 | bin | 17224 -> 0 bytes | |||
| -rw-r--r-- | lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch5-kcc-39 | bin | 28356 -> 0 bytes | |||
| -rw-r--r-- | lldb/test/functionalities/object-file/bin/hello.c | 8 | ||||
| -rw-r--r-- | lldb/test/functionalities/object-file/bin/hello.cpp | 8 |
10 files changed, 0 insertions, 57 deletions
diff --git a/lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py b/lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py deleted file mode 100644 index 56489529d2e..00000000000 --- a/lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py +++ /dev/null @@ -1,41 +0,0 @@ -""" -Test lldb 'image list' on object files across multiple architectures. -This exercises classes like ObjectFileELF and their support for opening -foreign-architecture object files. -""" - -from __future__ import print_function - -import use_lldb_suite - -import os.path -import lldb -from lldbtest import * -import lldbutil -import re - -class TestImageListMultiArchitecture(TestBase): - - mydir = TestBase.compute_mydir(__file__) - - @no_debug_info_test - def test_image_list_shows_multiple_architectures(self): - """Test that image list properly shows the correct architecture for a set of different architecture object files.""" - images = { - "hello-freebsd-10.0-x86_64-clang-3.3": re.compile(r"x86_64-(\*)?-freebsd10.0(-unknown)? x86_64"), - "hello-freebsd-10.0-x86_64-gcc-4.7.3": re.compile(r"x86_64-(\*)?-freebsd10.0(-unknown)? x86_64"), - "hello-netbsd-6.1-x86_64-gcc-4.5.3": re.compile(r"x86_64-(\*)?-netbsd(-unknown)? x86_64"), - "hello-ubuntu-14.04-x86_64-gcc-4.8.2": re.compile(r"x86_64-(\*)?-linux(-unknown)? x86_64"), - "hello-ubuntu-14.04-x86_64-clang-3.5pre": re.compile(r"x86_64-(\*)?-linux(-unknown)? x86_64"), - "hello-unknown-kalimba_arch4-kcc-36": re.compile(r"kalimba4-csr-(unknown|\*)(-unknown)? kalimba"), - "hello-unknown-kalimba_arch5-kcc-39": re.compile(r"kalimba5-csr-(unknown|\*)(-unknown)? kalimba"), - } - - for image_name in images: - file_name = os.path.abspath(os.path.join(os.path.dirname(__file__), "bin", image_name)) - expected_triple_and_arch_regex = images[image_name] - - self.runCmd("file {}".format(file_name)) - self.match("image list -t -A", [expected_triple_and_arch_regex]) - # Revert to the host platform after all of this is done - self.runCmd("platform select host") diff --git a/lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-clang-3.3 b/lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-clang-3.3 Binary files differdeleted file mode 100755 index cea323639b4..00000000000 --- a/lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-clang-3.3 +++ /dev/null diff --git a/lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-gcc-4.7.3 b/lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-gcc-4.7.3 Binary files differdeleted file mode 100755 index 38f43f8acb9..00000000000 --- a/lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-gcc-4.7.3 +++ /dev/null diff --git a/lldb/test/functionalities/object-file/bin/hello-netbsd-6.1-x86_64-gcc-4.5.3 b/lldb/test/functionalities/object-file/bin/hello-netbsd-6.1-x86_64-gcc-4.5.3 Binary files differdeleted file mode 100755 index 6d531320ae9..00000000000 --- a/lldb/test/functionalities/object-file/bin/hello-netbsd-6.1-x86_64-gcc-4.5.3 +++ /dev/null diff --git a/lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-clang-3.5pre b/lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-clang-3.5pre Binary files differdeleted file mode 100755 index 8bdcf4d5b59..00000000000 --- a/lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-clang-3.5pre +++ /dev/null diff --git a/lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-gcc-4.8.2 b/lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-gcc-4.8.2 Binary files differdeleted file mode 100755 index 01efbb061b7..00000000000 --- a/lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-gcc-4.8.2 +++ /dev/null diff --git a/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 b/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 Binary files differdeleted file mode 100644 index 8e4dd8c883c..00000000000 --- a/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 +++ /dev/null diff --git a/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch5-kcc-39 b/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch5-kcc-39 Binary files differdeleted file mode 100644 index f80268a08e5..00000000000 --- a/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch5-kcc-39 +++ /dev/null diff --git a/lldb/test/functionalities/object-file/bin/hello.c b/lldb/test/functionalities/object-file/bin/hello.c deleted file mode 100644 index 8c804005afe..00000000000 --- a/lldb/test/functionalities/object-file/bin/hello.c +++ /dev/null @@ -1,8 +0,0 @@ -#include <stdio.h> - -int main(int argc, char **argv) -{ - printf("Hello, world\n"); - return 0; -} - diff --git a/lldb/test/functionalities/object-file/bin/hello.cpp b/lldb/test/functionalities/object-file/bin/hello.cpp deleted file mode 100644 index 8c804005afe..00000000000 --- a/lldb/test/functionalities/object-file/bin/hello.cpp +++ /dev/null @@ -1,8 +0,0 @@ -#include <stdio.h> - -int main(int argc, char **argv) -{ - printf("Hello, world\n"); - return 0; -} - |

