diff --git a/lldb/test/.categories b/lldb/packages/Python/lldbsuite/test/.categories similarity index 100% rename from lldb/test/.categories rename to lldb/packages/Python/lldbsuite/test/.categories diff --git a/lldb/test/Makefile b/lldb/packages/Python/lldbsuite/test/Makefile similarity index 100% rename from lldb/test/Makefile rename to lldb/packages/Python/lldbsuite/test/Makefile diff --git a/lldb/test/README-TestSuite b/lldb/packages/Python/lldbsuite/test/README-TestSuite similarity index 100% rename from lldb/test/README-TestSuite rename to lldb/packages/Python/lldbsuite/test/README-TestSuite diff --git a/lldb/packages/Python/lldbsuite/test/__init__.py b/lldb/packages/Python/lldbsuite/test/__init__.py index a32aefd5f4318470417fbb458e115c68f0a4127d..e9277b84b47b2bd5f176efe05bef7b58f963917e 100644 --- a/lldb/packages/Python/lldbsuite/test/__init__.py +++ b/lldb/packages/Python/lldbsuite/test/__init__.py @@ -1 +1,4 @@ # Module level initialization for the `lldbsuite.test` module. + +import dotest +run_suite = dotest.run_suite diff --git a/lldb/test/android/platform/Makefile b/lldb/packages/Python/lldbsuite/test/android/platform/Makefile similarity index 100% rename from lldb/test/android/platform/Makefile rename to lldb/packages/Python/lldbsuite/test/android/platform/Makefile diff --git a/lldb/test/android/platform/TestDefaultCacheLineSize.py b/lldb/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py similarity index 100% rename from lldb/test/android/platform/TestDefaultCacheLineSize.py rename to lldb/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py diff --git a/lldb/test/android/platform/main.cpp b/lldb/packages/Python/lldbsuite/test/android/platform/main.cpp similarity index 100% rename from lldb/test/android/platform/main.cpp rename to lldb/packages/Python/lldbsuite/test/android/platform/main.cpp diff --git a/lldb/test/api/check_public_api_headers/Makefile b/lldb/packages/Python/lldbsuite/test/api/check_public_api_headers/Makefile similarity index 100% rename from lldb/test/api/check_public_api_headers/Makefile rename to lldb/packages/Python/lldbsuite/test/api/check_public_api_headers/Makefile diff --git a/lldb/test/api/check_public_api_headers/TestPublicAPIHeaders.py b/lldb/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py similarity index 100% rename from lldb/test/api/check_public_api_headers/TestPublicAPIHeaders.py rename to lldb/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py diff --git a/lldb/test/api/check_public_api_headers/main.cpp.template b/lldb/packages/Python/lldbsuite/test/api/check_public_api_headers/main.cpp.template similarity index 100% rename from lldb/test/api/check_public_api_headers/main.cpp.template rename to lldb/packages/Python/lldbsuite/test/api/check_public_api_headers/main.cpp.template diff --git a/lldb/test/api/multiple-debuggers/.categories b/lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/.categories similarity index 100% rename from lldb/test/api/multiple-debuggers/.categories rename to lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/.categories diff --git a/lldb/test/api/multiple-debuggers/Makefile b/lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/Makefile similarity index 100% rename from lldb/test/api/multiple-debuggers/Makefile rename to lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/Makefile diff --git a/lldb/test/api/multiple-debuggers/TestMultipleDebuggers.py b/lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/TestMultipleDebuggers.py similarity index 100% rename from lldb/test/api/multiple-debuggers/TestMultipleDebuggers.py rename to lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/TestMultipleDebuggers.py diff --git a/lldb/test/api/multiple-debuggers/multi-process-driver.cpp b/lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp similarity index 100% rename from lldb/test/api/multiple-debuggers/multi-process-driver.cpp rename to lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp diff --git a/lldb/test/api/multiple-debuggers/testprog.cpp b/lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp similarity index 100% rename from lldb/test/api/multiple-debuggers/testprog.cpp rename to lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp diff --git a/lldb/test/api/multithreaded/Makefile b/lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile similarity index 100% rename from lldb/test/api/multithreaded/Makefile rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile diff --git a/lldb/test/api/multithreaded/TestMultithreaded.py b/lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py similarity index 100% rename from lldb/test/api/multithreaded/TestMultithreaded.py rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py diff --git a/lldb/test/api/multithreaded/common.h b/lldb/packages/Python/lldbsuite/test/api/multithreaded/common.h similarity index 100% rename from lldb/test/api/multithreaded/common.h rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/common.h diff --git a/lldb/test/api/multithreaded/driver.cpp b/lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp similarity index 100% rename from lldb/test/api/multithreaded/driver.cpp rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp diff --git a/lldb/test/api/multithreaded/inferior.cpp b/lldb/packages/Python/lldbsuite/test/api/multithreaded/inferior.cpp similarity index 100% rename from lldb/test/api/multithreaded/inferior.cpp rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/inferior.cpp diff --git a/lldb/test/api/multithreaded/listener_test.cpp b/lldb/packages/Python/lldbsuite/test/api/multithreaded/listener_test.cpp similarity index 100% rename from lldb/test/api/multithreaded/listener_test.cpp rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/listener_test.cpp diff --git a/lldb/test/api/multithreaded/lldb-headers.h b/lldb/packages/Python/lldbsuite/test/api/multithreaded/lldb-headers.h similarity index 100% rename from lldb/test/api/multithreaded/lldb-headers.h rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/lldb-headers.h diff --git a/lldb/test/api/multithreaded/test_breakpoint_callback.cpp b/lldb/packages/Python/lldbsuite/test/api/multithreaded/test_breakpoint_callback.cpp similarity index 100% rename from lldb/test/api/multithreaded/test_breakpoint_callback.cpp rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/test_breakpoint_callback.cpp diff --git a/lldb/test/api/multithreaded/test_listener_event_description.cpp b/lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_description.cpp similarity index 100% rename from lldb/test/api/multithreaded/test_listener_event_description.cpp rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_description.cpp diff --git a/lldb/test/api/multithreaded/test_listener_event_process_state.cpp b/lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_process_state.cpp similarity index 100% rename from lldb/test/api/multithreaded/test_listener_event_process_state.cpp rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_process_state.cpp diff --git a/lldb/test/api/multithreaded/test_listener_resume.cpp b/lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_resume.cpp similarity index 100% rename from lldb/test/api/multithreaded/test_listener_resume.cpp rename to lldb/packages/Python/lldbsuite/test/api/multithreaded/test_listener_resume.cpp diff --git a/lldb/test/arm_emulation/TestEmulations.py b/lldb/packages/Python/lldbsuite/test/arm_emulation/TestEmulations.py similarity index 100% rename from lldb/test/arm_emulation/TestEmulations.py rename to lldb/packages/Python/lldbsuite/test/arm_emulation/TestEmulations.py diff --git a/lldb/test/arm_emulation/new-test-files/test-add-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-10-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-10-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-10-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-10-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-11-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-11-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-11-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-11-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-12-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-12-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-12-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-12-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-3-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-3-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-4-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-4-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-4-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-4-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-5-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-5-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-5-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-5-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-6-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-6-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-6-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-6-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-7-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-7-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-7-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-7-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-8-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-8-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-8-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-8-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-add-9-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-9-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-add-9-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-9-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-bic-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-bic-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-bic-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-bic-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldmia-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldmia-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldmia-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldmia-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldmia-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldmia-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldmia-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldmia-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldmia-3-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldmia-3-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldmia-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldmia-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-10-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-10-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-10-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-10-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-11-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-11-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-11-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-11-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-12-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-12-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-12-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-12-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-3-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-3-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-4-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-4-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-4-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-4-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-5-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-5-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-5-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-5-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-6-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-6-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-6-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-6-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-7-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-7-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-7-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-7-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-8-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-8-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-8-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-8-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldr-9-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-9-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldr-9-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-9-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldrd-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldrd-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldrd-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldrd-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldrd-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldrd-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldrh-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrh-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldrh-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrh-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldrsh-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldrsh-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-ldrsh-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-ldrsh-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-10-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-10-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-10-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-10-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-11-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-11-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-11-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-11-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-12-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-12-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-12-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-12-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-13-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-13-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-13-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-13-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-14-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-14-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-14-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-14-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-15-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-15-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-15-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-15-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-16-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-16-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-16-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-16-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-17-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-17-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-17-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-17-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-18-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-18-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-18-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-18-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-19-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-19-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-19-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-19-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-20-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-20-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-20-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-20-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-21-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-21-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-21-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-21-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-22-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-22-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-22-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-22-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-23-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-23-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-23-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-23-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-24-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-24-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-24-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-24-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-25-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-25-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-25-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-25-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-26-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-26-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-26-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-26-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-27-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-27-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-27-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-27-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-28-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-28-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-28-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-28-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-29-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-29-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-29-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-29-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-3-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-3-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-30-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-30-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-30-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-30-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-31-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-31-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-31-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-31-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-4-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-4-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-4-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-4-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-5-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-5-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-5-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-5-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-6-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-6-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-6-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-6-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-7-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-7-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-7-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-7-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-8-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-8-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-8-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-8-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mov-9-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-9-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mov-9-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-9-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-moveq-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-moveq-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-moveq-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-moveq-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-movs-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-movs-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-movs-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-movs-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mvn-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mvn-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mvn-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mvn-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mvn-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mvn-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mvn-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mvn-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mvn-3-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mvn-3-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mvn-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mvn-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mvn-4-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mvn-4-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-mvn-4-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-mvn-4-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-pop-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-pop-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-pop-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-pop-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-pop-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-pop-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-pop-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-pop-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-pop-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-pop-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-push-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-push-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-push-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-push-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-push-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-push-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-push-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-push-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-push-3-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-push-3-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-push-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-push-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-str-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-str-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-str-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-str-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-str-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-str-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-str-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-str-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-str-3-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-str-3-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-str-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-str-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-str-4-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-str-4-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-str-4-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-str-4-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-str-5-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-5-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-str-5-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-5-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-strb-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-strb-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-strb-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-strb-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-strbt-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strbt-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-strbt-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strbt-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-strd-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strd-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-strd-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strd-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-strt-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strt-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-strt-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strt-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-10-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-10-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-10-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-10-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-2-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-2-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-3-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-3-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-4-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-4-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-4-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-4-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-5-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-5-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-5-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-5-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-6-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-6-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-6-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-6-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-6-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-6-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-6-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-6-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-8-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-8-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-8-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-8-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-sub-9-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-9-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-sub-9-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-9-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-subs-1-arm.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-1-arm.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-subs-1-arm.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-1-arm.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-subs-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-subs-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-subs-10-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-10-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-subs-10-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-10-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-subs-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-subs-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-subs-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-subs-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-subs-4-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-4-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-subs-4-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-4-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-subs-5-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-5-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-subs-5-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-5-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-subs-6-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-6-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-subs-6-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-6-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-subs-8-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-8-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-subs-8-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-8-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-subs-9-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-9-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-subs-9-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-9-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-vpop-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-vpop-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-vpop-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-vpop-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-vpop-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-vpop-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-3-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-vpush-1-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-1-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-vpush-1-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-1-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-vpush-2-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-2-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-vpush-2-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-2-thumb.dat diff --git a/lldb/test/arm_emulation/new-test-files/test-vpush-3-thumb.dat b/lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-3-thumb.dat similarity index 100% rename from lldb/test/arm_emulation/new-test-files/test-vpush-3-thumb.dat rename to lldb/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-3-thumb.dat diff --git a/lldb/test/attic/dotest.pl b/lldb/packages/Python/lldbsuite/test/attic/dotest.pl old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/attic/dotest.pl rename to lldb/packages/Python/lldbsuite/test/attic/dotest.pl diff --git a/lldb/test/attic/tester.py b/lldb/packages/Python/lldbsuite/test/attic/tester.py old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/attic/tester.py rename to lldb/packages/Python/lldbsuite/test/attic/tester.py diff --git a/lldb/test/bench-history b/lldb/packages/Python/lldbsuite/test/bench-history similarity index 100% rename from lldb/test/bench-history rename to lldb/packages/Python/lldbsuite/test/bench-history diff --git a/lldb/test/bench.py b/lldb/packages/Python/lldbsuite/test/bench.py old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/bench.py rename to lldb/packages/Python/lldbsuite/test/bench.py diff --git a/lldb/test/benchmarks/continue/Makefile b/lldb/packages/Python/lldbsuite/test/benchmarks/continue/Makefile similarity index 100% rename from lldb/test/benchmarks/continue/Makefile rename to lldb/packages/Python/lldbsuite/test/benchmarks/continue/Makefile diff --git a/lldb/test/benchmarks/continue/TestBenchmarkContinue.py b/lldb/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py similarity index 100% rename from lldb/test/benchmarks/continue/TestBenchmarkContinue.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py diff --git a/lldb/test/benchmarks/continue/main.cpp b/lldb/packages/Python/lldbsuite/test/benchmarks/continue/main.cpp similarity index 100% rename from lldb/test/benchmarks/continue/main.cpp rename to lldb/packages/Python/lldbsuite/test/benchmarks/continue/main.cpp diff --git a/lldb/test/benchmarks/disassembly/TestDisassembly.py b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDisassembly.py similarity index 100% rename from lldb/test/benchmarks/disassembly/TestDisassembly.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDisassembly.py diff --git a/lldb/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py similarity index 100% rename from lldb/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py diff --git a/lldb/test/benchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py b/lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py similarity index 100% rename from lldb/test/benchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py diff --git a/lldb/test/benchmarks/expression/Makefile b/lldb/packages/Python/lldbsuite/test/benchmarks/expression/Makefile similarity index 100% rename from lldb/test/benchmarks/expression/Makefile rename to lldb/packages/Python/lldbsuite/test/benchmarks/expression/Makefile diff --git a/lldb/test/benchmarks/expression/TestExpressionCmd.py b/lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py similarity index 100% rename from lldb/test/benchmarks/expression/TestExpressionCmd.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py diff --git a/lldb/test/benchmarks/expression/TestRepeatedExprs.py b/lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py similarity index 100% rename from lldb/test/benchmarks/expression/TestRepeatedExprs.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py diff --git a/lldb/test/benchmarks/expression/main.cpp b/lldb/packages/Python/lldbsuite/test/benchmarks/expression/main.cpp similarity index 100% rename from lldb/test/benchmarks/expression/main.cpp rename to lldb/packages/Python/lldbsuite/test/benchmarks/expression/main.cpp diff --git a/lldb/test/benchmarks/frame_variable/TestFrameVariableResponse.py b/lldb/packages/Python/lldbsuite/test/benchmarks/frame_variable/TestFrameVariableResponse.py similarity index 100% rename from lldb/test/benchmarks/frame_variable/TestFrameVariableResponse.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/frame_variable/TestFrameVariableResponse.py diff --git a/lldb/test/benchmarks/startup/TestStartupDelays.py b/lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py similarity index 100% rename from lldb/test/benchmarks/startup/TestStartupDelays.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py diff --git a/lldb/test/benchmarks/stepping/TestRunHooksThenSteppings.py b/lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestRunHooksThenSteppings.py similarity index 100% rename from lldb/test/benchmarks/stepping/TestRunHooksThenSteppings.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestRunHooksThenSteppings.py diff --git a/lldb/test/benchmarks/stepping/TestSteppingSpeed.py b/lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py similarity index 100% rename from lldb/test/benchmarks/stepping/TestSteppingSpeed.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py diff --git a/lldb/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py b/lldb/packages/Python/lldbsuite/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py similarity index 100% rename from lldb/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py rename to lldb/packages/Python/lldbsuite/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py diff --git a/lldb/test/blacklist.py b/lldb/packages/Python/lldbsuite/test/blacklist.py similarity index 100% rename from lldb/test/blacklist.py rename to lldb/packages/Python/lldbsuite/test/blacklist.py diff --git a/lldb/test/crashinfo.c b/lldb/packages/Python/lldbsuite/test/crashinfo.c similarity index 100% rename from lldb/test/crashinfo.c rename to lldb/packages/Python/lldbsuite/test/crashinfo.c diff --git a/lldb/test/curses_results.py b/lldb/packages/Python/lldbsuite/test/curses_results.py similarity index 100% rename from lldb/test/curses_results.py rename to lldb/packages/Python/lldbsuite/test/curses_results.py diff --git a/lldb/test/dosep.py b/lldb/packages/Python/lldbsuite/test/dosep.py old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/dosep.py rename to lldb/packages/Python/lldbsuite/test/dosep.py diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py new file mode 100644 index 0000000000000000000000000000000000000000..7c08bac48db359971a2e03c817d613860ef06749 --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -0,0 +1,2039 @@ +#!/usr/bin/env python + +""" +A simple testing framework for lldb using python's unit testing framework. + +Tests for lldb are written as python scripts which take advantage of the script +bridging provided by LLDB.framework to interact with lldb core. + +A specific naming pattern is followed by the .py script to be recognized as +a module which implements a test scenario, namely, Test*.py. + +To specify the directories where "Test*.py" python test scripts are located, +you need to pass in a list of directory names. By default, the current +working directory is searched if nothing is specified on the command line. + +Type: + +./dotest.py -h + +for available options. +""" + +from __future__ import print_function + +import use_lldb_suite + +import lldbsuite + +import atexit +import commands +import importlib +import os +import dotest_args +import errno +import platform +import progress +import signal +import socket +import subprocess +import sys +import test_results +from test_results import EventBuilder +import inspect +import unittest2 +import lldbtest_config +import test_categories + +import six + +def is_exe(fpath): + """Returns true if fpath is an executable.""" + return os.path.isfile(fpath) and os.access(fpath, os.X_OK) + +def which(program): + """Returns the full path to a program; None otherwise.""" + fpath, fname = os.path.split(program) + if fpath: + if is_exe(program): + return program + else: + for path in os.environ["PATH"].split(os.pathsep): + exe_file = os.path.join(path, program) + if is_exe(exe_file): + return exe_file + return None + +class _WritelnDecorator(object): + """Used to decorate file-like objects with a handy 'writeln' method""" + def __init__(self,stream): + self.stream = stream + + def __getattr__(self, attr): + if attr in ('stream', '__getstate__'): + raise AttributeError(attr) + return getattr(self.stream,attr) + + def writeln(self, arg=None): + if arg: + self.write(arg) + self.write('\n') # text-mode streams translate to \r\n if needed + +# +# Global variables: +# + +# The test suite. +suite = unittest2.TestSuite() + +# By default, benchmarks tests are not run. +just_do_benchmarks_test = False + +dont_do_dsym_test = False +dont_do_dwarf_test = False +dont_do_dwo_test = False + +# The blacklist is optional (-b blacklistFile) and allows a central place to skip +# testclass's and/or testclass.testmethod's. +blacklist = None + +# The dictionary as a result of sourcing blacklistFile. +blacklistConfig = {} + +# The list of categories we said we care about +categoriesList = None +# set to true if we are going to use categories for cherry-picking test cases +useCategories = False +# Categories we want to skip +skipCategories = [] +# use this to track per-category failures +failuresPerCategory = {} + +# The path to LLDB.framework is optional. +lldbFrameworkPath = None + +# The config file is optional. +configFile = None + +# Test suite repeat count. Can be overwritten with '-# count'. +count = 1 + +# The dictionary as a result of sourcing configFile. +config = {} +# The pre_flight and post_flight functions come from reading a config file. +pre_flight = None +post_flight = None +# So do the lldbtest_remote_sandbox and lldbtest_remote_shell_template variables. +lldbtest_remote_sandbox = None +lldbtest_remote_shell_template = None + +# The 'archs' and 'compilers' can be specified via either command line or configFile, +# with the command line overriding the configFile. The corresponding options can be +# specified more than once. For example, "-A x86_64 -A i386" => archs=['x86_64', 'i386'] +# and "-C gcc -C clang" => compilers=['gcc', 'clang']. +archs = None # Must be initialized after option parsing +compilers = None # Must be initialized after option parsing + +# The arch might dictate some specific CFLAGS to be passed to the toolchain to build +# the inferior programs. The global variable cflags_extras provides a hook to do +# just that. +cflags_extras = '' + +# Dump the Python sys.path variable. Use '-D' to dump sys.path. +dumpSysPath = False + +# Full path of the benchmark executable, as specified by the '-e' option. +bmExecutable = None +# The breakpoint specification of bmExecutable, as specified by the '-x' option. +bmBreakpointSpec = None +# The benchmark iteration count, as specified by the '-y' option. +bmIterationCount = -1 + +# By default, don't exclude any directories. Use '-X' to add one excluded directory. +excluded = set(['.svn', '.git']) + +# By default, failfast is False. Use '-F' to overwrite it. +failfast = False + +# The filters (testclass.testmethod) used to admit tests into our test suite. +filters = [] + +# The runhooks is a list of lldb commands specifically for the debugger. +# Use '-k' to specify a runhook. +runHooks = [] + +# If '-g' is specified, the filterspec is not exclusive. If a test module does +# not contain testclass.testmethod which matches the filterspec, the whole test +# module is still admitted into our test suite. fs4all flag defaults to True. +fs4all = True + +# Ignore the build search path relative to this script to locate the lldb.py module. +ignore = False + +# By default, we do not skip build and cleanup. Use '-S' option to override. +skip_build_and_cleanup = False + +# By default, we skip long running test case. Use '-l' option to override. +skip_long_running_test = True + +# By default, we print the build dir, lldb version, and svn info. Use '-n' option to +# turn it off. +noHeaders = False + +# Parsable mode silences headers, and any other output this script might generate, and instead +# prints machine-readable output similar to what clang tests produce. +parsable = False + +# The regular expression pattern to match against eligible filenames as our test cases. +regexp = None + +# By default, tests are executed in place and cleanups are performed afterwards. +# Use '-r dir' option to relocate the tests and their intermediate files to a +# different directory and to forgo any cleanups. The directory specified must +# not exist yet. +rdir = None + +# By default, recorded session info for errored/failed test are dumped into its +# own file under a session directory named after the timestamp of the test suite +# run. Use '-s session-dir-name' to specify a specific dir name. +sdir_name = None + +# Set this flag if there is any session info dumped during the test run. +sdir_has_content = False + +# svn_info stores the output from 'svn info lldb.base.dir'. +svn_info = '' + +# svn_silent means do not try to obtain svn status +svn_silent = True + +# Default verbosity is 0. +verbose = 1 + +# Set to True only if verbose is 0 and LLDB trace mode is off. +progress_bar = False + +# By default, search from the script directory. +# We can't use sys.path[0] to determine the script directory +# because it doesn't work under a debugger +testdirs = [ os.path.dirname(os.path.realpath(__file__)) ] + +# Separator string. +separator = '-' * 70 + +failed = False + +# LLDB Remote platform setting +lldb_platform_name = None +lldb_platform_url = None +lldb_platform_working_dir = None + +# Parallel execution settings +is_inferior_test_runner = False +multiprocess_test_subdir = None +num_threads = None +output_on_success = False +no_multiprocess_test_runner = False +test_runner_name = None + +# Test results handling globals +results_filename = None +results_port = None +results_file_object = None +results_formatter_name = None +results_formatter_object = None +results_formatter_options = None + +# The names of all tests. Used to assert we don't have two tests with the same base name. +all_tests = set() + +def usage(parser): + parser.print_help() + if verbose > 0: + print(""" +Examples: + +This is an example of using the -f option to pinpoint to a specific test class +and test method to be run: + +$ ./dotest.py -f ClassTypesTestCase.test_with_dsym_and_run_command +---------------------------------------------------------------------- +Collected 1 test + +test_with_dsym_and_run_command (TestClassTypes.ClassTypesTestCase) +Test 'frame variable this' when stopped on a class constructor. ... ok + +---------------------------------------------------------------------- +Ran 1 test in 1.396s + +OK + +And this is an example of using the -p option to run a single file (the filename +matches the pattern 'ObjC' and it happens to be 'TestObjCMethods.py'): + +$ ./dotest.py -v -p ObjC +---------------------------------------------------------------------- +Collected 4 tests + +test_break_with_dsym (TestObjCMethods.FoundationTestCase) +Test setting objc breakpoints using '_regexp-break' and 'breakpoint set'. ... ok +test_break_with_dwarf (TestObjCMethods.FoundationTestCase) +Test setting objc breakpoints using '_regexp-break' and 'breakpoint set'. ... ok +test_data_type_and_expr_with_dsym (TestObjCMethods.FoundationTestCase) +Lookup objective-c data types and evaluate expressions. ... ok +test_data_type_and_expr_with_dwarf (TestObjCMethods.FoundationTestCase) +Lookup objective-c data types and evaluate expressions. ... ok + +---------------------------------------------------------------------- +Ran 4 tests in 16.661s + +OK + +Running of this script also sets up the LLDB_TEST environment variable so that +individual test cases can locate their supporting files correctly. The script +tries to set up Python's search paths for modules by looking at the build tree +relative to this script. See also the '-i' option in the following example. + +Finally, this is an example of using the lldb.py module distributed/installed by +Xcode4 to run against the tests under the 'forward' directory, and with the '-w' +option to add some delay between two tests. It uses ARCH=x86_64 to specify that +as the architecture and CC=clang to specify the compiler used for the test run: + +$ PYTHONPATH=/Xcode4/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/Python ARCH=x86_64 CC=clang ./dotest.py -v -w -i forward + +Session logs for test failures/errors will go into directory '2010-11-11-13_56_16' +---------------------------------------------------------------------- +Collected 2 tests + +test_with_dsym_and_run_command (TestForwardDeclaration.ForwardDeclarationTestCase) +Display *bar_ptr when stopped on a function with forward declaration of struct bar. ... ok +test_with_dwarf_and_run_command (TestForwardDeclaration.ForwardDeclarationTestCase) +Display *bar_ptr when stopped on a function with forward declaration of struct bar. ... ok + +---------------------------------------------------------------------- +Ran 2 tests in 5.659s + +OK + +The 'Session ...' verbiage is recently introduced (see also the '-s' option) to +notify the directory containing the session logs for test failures or errors. +In case there is any test failure/error, a similar message is appended at the +end of the stderr output for your convenience. + +ENABLING LOGS FROM TESTS + +Option 1: + +Writing logs into different files per test case:: + +This option is particularly useful when multiple dotest instances are created +by dosep.py + +$ ./dotest.py --channel "lldb all" + +$ ./dotest.py --channel "lldb all" --channel "gdb-remote packets" + +These log files are written to: + +/-host.log (logs from lldb host process) +/-server.log (logs from debugserver/lldb-server) +/-.log (console logs) + +By default, logs from successful runs are deleted. Use the --log-success flag +to create reference logs for debugging. + +$ ./dotest.py --log-success + +Option 2: (DEPRECATED) + +The following options can only enable logs from the host lldb process. +Only categories from the "lldb" or "gdb-remote" channels can be enabled +They also do not automatically enable logs in locally running debug servers. +Also, logs from all test case are written into each log file + +o LLDB_LOG: if defined, specifies the log file pathname for the 'lldb' subsystem + with a default option of 'event process' if LLDB_LOG_OPTION is not defined. + +o GDB_REMOTE_LOG: if defined, specifies the log file pathname for the + 'process.gdb-remote' subsystem with a default option of 'packets' if + GDB_REMOTE_LOG_OPTION is not defined. + +""") + sys.exit(0) + + +def setCrashInfoHook_Mac(text): + import crashinfo + crashinfo.setCrashReporterDescription(text) + +# implement this in some suitable way for your platform, and then bind it +# to setCrashInfoHook +def setCrashInfoHook_NonMac(text): + pass + +setCrashInfoHook = None + +def deleteCrashInfoDylib(dylib_path): + try: + # Need to modify this to handle multiple tests running at the same time. If we move this + # to the test's real dir, all should be we run sequentially within a test directory. + # os.remove(dylib_path) + None + finally: + pass + +def setupCrashInfoHook(): + global setCrashInfoHook + setCrashInfoHook = setCrashInfoHook_NonMac # safe default + if platform.system() == "Darwin": + import lock + test_dir = os.environ['LLDB_TEST'] + if not test_dir or not os.path.exists(test_dir): + return + dylib_lock = os.path.join(test_dir,"crashinfo.lock") + dylib_src = os.path.join(test_dir,"crashinfo.c") + dylib_dst = os.path.join(test_dir,"crashinfo.so") + try: + compile_lock = lock.Lock(dylib_lock) + compile_lock.acquire() + if not os.path.isfile(dylib_dst) or os.path.getmtime(dylib_dst) < os.path.getmtime(dylib_src): + # we need to compile + cmd = "SDKROOT= xcrun clang %s -o %s -framework Python -Xlinker -dylib -iframework /System/Library/Frameworks/ -Xlinker -F /System/Library/Frameworks/" % (dylib_src,dylib_dst) + if subprocess.call(cmd,shell=True) != 0 or not os.path.isfile(dylib_dst): + raise Exception('command failed: "{}"'.format(cmd)) + finally: + compile_lock.release() + del compile_lock + + setCrashInfoHook = setCrashInfoHook_Mac + + else: + pass + +def shouldSkipBecauseOfCategories(test_categories): + global useCategories, categoriesList, skipCategories + + if useCategories: + if len(test_categories) == 0 or len(categoriesList & set(test_categories)) == 0: + return True + + for category in skipCategories: + if category in test_categories: + return True + + return False + +def parseOptionsAndInitTestdirs(): + """Initialize the list of directories containing our unittest scripts. + + '-h/--help as the first option prints out usage info and exit the program. + """ + + global just_do_benchmarks_test + global dont_do_dsym_test + global dont_do_dwarf_test + global dont_do_dwo_test + global blacklist + global blacklistConfig + global categoriesList + global validCategories + global useCategories + global skipCategories + global lldbFrameworkPath + global configFile + global archs + global compilers + global count + global dumpSysPath + global bmExecutable + global bmBreakpointSpec + global bmIterationCount + global failfast + global filters + global fs4all + global ignore + global progress_bar + global runHooks + global skip_build_and_cleanup + global skip_long_running_test + global noHeaders + global parsable + global regexp + global rdir + global sdir_name + global svn_silent + global verbose + global testdirs + global lldb_platform_name + global lldb_platform_url + global lldb_platform_working_dir + global setCrashInfoHook + global is_inferior_test_runner + global multiprocess_test_subdir + global num_threads + global output_on_success + global no_multiprocess_test_runner + global test_runner_name + global results_filename + global results_formatter_name + global results_formatter_options + global results_port + + do_help = False + + platform_system = platform.system() + platform_machine = platform.machine() + + parser = dotest_args.create_parser() + args = dotest_args.parse_args(parser, sys.argv[1:]) + + if args.unset_env_varnames: + for env_var in args.unset_env_varnames: + if env_var in os.environ: + # From Python Doc: When unsetenv() is supported, deletion of items in os.environ + # is automatically translated into a corresponding call to unsetenv(). + del os.environ[env_var] + #os.unsetenv(env_var) + + if args.set_env_vars: + for env_var in args.set_env_vars: + parts = env_var.split('=', 1) + if len(parts) == 1: + os.environ[parts[0]] = "" + else: + os.environ[parts[0]] = parts[1] + + # only print the args if being verbose (and parsable is off) + if args.v and not args.q: + print(sys.argv) + + if args.h: + do_help = True + + if args.compilers: + compilers = args.compilers + else: + # Use a compiler appropriate appropriate for the Apple SDK if one was specified + if platform_system == 'Darwin' and args.apple_sdk: + compilers = [commands.getoutput('xcrun -sdk "%s" -find clang 2> /dev/null' % (args.apple_sdk))] + else: + # 'clang' on ubuntu 14.04 is 3.4 so we try clang-3.5 first + candidateCompilers = ['clang-3.5', 'clang', 'gcc'] + for candidate in candidateCompilers: + if which(candidate): + compilers = [candidate] + break + + if args.channels: + lldbtest_config.channels = args.channels + + if args.log_success: + lldbtest_config.log_success = args.log_success + + # Set SDKROOT if we are using an Apple SDK + if platform_system == 'Darwin' and args.apple_sdk: + os.environ['SDKROOT'] = commands.getoutput('xcrun --sdk "%s" --show-sdk-path 2> /dev/null' % (args.apple_sdk)) + + if args.archs: + archs = args.archs + for arch in archs: + if arch.startswith('arm') and platform_system == 'Darwin' and not args.apple_sdk: + os.environ['SDKROOT'] = commands.getoutput('xcrun --sdk iphoneos.internal --show-sdk-path 2> /dev/null') + if not os.path.exists(os.environ['SDKROOT']): + os.environ['SDKROOT'] = commands.getoutput('xcrun --sdk iphoneos --show-sdk-path 2> /dev/null') + else: + archs = [platform_machine] + + if args.categoriesList: + categoriesList = set(test_categories.validate(args.categoriesList, False)) + useCategories = True + else: + categoriesList = [] + + if args.skipCategories: + skipCategories = test_categories.validate(args.skipCategories, False) + + if args.D: + dumpSysPath = True + + if args.E: + cflags_extras = args.E + os.environ['CFLAGS_EXTRAS'] = cflags_extras + + # argparse makes sure we have correct options + if args.N == 'dwarf': + dont_do_dwarf_test = True + elif args.N == 'dwo': + dont_do_dwo_test = True + elif args.N == 'dsym': + dont_do_dsym_test = True + + if args.a or args.plus_a: + print("Options '-a' and '+a' have been deprecated. Please use the test category\n" + "functionality (-G pyapi, --skip-category pyapi) instead.") + sys.exit(1) + + if args.m or args.plus_m: + print("Options '-m' and '+m' have been deprecated. Please use the test category\n" + "functionality (-G lldb-mi, --skip-category lldb-mi) instead.") + sys.exit(1) + + if args.plus_b: + just_do_benchmarks_test = True + + if args.b: + if args.b.startswith('-'): + usage(parser) + blacklistFile = args.b + if not os.path.isfile(blacklistFile): + print('Blacklist file:', blacklistFile, 'does not exist!') + usage(parser) + # Now read the blacklist contents and assign it to blacklist. + execfile(blacklistFile, globals(), blacklistConfig) + blacklist = blacklistConfig.get('blacklist') + + if args.c: + if args.c.startswith('-'): + usage(parser) + configFile = args.c + if not os.path.isfile(configFile): + print('Config file:', configFile, 'does not exist!') + usage(parser) + + if args.d: + sys.stdout.write("Suspending the process %d to wait for debugger to attach...\n" % os.getpid()) + sys.stdout.flush() + os.kill(os.getpid(), signal.SIGSTOP) + + if args.e: + if args.e.startswith('-'): + usage(parser) + bmExecutable = args.e + if not is_exe(bmExecutable): + usage(parser) + + if args.F: + failfast = True + + if args.f: + if any([x.startswith('-') for x in args.f]): + usage(parser) + filters.extend(args.f) + # Shut off multiprocessing mode when additional filters are specified. + # The rational is that the user is probably going after a very specific + # test and doesn't need a bunch of parallel test runners all looking for + # it in a frenzy. Also, '-v' now spits out all test run output even + # on success, so the standard recipe for redoing a failing test (with -v + # and a -f to filter to the specific test) now causes all test scanning + # (in parallel) to print results for do-nothing runs in a very distracting + # manner. If we really need filtered parallel runs in the future, consider + # adding a --no-output-on-success that prevents -v from setting + # output-on-success. + no_multiprocess_test_runner = True + + if args.g: + fs4all = False + + if args.i: + ignore = True + + if args.k: + runHooks.extend(args.k) + + if args.l: + skip_long_running_test = False + + if args.framework: + lldbFrameworkPath = args.framework + + if args.executable: + lldbtest_config.lldbExec = args.executable + + if args.libcxx: + os.environ["LIBCXX_PATH"] = args.libcxx + + if args.n: + noHeaders = True + + if args.p: + if args.p.startswith('-'): + usage(parser) + regexp = args.p + + if args.q: + noHeaders = True + parsable = True + + if args.P and not args.v: + progress_bar = True + verbose = 0 + + if args.R: + if args.R.startswith('-'): + usage(parser) + rdir = os.path.abspath(args.R) + if os.path.exists(rdir): + import shutil + print('Removing tree:', rdir) + shutil.rmtree(rdir) + + if args.r: + if args.r.startswith('-'): + usage(parser) + rdir = os.path.abspath(args.r) + if os.path.exists(rdir): + print('Relocated directory:', rdir, 'must not exist!') + usage(parser) + + if args.S: + skip_build_and_cleanup = True + + if args.s: + if args.s.startswith('-'): + usage(parser) + sdir_name = args.s + + if args.t: + os.environ['LLDB_COMMAND_TRACE'] = 'YES' + + if args.T: + svn_silent = False + + if args.v: + verbose = 2 + + if args.w: + os.environ['LLDB_WAIT_BETWEEN_TEST_CASES'] = 'YES' + + if args.X: + if args.X.startswith('-'): + usage(parser) + excluded.add(args.X) + + if args.x: + if args.x.startswith('-'): + usage(parser) + bmBreakpointSpec = args.x + + # argparse makes sure we have a number + if args.y: + bmIterationCount = args.y + + # argparse makes sure we have a number + if args.sharp: + count = args.sharp + + if sys.platform.startswith('win32'): + os.environ['LLDB_DISABLE_CRASH_DIALOG'] = str(args.disable_crash_dialog) + os.environ['LLDB_LAUNCH_INFERIORS_WITHOUT_CONSOLE'] = str(args.hide_inferior_console) + + if do_help == True: + usage(parser) + + if args.no_multiprocess: + no_multiprocess_test_runner = True + + if args.inferior: + is_inferior_test_runner = True + + # Turn on output_on_sucess if either explicitly added or -v specified. + if args.output_on_success or args.v: + output_on_success = True + + if args.num_threads: + num_threads = args.num_threads + + if args.test_subdir: + multiprocess_test_subdir = args.test_subdir + + if args.test_runner_name: + test_runner_name = args.test_runner_name + + # Capture test results-related args. + if args.results_file: + results_filename = args.results_file + + if args.results_port: + results_port = args.results_port + + if args.results_file and args.results_port: + sys.stderr.write( + "only one of --results-file and --results-port should " + "be specified\n") + usage(args) + + if args.results_formatter: + results_formatter_name = args.results_formatter + if args.results_formatter_options: + results_formatter_options = args.results_formatter_options + + if args.lldb_platform_name: + lldb_platform_name = args.lldb_platform_name + if args.lldb_platform_url: + lldb_platform_url = args.lldb_platform_url + if args.lldb_platform_working_dir: + lldb_platform_working_dir = args.lldb_platform_working_dir + + if args.event_add_entries and len(args.event_add_entries) > 0: + entries = {} + # Parse out key=val pairs, separated by comma + for keyval in args.event_add_entries.split(","): + key_val_entry = keyval.split("=") + if len(key_val_entry) == 2: + (key, val) = key_val_entry + val_parts = val.split(':') + if len(val_parts) > 1: + (val, val_type) = val_parts + if val_type == 'int': + val = int(val) + entries[key] = val + # Tell the event builder to create all events with these + # key/val pairs in them. + if len(entries) > 0: + test_results.EventBuilder.add_entries_to_all_events(entries) + + # Gather all the dirs passed on the command line. + if len(args.args) > 0: + testdirs = list(map(os.path.abspath, args.args)) + # Shut off multiprocessing mode when test directories are specified. + no_multiprocess_test_runner = True + + # If '-r dir' is specified, the tests should be run under the relocated + # directory. Let's copy the testdirs over. + if rdir: + from shutil import copytree, ignore_patterns + + tmpdirs = [] + orig_testdirs = testdirs[:] + for srcdir in testdirs: + # For example, /Volumes/data/lldb/svn/ToT/test/functionalities/watchpoint/hello_watchpoint + # shall be split into ['/Volumes/data/lldb/svn/ToT/', 'functionalities/watchpoint/hello_watchpoint']. + # Utilize the relative path to the 'test' directory to make our destination dir path. + if ("test" + os.sep) in srcdir: + to_split_on = "test" + os.sep + else: + to_split_on = "test" + dstdir = os.path.join(rdir, srcdir.split(to_split_on)[1]) + dstdir = dstdir.rstrip(os.sep) + # Don't copy the *.pyc and .svn stuffs. + copytree(srcdir, dstdir, ignore=ignore_patterns('*.pyc', '.svn')) + tmpdirs.append(dstdir) + + # This will be our modified testdirs. + testdirs = tmpdirs + + # With '-r dir' specified, there's no cleanup of intermediate test files. + os.environ["LLDB_DO_CLEANUP"] = 'NO' + + # If the original testdirs is ['test'], the make directory has already been copied + # recursively and is contained within the rdir/test dir. For anything + # else, we would need to copy over the make directory and its contents, + # so that, os.listdir(rdir) looks like, for example: + # + # array_types conditional_break make + # + # where the make directory contains the Makefile.rules file. + if len(testdirs) != 1 or os.path.basename(orig_testdirs[0]) != 'test': + scriptdir = os.path.dirname(__file__) + # Don't copy the .svn stuffs. + copytree(os.path.join(scriptdir, 'make'), os.path.join(rdir, 'make'), + ignore=ignore_patterns('.svn')) + + #print("testdirs:", testdirs) + + # Source the configFile if specified. + # The side effect, if any, will be felt from this point on. An example + # config file may be these simple two lines: + # + # sys.stderr = open("/tmp/lldbtest-stderr", "w") + # sys.stdout = open("/tmp/lldbtest-stdout", "w") + # + # which will reassign the two file objects to sys.stderr and sys.stdout, + # respectively. + # + # See also lldb-trunk/examples/test/usage-config. + global config, pre_flight, post_flight, lldbtest_remote_sandbox, lldbtest_remote_shell_template + if configFile: + # Pass config (a dictionary) as the locals namespace for side-effect. + execfile(configFile, globals(), config) + #print("config:", config) + if "pre_flight" in config: + pre_flight = config["pre_flight"] + if not six.callable(pre_flight): + print("fatal error: pre_flight is not callable, exiting.") + sys.exit(1) + if "post_flight" in config: + post_flight = config["post_flight"] + if not six.callable(post_flight): + print("fatal error: post_flight is not callable, exiting.") + sys.exit(1) + if "lldbtest_remote_sandbox" in config: + lldbtest_remote_sandbox = config["lldbtest_remote_sandbox"] + if "lldbtest_remote_shell_template" in config: + lldbtest_remote_shell_template = config["lldbtest_remote_shell_template"] + #print("sys.stderr:", sys.stderr) + #print("sys.stdout:", sys.stdout) + +def getXcodeOutputPaths(lldbRootDirectory): + result = [] + + # These are for xcode build directories. + xcode3_build_dir = ['build'] + xcode4_build_dir = ['build', 'lldb', 'Build', 'Products'] + + configurations = [['Debug'], ['DebugClang'], ['Release'], ['BuildAndIntegration']] + xcode_build_dirs = [xcode3_build_dir, xcode4_build_dir] + for configuration in configurations: + for xcode_build_dir in xcode_build_dirs: + outputPath = os.path.join(lldbRootDirectory, *(xcode_build_dir+configuration) ) + result.append(outputPath) + + return result + + +def createSocketToLocalPort(port): + def socket_closer(s): + """Close down an opened socket properly.""" + s.shutdown(socket.SHUT_RDWR) + s.close() + + sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + sock.connect(("localhost", port)) + return (sock, lambda: socket_closer(sock)) + + +def setupTestResults(): + """Sets up test results-related objects based on arg settings.""" + global results_filename + global results_file_object + global results_formatter_name + global results_formatter_object + global results_formatter_options + global results_port + + default_formatter_name = None + cleanup_func = None + + if results_filename: + # Open the results file for writing. + if results_filename == 'stdout': + results_file_object = sys.stdout + cleanup_func = None + elif results_filename == 'stderr': + results_file_object = sys.stderr + cleanup_func = None + else: + results_file_object = open(results_filename, "w") + cleanup_func = results_file_object.close + default_formatter_name = "test_results.XunitFormatter" + elif results_port: + # Connect to the specified localhost port. + results_file_object, cleanup_func = createSocketToLocalPort( + results_port) + default_formatter_name = "test_results.RawPickledFormatter" + + if results_file_object: + # We care about the formatter. Choose user-specified or, if + # none specified, use the default for the output type. + if results_formatter_name: + formatter_name = results_formatter_name + else: + formatter_name = default_formatter_name + + # Create an instance of the class. First figure out the package/module. + components = formatter_name.split(".") + module = importlib.import_module(".".join(components[:-1])) + + # Create the class name we need to load. + clazz = getattr(module, components[-1]) + + # Handle formatter options for the results formatter class. + formatter_arg_parser = clazz.arg_parser() + if results_formatter_options and len(results_formatter_options) > 0: + command_line_options = results_formatter_options + else: + command_line_options = [] + + formatter_options = formatter_arg_parser.parse_args( + command_line_options) + + # Create the TestResultsFormatter given the processed options. + results_formatter_object = clazz(results_file_object, formatter_options) + + # Start the results formatter session - we'll only have one + # during a given dotest process invocation. + initialize_event = EventBuilder.bare_event("initialize") + if isMultiprocessTestRunner(): + if test_runner_name is not None and test_runner_name == "serial": + # Only one worker queue here. + worker_count = 1 + else: + # Workers will be the number of threads specified. + worker_count = num_threads + else: + worker_count = 1 + initialize_event["worker_count"] = worker_count + + results_formatter_object.handle_event(initialize_event) + + def shutdown_formatter(): + # Tell the formatter to write out anything it may have + # been saving until the very end (e.g. xUnit results + # can't complete its output until this point). + results_formatter_object.send_terminate_as_needed() + + # And now close out the output file-like object. + if cleanup_func is not None: + cleanup_func() + + atexit.register(shutdown_formatter) + + +def getOutputPaths(lldbRootDirectory): + """ + Returns typical build output paths for the lldb executable + + lldbDirectory - path to the root of the lldb svn/git repo + """ + result = [] + + if sys.platform == 'darwin': + result.extend(getXcodeOutputPaths(lldbRootDirectory)) + + # cmake builds? look for build or build/host folder next to llvm directory + # lldb is located in llvm/tools/lldb so we need to go up three levels + llvmParentDir = os.path.abspath(os.path.join(lldbRootDirectory, os.pardir, os.pardir, os.pardir)) + result.append(os.path.join(llvmParentDir, 'build', 'bin')) + result.append(os.path.join(llvmParentDir, 'build', 'host', 'bin')) + + # some cmake developers keep their build directory beside their lldb directory + lldbParentDir = os.path.abspath(os.path.join(lldbRootDirectory, os.pardir)) + result.append(os.path.join(lldbParentDir, 'build', 'bin')) + result.append(os.path.join(lldbParentDir, 'build', 'host', 'bin')) + + return result + +def setupSysPath(): + """ + Add LLDB.framework/Resources/Python to the search paths for modules. + As a side effect, we also discover the 'lldb' executable and export it here. + """ + + global rdir + global testdirs + global dumpSysPath + global noHeaders + global svn_info + global svn_silent + global lldbFrameworkPath + + # Get the directory containing the current script. + if "DOTEST_PROFILE" in os.environ and "DOTEST_SCRIPT_DIR" in os.environ: + scriptPath = os.environ["DOTEST_SCRIPT_DIR"] + else: + scriptPath = os.path.dirname(os.path.realpath(__file__)) + if not scriptPath.endswith('test'): + print("This script expects to reside in lldb's test directory.") + sys.exit(-1) + + if rdir: + # Set up the LLDB_TEST environment variable appropriately, so that the + # individual tests can be located relatively. + # + # See also lldbtest.TestBase.setUpClass(cls). + if len(testdirs) == 1 and os.path.basename(testdirs[0]) == 'test': + os.environ["LLDB_TEST"] = os.path.join(rdir, 'test') + else: + os.environ["LLDB_TEST"] = rdir + else: + os.environ["LLDB_TEST"] = scriptPath + + # Set up the LLDB_SRC environment variable, so that the tests can locate + # the LLDB source code. + os.environ["LLDB_SRC"] = lldbsuite.lldb_root + + pluginPath = os.path.join(scriptPath, 'plugins') + toolsLLDBMIPath = os.path.join(scriptPath, 'tools', 'lldb-mi') + toolsLLDBServerPath = os.path.join(scriptPath, 'tools', 'lldb-server') + + # Insert script dir, plugin dir, lldb-mi dir and lldb-server dir to the sys.path. + sys.path.insert(0, scriptPath) + sys.path.insert(0, pluginPath) + sys.path.insert(0, toolsLLDBMIPath) # Adding test/tools/lldb-mi to the path makes it easy + # to "import lldbmi_testcase" from the MI tests + sys.path.insert(0, toolsLLDBServerPath) # Adding test/tools/lldb-server to the path makes it easy + # to "import lldbgdbserverutils" from the lldb-server tests + + # This is the root of the lldb git/svn checkout + # When this changes over to a package instead of a standalone script, this + # will be `lldbsuite.lldb_root` + lldbRootDirectory = lldbsuite.lldb_root + + # Some of the tests can invoke the 'lldb' command directly. + # We'll try to locate the appropriate executable right here. + + # The lldb executable can be set from the command line + # if it's not set, we try to find it now + # first, we try the environment + if not lldbtest_config.lldbExec: + # First, you can define an environment variable LLDB_EXEC specifying the + # full pathname of the lldb executable. + if "LLDB_EXEC" in os.environ: + lldbtest_config.lldbExec = os.environ["LLDB_EXEC"] + + if not lldbtest_config.lldbExec: + outputPaths = getOutputPaths(lldbRootDirectory) + for outputPath in outputPaths: + candidatePath = os.path.join(outputPath, 'lldb') + if is_exe(candidatePath): + lldbtest_config.lldbExec = candidatePath + break + + if not lldbtest_config.lldbExec: + # Last, check the path + lldbtest_config.lldbExec = which('lldb') + + if lldbtest_config.lldbExec and not is_exe(lldbtest_config.lldbExec): + print("'{}' is not a path to a valid executable".format(lldbtest_config.lldbExec)) + lldbtest_config.lldbExec = None + + if not lldbtest_config.lldbExec: + print("The 'lldb' executable cannot be located. Some of the tests may not be run as a result.") + sys.exit(-1) + + lldbLibDir = os.path.dirname(lldbtest_config.lldbExec) # confusingly, this is the "bin" directory + os.environ["LLDB_LIB_DIR"] = lldbLibDir + lldbImpLibDir = os.path.join(lldbLibDir, '..', 'lib') if sys.platform.startswith('win32') else lldbLibDir + os.environ["LLDB_IMPLIB_DIR"] = lldbImpLibDir + if not noHeaders: + print("LLDB library dir:", os.environ["LLDB_LIB_DIR"]) + print("LLDB import library dir:", os.environ["LLDB_IMPLIB_DIR"]) + os.system('%s -v' % lldbtest_config.lldbExec) + + # Assume lldb-mi is in same place as lldb + # If not found, disable the lldb-mi tests + lldbMiExec = None + if lldbtest_config.lldbExec and is_exe(lldbtest_config.lldbExec + "-mi"): + lldbMiExec = lldbtest_config.lldbExec + "-mi" + if not lldbMiExec: + if not shouldSkipBecauseOfCategories(["lldb-mi"]): + print("The 'lldb-mi' executable cannot be located. The lldb-mi tests can not be run as a result.") + skipCategories.append("lldb-mi") + else: + os.environ["LLDBMI_EXEC"] = lldbMiExec + + # Skip printing svn/git information when running in parsable (lit-test compatibility) mode + if not svn_silent and not parsable: + if os.path.isdir(os.path.join(lldbRootDirectory, '.svn')) and which("svn") is not None: + pipe = subprocess.Popen([which("svn"), "info", lldbRootDirectory], stdout = subprocess.PIPE) + svn_info = pipe.stdout.read() + elif os.path.isdir(os.path.join(lldbRootDirectory, '.git')) and which("git") is not None: + pipe = subprocess.Popen([which("git"), "svn", "info", lldbRootDirectory], stdout = subprocess.PIPE) + svn_info = pipe.stdout.read() + if not noHeaders: + print(svn_info) + + global ignore + + lldbPythonDir = None # The directory that contains 'lldb/__init__.py' + if lldbFrameworkPath: + candidatePath = os.path.join(lldbFrameworkPath, 'Resources', 'Python') + if os.path.isfile(os.path.join(candidatePath, 'lldb/__init__.py')): + lldbPythonDir = candidatePath + if not lldbPythonDir: + print('Resources/Python/lldb/__init__.py was not found in ' + lldbFrameworkPath) + sys.exit(-1) + else: + # The '-i' option is used to skip looking for lldb.py in the build tree. + if ignore: + return + + # If our lldb supports the -P option, use it to find the python path: + init_in_python_dir = os.path.join('lldb', '__init__.py') + + lldb_dash_p_result = subprocess.check_output([lldbtest_config.lldbExec, "-P"], stderr=subprocess.STDOUT) + + if lldb_dash_p_result and not lldb_dash_p_result.startswith(("<", "lldb: invalid option:")) \ + and not lldb_dash_p_result.startswith("Traceback"): + lines = lldb_dash_p_result.splitlines() + + # Workaround for readline vs libedit issue on FreeBSD. If stdout + # is not a terminal Python executes + # rl_variable_bind ("enable-meta-key", "off"); + # This produces a warning with FreeBSD's libedit because the + # enable-meta-key variable is unknown. Not an issue on Apple + # because cpython commit f0ab6f9f0603 added a #ifndef __APPLE__ + # around the call. See http://bugs.python.org/issue19884 for more + # information. For now we just discard the warning output. + if len(lines) >= 1 and lines[0].startswith("bind: Invalid command"): + lines.pop(0) + + # Taking the last line because lldb outputs + # 'Cannot read termcap database;\nusing dumb terminal settings.\n' + # before the path + if len(lines) >= 1 and os.path.isfile(os.path.join(lines[-1], init_in_python_dir)): + lldbPythonDir = lines[-1] + if "freebsd" in sys.platform or "linux" in sys.platform: + os.environ['LLDB_LIB_DIR'] = os.path.join(lldbPythonDir, '..', '..') + + if not lldbPythonDir: + if platform.system() == "Darwin": + python_resource_dir = ['LLDB.framework', 'Resources', 'Python'] + outputPaths = getXcodeOutputPaths() + for outputPath in outputPaths: + candidatePath = os.path.join(outputPath, python_resource_dir) + if os.path.isfile(os.path.join(candidatePath, init_in_python_dir)): + lldbPythonDir = candidatePath + break + + if not lldbPythonDir: + print('This script requires lldb.py to be in either ' + dbgPath + ',', end=' ') + print(relPath + ', or ' + baiPath + '. Some tests might fail.') + else: + print("Unable to load lldb extension module. Possible reasons for this include:") + print(" 1) LLDB was built with LLDB_DISABLE_PYTHON=1") + print(" 2) PYTHONPATH and PYTHONHOME are not set correctly. PYTHONHOME should refer to") + print(" the version of Python that LLDB built and linked against, and PYTHONPATH") + print(" should contain the Lib directory for the same python distro, as well as the") + print(" location of LLDB\'s site-packages folder.") + print(" 3) A different version of Python than that which was built against is exported in") + print(" the system\'s PATH environment variable, causing conflicts.") + print(" 4) The executable '%s' could not be found. Please check " % lldbExecutable) + print(" that it exists and is executable.") + + if lldbPythonDir: + lldbPythonDir = os.path.normpath(lldbPythonDir) + # Some of the code that uses this path assumes it hasn't resolved the Versions... link. + # If the path we've constructed looks like that, then we'll strip out the Versions/A part. + (before, frameWithVersion, after) = lldbPythonDir.rpartition("LLDB.framework/Versions/A") + if frameWithVersion != "" : + lldbPythonDir = before + "LLDB.framework" + after + + lldbPythonDir = os.path.abspath(lldbPythonDir) + + # If tests need to find LLDB_FRAMEWORK, now they can do it + os.environ["LLDB_FRAMEWORK"] = os.path.dirname(os.path.dirname(lldbPythonDir)) + + # This is to locate the lldb.py module. Insert it right after sys.path[0]. + sys.path[1:1] = [lldbPythonDir] + if dumpSysPath: + print("sys.path:", sys.path) + +def visit(prefix, dir, names): + """Visitor function for os.path.walk(path, visit, arg).""" + + global suite + global regexp + global filters + global fs4all + global excluded + global all_tests + + if set(dir.split(os.sep)).intersection(excluded): + #print("Detected an excluded dir component: %s" % dir) + return + + for name in names: + if os.path.isdir(os.path.join(dir, name)): + continue + + if '.py' == os.path.splitext(name)[1] and name.startswith(prefix): + + if name in all_tests: + raise Exception("Found multiple tests with the name %s" % name) + all_tests.add(name) + + # Try to match the regexp pattern, if specified. + if regexp: + import re + if re.search(regexp, name): + #print("Filename: '%s' matches pattern: '%s'" % (name, regexp)) + pass + else: + #print("Filename: '%s' does not match pattern: '%s'" % (name, regexp)) + continue + + # We found a match for our test. Add it to the suite. + + # Update the sys.path first. + if not sys.path.count(dir): + sys.path.insert(0, dir) + base = os.path.splitext(name)[0] + + # Thoroughly check the filterspec against the base module and admit + # the (base, filterspec) combination only when it makes sense. + filterspec = None + for filterspec in filters: + # Optimistically set the flag to True. + filtered = True + module = __import__(base) + parts = filterspec.split('.') + obj = module + for part in parts: + try: + parent, obj = obj, getattr(obj, part) + except AttributeError: + # The filterspec has failed. + filtered = False + break + + # If filtered, we have a good filterspec. Add it. + if filtered: + #print("adding filter spec %s to module %s" % (filterspec, module)) + suite.addTests( + unittest2.defaultTestLoader.loadTestsFromName(filterspec, module)) + continue + + # Forgo this module if the (base, filterspec) combo is invalid + # and no '-g' option is specified + if filters and fs4all and not filtered: + continue + + # Add either the filtered test case(s) (which is done before) or the entire test class. + if not filterspec or not filtered: + # A simple case of just the module name. Also the failover case + # from the filterspec branch when the (base, filterspec) combo + # doesn't make sense. + suite.addTests(unittest2.defaultTestLoader.loadTestsFromName(base)) + + +def disabledynamics(): + import lldb + ci = lldb.DBG.GetCommandInterpreter() + res = lldb.SBCommandReturnObject() + ci.HandleCommand("setting set target.prefer-dynamic-value no-dynamic-values", res, False) + if not res.Succeeded(): + raise Exception('disabling dynamic type support failed') + +def lldbLoggings(): + import lldb + """Check and do lldb loggings if necessary.""" + + # Turn on logging for debugging purposes if ${LLDB_LOG} environment variable is + # defined. Use ${LLDB_LOG} to specify the log file. + ci = lldb.DBG.GetCommandInterpreter() + res = lldb.SBCommandReturnObject() + if ("LLDB_LOG" in os.environ): + open(os.environ["LLDB_LOG"], 'w').close() + if ("LLDB_LOG_OPTION" in os.environ): + lldb_log_option = os.environ["LLDB_LOG_OPTION"] + else: + lldb_log_option = "event process expr state api" + ci.HandleCommand( + "log enable -n -f " + os.environ["LLDB_LOG"] + " lldb " + lldb_log_option, + res) + if not res.Succeeded(): + raise Exception('log enable failed (check LLDB_LOG env variable)') + + if ("LLDB_LINUX_LOG" in os.environ): + open(os.environ["LLDB_LINUX_LOG"], 'w').close() + if ("LLDB_LINUX_LOG_OPTION" in os.environ): + lldb_log_option = os.environ["LLDB_LINUX_LOG_OPTION"] + else: + lldb_log_option = "event process expr state api" + ci.HandleCommand( + "log enable -n -f " + os.environ["LLDB_LINUX_LOG"] + " linux " + lldb_log_option, + res) + if not res.Succeeded(): + raise Exception('log enable failed (check LLDB_LINUX_LOG env variable)') + + # Ditto for gdb-remote logging if ${GDB_REMOTE_LOG} environment variable is defined. + # Use ${GDB_REMOTE_LOG} to specify the log file. + if ("GDB_REMOTE_LOG" in os.environ): + if ("GDB_REMOTE_LOG_OPTION" in os.environ): + gdb_remote_log_option = os.environ["GDB_REMOTE_LOG_OPTION"] + else: + gdb_remote_log_option = "packets process" + ci.HandleCommand( + "log enable -n -f " + os.environ["GDB_REMOTE_LOG"] + " gdb-remote " + + gdb_remote_log_option, + res) + if not res.Succeeded(): + raise Exception('log enable failed (check GDB_REMOTE_LOG env variable)') + +def getMyCommandLine(): + return ' '.join(sys.argv) + +# ======================================== # +# # +# Execution of the test driver starts here # +# # +# ======================================== # + +def checkDsymForUUIDIsNotOn(): + cmd = ["defaults", "read", "com.apple.DebugSymbols"] + pipe = subprocess.Popen(cmd, stdout = subprocess.PIPE, stderr = subprocess.STDOUT) + cmd_output = pipe.stdout.read() + if cmd_output and "DBGFileMappedPaths = " in cmd_output: + print("%s =>" % ' '.join(cmd)) + print(cmd_output) + print("Disable automatic lookup and caching of dSYMs before running the test suite!") + print("Exiting...") + sys.exit(0) + +def exitTestSuite(exitCode = None): + import lldb + lldb.SBDebugger.Terminate() + if exitCode: + sys.exit(exitCode) + + +def isMultiprocessTestRunner(): + # We're not multiprocess when we're either explicitly + # the inferior (as specified by the multiprocess test + # runner) OR we've been told to skip using the multiprocess + # test runner + return not (is_inferior_test_runner or no_multiprocess_test_runner) + +def run_suite(): + global just_do_benchmarks_test + global dont_do_dsym_test + global dont_do_dwarf_test + global dont_do_dwo_test + global blacklist + global blacklistConfig + global categoriesList + global validCategories + global useCategories + global skipCategories + global lldbFrameworkPath + global configFile + global archs + global compilers + global count + global dumpSysPath + global bmExecutable + global bmBreakpointSpec + global bmIterationCount + global failed + global failfast + global filters + global fs4all + global ignore + global progress_bar + global runHooks + global skip_build_and_cleanup + global skip_long_running_test + global noHeaders + global parsable + global regexp + global rdir + global sdir_name + global svn_silent + global verbose + global testdirs + global lldb_platform_name + global lldb_platform_url + global lldb_platform_working_dir + global setCrashInfoHook + global is_inferior_test_runner + global multiprocess_test_subdir + global num_threads + global output_on_success + global no_multiprocess_test_runner + global test_runner_name + global results_filename + global results_formatter_name + global results_formatter_options + global results_port + + # On MacOS X, check to make sure that domain for com.apple.DebugSymbols defaults + # does not exist before proceeding to running the test suite. + if sys.platform.startswith("darwin"): + checkDsymForUUIDIsNotOn() + + # + # Start the actions by first parsing the options while setting up the test + # directories, followed by setting up the search paths for lldb utilities; + # then, we walk the directory trees and collect the tests into our test suite. + # + parseOptionsAndInitTestdirs() + + # Setup test results (test results formatter and output handling). + setupTestResults() + + # If we are running as the multiprocess test runner, kick off the + # multiprocess test runner here. + if isMultiprocessTestRunner(): + import dosep + dosep.main(output_on_success, num_threads, multiprocess_test_subdir, + test_runner_name, results_formatter_object) + raise Exception("should never get here") + elif is_inferior_test_runner: + # Shut off Ctrl-C processing in inferiors. The parallel + # test runner handles this more holistically. + signal.signal(signal.SIGINT, signal.SIG_IGN) + + setupSysPath() + setupCrashInfoHook() + + # + # If '-l' is specified, do not skip the long running tests. + if not skip_long_running_test: + os.environ["LLDB_SKIP_LONG_RUNNING_TEST"] = "NO" + + # For the time being, let's bracket the test runner within the + # lldb.SBDebugger.Initialize()/Terminate() pair. + import lldb + + # Create a singleton SBDebugger in the lldb namespace. + lldb.DBG = lldb.SBDebugger.Create() + + if lldb_platform_name: + print("Setting up remote platform '%s'" % (lldb_platform_name)) + lldb.remote_platform = lldb.SBPlatform(lldb_platform_name) + if not lldb.remote_platform.IsValid(): + print("error: unable to create the LLDB platform named '%s'." % (lldb_platform_name)) + exitTestSuite(1) + if lldb_platform_url: + # We must connect to a remote platform if a LLDB platform URL was specified + print("Connecting to remote platform '%s' at '%s'..." % (lldb_platform_name, lldb_platform_url)) + lldb.platform_url = lldb_platform_url + platform_connect_options = lldb.SBPlatformConnectOptions(lldb_platform_url) + err = lldb.remote_platform.ConnectRemote(platform_connect_options) + if err.Success(): + print("Connected.") + else: + print("error: failed to connect to remote platform using URL '%s': %s" % (lldb_platform_url, err)) + exitTestSuite(1) + else: + lldb.platform_url = None + + if lldb_platform_working_dir: + print("Setting remote platform working directory to '%s'..." % (lldb_platform_working_dir)) + lldb.remote_platform.SetWorkingDirectory(lldb_platform_working_dir) + + lldb.remote_platform_working_dir = lldb_platform_working_dir + lldb.DBG.SetSelectedPlatform(lldb.remote_platform) + else: + lldb.remote_platform = None + lldb.remote_platform_working_dir = None + lldb.platform_url = None + + target_platform = lldb.DBG.GetSelectedPlatform().GetTriple().split('-')[2] + + # By default, both dsym, dwarf and dwo tests are performed. + # Use @dsym_test, @dwarf_test or @dwo_test decorators, defined in lldbtest.py, to mark a test as + # a dsym, dwarf or dwo test. Use '-N dsym', '-N dwarf' or '-N dwo' to exclude dsym, dwarf or + # dwo tests from running. + dont_do_dsym_test = dont_do_dsym_test or any(platform in target_platform for platform in ["linux", "freebsd", "windows"]) + dont_do_dwo_test = dont_do_dwo_test or any(platform in target_platform for platform in ["darwin", "macosx", "ios"]) + + # Don't do debugserver tests on everything except OS X. + dont_do_debugserver_test = "linux" in target_platform or "freebsd" in target_platform or "windows" in target_platform + + # Don't do lldb-server (llgs) tests on anything except Linux. + dont_do_llgs_test = not ("linux" in target_platform) + + # + # Walk through the testdirs while collecting tests. + # + for testdir in testdirs: + os.path.walk(testdir, visit, 'Test') + + # + # Now that we have loaded all the test cases, run the whole test suite. + # + + # Put the blacklist in the lldb namespace, to be used by lldb.TestBase. + lldb.blacklist = blacklist + + # The pre_flight and post_flight come from reading a config file. + lldb.pre_flight = pre_flight + lldb.post_flight = post_flight + def getsource_if_available(obj): + """ + Return the text of the source code for an object if available. Otherwise, + a print representation is returned. + """ + import inspect + try: + return inspect.getsource(obj) + except: + return repr(obj) + + if not noHeaders: + print("lldb.pre_flight:", getsource_if_available(lldb.pre_flight)) + print("lldb.post_flight:", getsource_if_available(lldb.post_flight)) + + # If either pre_flight or post_flight is defined, set lldb.test_remote to True. + if lldb.pre_flight or lldb.post_flight: + lldb.test_remote = True + else: + lldb.test_remote = False + + # So do the lldbtest_remote_sandbox and lldbtest_remote_shell_template variables. + lldb.lldbtest_remote_sandbox = lldbtest_remote_sandbox + lldb.lldbtest_remote_sandboxed_executable = None + lldb.lldbtest_remote_shell_template = lldbtest_remote_shell_template + + # Put all these test decorators in the lldb namespace. + lldb.just_do_benchmarks_test = just_do_benchmarks_test + lldb.dont_do_dsym_test = dont_do_dsym_test + lldb.dont_do_dwarf_test = dont_do_dwarf_test + lldb.dont_do_dwo_test = dont_do_dwo_test + lldb.dont_do_debugserver_test = dont_do_debugserver_test + lldb.dont_do_llgs_test = dont_do_llgs_test + + # Do we need to skip build and cleanup? + lldb.skip_build_and_cleanup = skip_build_and_cleanup + + # Put bmExecutable, bmBreakpointSpec, and bmIterationCount into the lldb namespace, too. + lldb.bmExecutable = bmExecutable + lldb.bmBreakpointSpec = bmBreakpointSpec + lldb.bmIterationCount = bmIterationCount + + # And don't forget the runHooks! + lldb.runHooks = runHooks + + # Turn on lldb loggings if necessary. + lldbLoggings() + + # Disable default dynamic types for testing purposes + disabledynamics() + + # Install the control-c handler. + unittest2.signals.installHandler() + + # If sdir_name is not specified through the '-s sdir_name' option, get a + # timestamp string and export it as LLDB_SESSION_DIR environment var. This will + # be used when/if we want to dump the session info of individual test cases + # later on. + # + # See also TestBase.dumpSessionInfo() in lldbtest.py. + import datetime + # The windows platforms don't like ':' in the pathname. + timestamp_started = datetime.datetime.now().strftime("%Y-%m-%d-%H_%M_%S") + if not sdir_name: + sdir_name = timestamp_started + os.environ["LLDB_SESSION_DIRNAME"] = os.path.join(os.getcwd(), sdir_name) + + if not noHeaders: + sys.stderr.write("\nSession logs for test failures/errors/unexpected successes" + " will go into directory '%s'\n" % sdir_name) + sys.stderr.write("Command invoked: %s\n" % getMyCommandLine()) + + if not os.path.isdir(sdir_name): + try: + os.mkdir(sdir_name) + except OSError as exception: + if exception.errno != errno.EEXIST: + raise + where_to_save_session = os.getcwd() + fname = os.path.join(sdir_name, "TestStarted-%d" % os.getpid()) + with open(fname, "w") as f: + print("Test started at: %s\n" % timestamp_started, file=f) + print(svn_info, file=f) + print("Command invoked: %s\n" % getMyCommandLine(), file=f) + + # + # Invoke the default TextTestRunner to run the test suite, possibly iterating + # over different configurations. + # + + iterArchs = False + iterCompilers = False + + if not archs and "archs" in config: + archs = config["archs"] + + if isinstance(archs, list) and len(archs) >= 1: + iterArchs = True + + if not compilers and "compilers" in config: + compilers = config["compilers"] + + # + # Add some intervention here to sanity check that the compilers requested are sane. + # If found not to be an executable program, the invalid one is dropped from the list. + for i in range(len(compilers)): + c = compilers[i] + if which(c): + continue + else: + if sys.platform.startswith("darwin"): + pipe = subprocess.Popen(['xcrun', '-find', c], stdout = subprocess.PIPE, stderr = subprocess.STDOUT) + cmd_output = pipe.stdout.read() + if cmd_output: + if "not found" in cmd_output: + print("dropping %s from the compilers used" % c) + compilers.remove(i) + else: + compilers[i] = cmd_output.split('\n')[0] + print("'xcrun -find %s' returning %s" % (c, compilers[i])) + + if not parsable: + print("compilers=%s" % str(compilers)) + + if not compilers or len(compilers) == 0: + print("No eligible compiler found, exiting.") + exitTestSuite(1) + + if isinstance(compilers, list) and len(compilers) >= 1: + iterCompilers = True + + # Make a shallow copy of sys.path, we need to manipulate the search paths later. + # This is only necessary if we are relocated and with different configurations. + if rdir: + old_sys_path = sys.path[:] + # If we iterate on archs or compilers, there is a chance we want to split stderr/stdout. + if iterArchs or iterCompilers: + old_stderr = sys.stderr + old_stdout = sys.stdout + new_stderr = None + new_stdout = None + + # Iterating over all possible architecture and compiler combinations. + for ia in range(len(archs) if iterArchs else 1): + archConfig = "" + if iterArchs: + os.environ["ARCH"] = archs[ia] + archConfig = "arch=%s" % archs[ia] + for ic in range(len(compilers) if iterCompilers else 1): + if iterCompilers: + os.environ["CC"] = compilers[ic] + configString = "%s compiler=%s" % (archConfig, compilers[ic]) + else: + configString = archConfig + + if iterArchs or iterCompilers: + # Translate ' ' to '-' for pathname component. + from string import maketrans + tbl = maketrans(' ', '-') + configPostfix = configString.translate(tbl) + + # Check whether we need to split stderr/stdout into configuration + # specific files. + if old_stderr.name != '' and config.get('split_stderr'): + if new_stderr: + new_stderr.close() + new_stderr = open("%s.%s" % (old_stderr.name, configPostfix), "w") + sys.stderr = new_stderr + if old_stdout.name != '' and config.get('split_stdout'): + if new_stdout: + new_stdout.close() + new_stdout = open("%s.%s" % (old_stdout.name, configPostfix), "w") + sys.stdout = new_stdout + + # If we specified a relocated directory to run the test suite, do + # the extra housekeeping to copy the testdirs to a configStringified + # directory and to update sys.path before invoking the test runner. + # The purpose is to separate the configuration-specific directories + # from each other. + if rdir: + from shutil import copytree, rmtree, ignore_patterns + + newrdir = "%s.%s" % (rdir, configPostfix) + + # Copy the tree to a new directory with postfix name configPostfix. + if os.path.exists(newrdir): + rmtree(newrdir) + copytree(rdir, newrdir, ignore=ignore_patterns('*.pyc', '*.o', '*.d')) + + # Update the LLDB_TEST environment variable to reflect new top + # level test directory. + # + # See also lldbtest.TestBase.setUpClass(cls). + if len(testdirs) == 1 and os.path.basename(testdirs[0]) == 'test': + os.environ["LLDB_TEST"] = os.path.join(newrdir, 'test') + else: + os.environ["LLDB_TEST"] = newrdir + + # And update the Python search paths for modules. + sys.path = [x.replace(rdir, newrdir, 1) for x in old_sys_path] + + # Output the configuration. + if not parsable: + sys.stderr.write("\nConfiguration: " + configString + "\n") + + #print("sys.stderr name is", sys.stderr.name) + #print("sys.stdout name is", sys.stdout.name) + + # First, write out the number of collected test cases. + if not parsable: + sys.stderr.write(separator + "\n") + sys.stderr.write("Collected %d test%s\n\n" + % (suite.countTestCases(), + suite.countTestCases() != 1 and "s" or "")) + + class LLDBTestResult(unittest2.TextTestResult): + """ + Enforce a singleton pattern to allow introspection of test progress. + + Overwrite addError(), addFailure(), and addExpectedFailure() methods + to enable each test instance to track its failure/error status. It + is used in the LLDB test framework to emit detailed trace messages + to a log file for easier human inspection of test failures/errors. + """ + __singleton__ = None + __ignore_singleton__ = False + + @staticmethod + def getTerminalSize(): + import os + env = os.environ + def ioctl_GWINSZ(fd): + try: + import fcntl, termios, struct, os + cr = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ, + '1234')) + except: + return + return cr + cr = ioctl_GWINSZ(0) or ioctl_GWINSZ(1) or ioctl_GWINSZ(2) + if not cr: + try: + fd = os.open(os.ctermid(), os.O_RDONLY) + cr = ioctl_GWINSZ(fd) + os.close(fd) + except: + pass + if not cr: + cr = (env.get('LINES', 25), env.get('COLUMNS', 80)) + return int(cr[1]), int(cr[0]) + + def __init__(self, *args): + if not LLDBTestResult.__ignore_singleton__ and LLDBTestResult.__singleton__: + raise Exception("LLDBTestResult instantiated more than once") + super(LLDBTestResult, self).__init__(*args) + LLDBTestResult.__singleton__ = self + # Now put this singleton into the lldb module namespace. + lldb.test_result = self + # Computes the format string for displaying the counter. + global suite + counterWidth = len(str(suite.countTestCases())) + self.fmt = "%" + str(counterWidth) + "d: " + self.indentation = ' ' * (counterWidth + 2) + # This counts from 1 .. suite.countTestCases(). + self.counter = 0 + (width, height) = LLDBTestResult.getTerminalSize() + self.progressbar = None + global progress_bar + if width > 10 and not parsable and progress_bar: + try: + self.progressbar = progress.ProgressWithEvents(stdout=self.stream,start=0,end=suite.countTestCases(),width=width-10) + except: + self.progressbar = None + self.results_formatter = results_formatter_object + + def _config_string(self, test): + compiler = getattr(test, "getCompiler", None) + arch = getattr(test, "getArchitecture", None) + return "%s-%s" % (compiler() if compiler else "", arch() if arch else "") + + def _exc_info_to_string(self, err, test): + """Overrides superclass TestResult's method in order to append + our test config info string to the exception info string.""" + if hasattr(test, "getArchitecture") and hasattr(test, "getCompiler"): + return '%sConfig=%s-%s' % (super(LLDBTestResult, self)._exc_info_to_string(err, test), + test.getArchitecture(), + test.getCompiler()) + else: + return super(LLDBTestResult, self)._exc_info_to_string(err, test) + + def getDescription(self, test): + doc_first_line = test.shortDescription() + if self.descriptions and doc_first_line: + return '\n'.join((str(test), self.indentation + doc_first_line)) + else: + return str(test) + + def getCategoriesForTest(self,test): + if hasattr(test,"_testMethodName"): + test_method = getattr(test,"_testMethodName") + test_method = getattr(test,test_method) + else: + test_method = None + if test_method != None and hasattr(test_method,"getCategories"): + test_categories = test_method.getCategories(test) + elif hasattr(test,"getCategories"): + test_categories = test.getCategories() + elif inspect.ismethod(test) and test.__self__ != None and hasattr(test.__self__,"getCategories"): + test_categories = test.__self__.getCategories() + else: + test_categories = [] + if test_categories == None: + test_categories = [] + return test_categories + + def hardMarkAsSkipped(self,test): + getattr(test, test._testMethodName).__func__.__unittest_skip__ = True + getattr(test, test._testMethodName).__func__.__unittest_skip_why__ = "test case does not fall in any category of interest for this run" + test.__class__.__unittest_skip__ = True + test.__class__.__unittest_skip_why__ = "test case does not fall in any category of interest for this run" + + def startTest(self, test): + if shouldSkipBecauseOfCategories(self.getCategoriesForTest(test)): + self.hardMarkAsSkipped(test) + global setCrashInfoHook + setCrashInfoHook("%s at %s" % (str(test),inspect.getfile(test.__class__))) + self.counter += 1 + #if self.counter == 4: + # import crashinfo + # crashinfo.testCrashReporterDescription(None) + test.test_number = self.counter + if self.showAll: + self.stream.write(self.fmt % self.counter) + super(LLDBTestResult, self).startTest(test) + if self.results_formatter: + self.results_formatter.handle_event( + EventBuilder.event_for_start(test)) + + def addSuccess(self, test): + global parsable + super(LLDBTestResult, self).addSuccess(test) + if parsable: + self.stream.write("PASS: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) + if self.results_formatter: + self.results_formatter.handle_event( + EventBuilder.event_for_success(test)) + + def addError(self, test, err): + global sdir_has_content + global parsable + sdir_has_content = True + super(LLDBTestResult, self).addError(test, err) + method = getattr(test, "markError", None) + if method: + method() + if parsable: + self.stream.write("FAIL: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) + if self.results_formatter: + self.results_formatter.handle_event( + EventBuilder.event_for_error(test, err)) + + def addCleanupError(self, test, err): + global sdir_has_content + global parsable + sdir_has_content = True + super(LLDBTestResult, self).addCleanupError(test, err) + method = getattr(test, "markCleanupError", None) + if method: + method() + if parsable: + self.stream.write("CLEANUP ERROR: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) + if self.results_formatter: + self.results_formatter.handle_event( + EventBuilder.event_for_cleanup_error( + test, err)) + + def addFailure(self, test, err): + global sdir_has_content + global failuresPerCategory + global parsable + sdir_has_content = True + super(LLDBTestResult, self).addFailure(test, err) + method = getattr(test, "markFailure", None) + if method: + method() + if parsable: + self.stream.write("FAIL: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) + if useCategories: + test_categories = self.getCategoriesForTest(test) + for category in test_categories: + if category in failuresPerCategory: + failuresPerCategory[category] = failuresPerCategory[category] + 1 + else: + failuresPerCategory[category] = 1 + if self.results_formatter: + self.results_formatter.handle_event( + EventBuilder.event_for_failure(test, err)) + + + def addExpectedFailure(self, test, err, bugnumber): + global sdir_has_content + global parsable + sdir_has_content = True + super(LLDBTestResult, self).addExpectedFailure(test, err, bugnumber) + method = getattr(test, "markExpectedFailure", None) + if method: + method(err, bugnumber) + if parsable: + self.stream.write("XFAIL: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) + if self.results_formatter: + self.results_formatter.handle_event( + EventBuilder.event_for_expected_failure( + test, err, bugnumber)) + + def addSkip(self, test, reason): + global sdir_has_content + global parsable + sdir_has_content = True + super(LLDBTestResult, self).addSkip(test, reason) + method = getattr(test, "markSkippedTest", None) + if method: + method() + if parsable: + self.stream.write("UNSUPPORTED: LLDB (%s) :: %s (%s) \n" % (self._config_string(test), str(test), reason)) + if self.results_formatter: + self.results_formatter.handle_event( + EventBuilder.event_for_skip(test, reason)) + + def addUnexpectedSuccess(self, test, bugnumber): + global sdir_has_content + global parsable + sdir_has_content = True + super(LLDBTestResult, self).addUnexpectedSuccess(test, bugnumber) + method = getattr(test, "markUnexpectedSuccess", None) + if method: + method(bugnumber) + if parsable: + self.stream.write("XPASS: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) + if self.results_formatter: + self.results_formatter.handle_event( + EventBuilder.event_for_unexpected_success( + test, bugnumber)) + + + if parsable: + v = 0 + elif progress_bar: + v = 1 + else: + v = verbose + + # Invoke the test runner. + if count == 1: + result = unittest2.TextTestRunner(stream=sys.stderr, + verbosity=v, + failfast=failfast, + resultclass=LLDBTestResult).run(suite) + else: + # We are invoking the same test suite more than once. In this case, + # mark __ignore_singleton__ flag as True so the signleton pattern is + # not enforced. + LLDBTestResult.__ignore_singleton__ = True + for i in range(count): + + result = unittest2.TextTestRunner(stream=sys.stderr, + verbosity=v, + failfast=failfast, + resultclass=LLDBTestResult).run(suite) + + failed = failed or not result.wasSuccessful() + + if sdir_has_content and not parsable: + sys.stderr.write("Session logs for test failures/errors/unexpected successes" + " can be found in directory '%s'\n" % sdir_name) + + if useCategories and len(failuresPerCategory) > 0: + sys.stderr.write("Failures per category:\n") + for category in failuresPerCategory: + sys.stderr.write("%s - %d\n" % (category,failuresPerCategory[category])) + + os.chdir(where_to_save_session) + fname = os.path.join(sdir_name, "TestFinished-%d" % os.getpid()) + with open(fname, "w") as f: + print("Test finished at: %s\n" % datetime.datetime.now().strftime("%Y-%m-%d-%H_%M_%S"), file=f) + + # Terminate the test suite if ${LLDB_TESTSUITE_FORCE_FINISH} is defined. + # This should not be necessary now. + if ("LLDB_TESTSUITE_FORCE_FINISH" in os.environ): + print("Terminating Test suite...") + subprocess.Popen(["/bin/sh", "-c", "kill %s; exit 0" % (os.getpid())]) + + # Exiting. + exitTestSuite(failed) + +if __name__ == "__main__": + run_suite() \ No newline at end of file diff --git a/lldb/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py similarity index 100% rename from lldb/test/dotest_args.py rename to lldb/packages/Python/lldbsuite/test/dotest_args.py diff --git a/lldb/test/dotest_channels.py b/lldb/packages/Python/lldbsuite/test/dotest_channels.py similarity index 100% rename from lldb/test/dotest_channels.py rename to lldb/packages/Python/lldbsuite/test/dotest_channels.py diff --git a/lldb/test/driver/batch_mode/Makefile b/lldb/packages/Python/lldbsuite/test/driver/batch_mode/Makefile similarity index 100% rename from lldb/test/driver/batch_mode/Makefile rename to lldb/packages/Python/lldbsuite/test/driver/batch_mode/Makefile diff --git a/lldb/test/driver/batch_mode/TestBatchMode.py b/lldb/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py similarity index 100% rename from lldb/test/driver/batch_mode/TestBatchMode.py rename to lldb/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py diff --git a/lldb/test/driver/batch_mode/main.c b/lldb/packages/Python/lldbsuite/test/driver/batch_mode/main.c similarity index 100% rename from lldb/test/driver/batch_mode/main.c rename to lldb/packages/Python/lldbsuite/test/driver/batch_mode/main.c diff --git a/lldb/test/example/TestSequenceFunctions.py b/lldb/packages/Python/lldbsuite/test/example/TestSequenceFunctions.py similarity index 100% rename from lldb/test/example/TestSequenceFunctions.py rename to lldb/packages/Python/lldbsuite/test/example/TestSequenceFunctions.py diff --git a/lldb/test/expression_command/.categories b/lldb/packages/Python/lldbsuite/test/expression_command/.categories similarity index 100% rename from lldb/test/expression_command/.categories rename to lldb/packages/Python/lldbsuite/test/expression_command/.categories diff --git a/lldb/test/expression_command/call-function/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/Makefile similarity index 100% rename from lldb/test/expression_command/call-function/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/call-function/Makefile diff --git a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py similarity index 100% rename from lldb/test/expression_command/call-function/TestCallStdStringFunction.py rename to lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py diff --git a/lldb/test/expression_command/call-function/TestCallStopAndContinue.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py similarity index 100% rename from lldb/test/expression_command/call-function/TestCallStopAndContinue.py rename to lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py diff --git a/lldb/test/expression_command/call-function/TestCallUserDefinedFunction.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py similarity index 100% rename from lldb/test/expression_command/call-function/TestCallUserDefinedFunction.py rename to lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py diff --git a/lldb/test/expression_command/call-function/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp similarity index 100% rename from lldb/test/expression_command/call-function/main.cpp rename to lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp diff --git a/lldb/test/expression_command/call-restarts/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/Makefile similarity index 100% rename from lldb/test/expression_command/call-restarts/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/Makefile diff --git a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py similarity index 100% rename from lldb/test/expression_command/call-restarts/TestCallThatRestarts.py rename to lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py diff --git a/lldb/test/expression_command/call-restarts/lotta-signals.c b/lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/lotta-signals.c similarity index 100% rename from lldb/test/expression_command/call-restarts/lotta-signals.c rename to lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/lotta-signals.c diff --git a/lldb/test/expression_command/call-throws/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/call-throws/Makefile similarity index 100% rename from lldb/test/expression_command/call-throws/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/call-throws/Makefile diff --git a/lldb/test/expression_command/call-throws/TestCallThatThrows.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-throws/TestCallThatThrows.py similarity index 100% rename from lldb/test/expression_command/call-throws/TestCallThatThrows.py rename to lldb/packages/Python/lldbsuite/test/expression_command/call-throws/TestCallThatThrows.py diff --git a/lldb/test/expression_command/call-throws/call-throws.m b/lldb/packages/Python/lldbsuite/test/expression_command/call-throws/call-throws.m similarity index 100% rename from lldb/test/expression_command/call-throws/call-throws.m rename to lldb/packages/Python/lldbsuite/test/expression_command/call-throws/call-throws.m diff --git a/lldb/test/expression_command/char/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/char/Makefile similarity index 100% rename from lldb/test/expression_command/char/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/char/Makefile diff --git a/lldb/test/expression_command/char/TestExprsChar.py b/lldb/packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py similarity index 100% rename from lldb/test/expression_command/char/TestExprsChar.py rename to lldb/packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py diff --git a/lldb/test/expression_command/char/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/char/main.cpp similarity index 100% rename from lldb/test/expression_command/char/main.cpp rename to lldb/packages/Python/lldbsuite/test/expression_command/char/main.cpp diff --git a/lldb/test/expression_command/expr-in-syscall/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/Makefile similarity index 100% rename from lldb/test/expression_command/expr-in-syscall/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/Makefile diff --git a/lldb/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py b/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py similarity index 100% rename from lldb/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py rename to lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py diff --git a/lldb/test/expression_command/expr-in-syscall/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/main.cpp similarity index 100% rename from lldb/test/expression_command/expr-in-syscall/main.cpp rename to lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/main.cpp diff --git a/lldb/test/expression_command/formatters/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/formatters/Makefile similarity index 100% rename from lldb/test/expression_command/formatters/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/formatters/Makefile diff --git a/lldb/test/expression_command/formatters/TestFormatters.py b/lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py similarity index 100% rename from lldb/test/expression_command/formatters/TestFormatters.py rename to lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py diff --git a/lldb/test/expression_command/formatters/foosynth.py b/lldb/packages/Python/lldbsuite/test/expression_command/formatters/foosynth.py similarity index 100% rename from lldb/test/expression_command/formatters/foosynth.py rename to lldb/packages/Python/lldbsuite/test/expression_command/formatters/foosynth.py diff --git a/lldb/test/expression_command/formatters/formatters.py b/lldb/packages/Python/lldbsuite/test/expression_command/formatters/formatters.py similarity index 100% rename from lldb/test/expression_command/formatters/formatters.py rename to lldb/packages/Python/lldbsuite/test/expression_command/formatters/formatters.py diff --git a/lldb/test/expression_command/formatters/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/formatters/main.cpp similarity index 100% rename from lldb/test/expression_command/formatters/main.cpp rename to lldb/packages/Python/lldbsuite/test/expression_command/formatters/main.cpp diff --git a/lldb/test/expression_command/issue_11588/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Makefile similarity index 100% rename from lldb/test/expression_command/issue_11588/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Makefile diff --git a/lldb/test/expression_command/issue_11588/Test11588.py b/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py similarity index 100% rename from lldb/test/expression_command/issue_11588/Test11588.py rename to lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py diff --git a/lldb/test/expression_command/issue_11588/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/main.cpp similarity index 100% rename from lldb/test/expression_command/issue_11588/main.cpp rename to lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/main.cpp diff --git a/lldb/test/expression_command/issue_11588/s11588.py b/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/s11588.py similarity index 100% rename from lldb/test/expression_command/issue_11588/s11588.py rename to lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/s11588.py diff --git a/lldb/test/expression_command/options/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/options/Makefile similarity index 100% rename from lldb/test/expression_command/options/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/options/Makefile diff --git a/lldb/test/expression_command/options/TestExprOptions.py b/lldb/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py similarity index 100% rename from lldb/test/expression_command/options/TestExprOptions.py rename to lldb/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py diff --git a/lldb/test/expression_command/options/foo.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/options/foo.cpp similarity index 100% rename from lldb/test/expression_command/options/foo.cpp rename to lldb/packages/Python/lldbsuite/test/expression_command/options/foo.cpp diff --git a/lldb/test/expression_command/options/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/options/main.cpp similarity index 100% rename from lldb/test/expression_command/options/main.cpp rename to lldb/packages/Python/lldbsuite/test/expression_command/options/main.cpp diff --git a/lldb/test/expression_command/persist_objc_pointeetype/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/Makefile similarity index 100% rename from lldb/test/expression_command/persist_objc_pointeetype/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/Makefile diff --git a/lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py b/lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py similarity index 100% rename from lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py rename to lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py diff --git a/lldb/test/expression_command/persist_objc_pointeetype/main.m b/lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/main.m similarity index 100% rename from lldb/test/expression_command/persist_objc_pointeetype/main.m rename to lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/main.m diff --git a/lldb/test/expression_command/persistent_ptr_update/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/Makefile similarity index 100% rename from lldb/test/expression_command/persistent_ptr_update/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/Makefile diff --git a/lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py similarity index 100% rename from lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py rename to lldb/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py diff --git a/lldb/test/expression_command/persistent_ptr_update/main.c b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/main.c similarity index 100% rename from lldb/test/expression_command/persistent_ptr_update/main.c rename to lldb/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/main.c diff --git a/lldb/test/expression_command/persistent_types/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/Makefile similarity index 100% rename from lldb/test/expression_command/persistent_types/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/Makefile diff --git a/lldb/test/expression_command/persistent_types/TestNestedPersistentTypes.py b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py similarity index 100% rename from lldb/test/expression_command/persistent_types/TestNestedPersistentTypes.py rename to lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py diff --git a/lldb/test/expression_command/persistent_types/TestPersistentTypes.py b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py similarity index 100% rename from lldb/test/expression_command/persistent_types/TestPersistentTypes.py rename to lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py diff --git a/lldb/test/expression_command/persistent_types/main.c b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/main.c similarity index 100% rename from lldb/test/expression_command/persistent_types/main.c rename to lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/main.c diff --git a/lldb/test/expression_command/persistent_variables/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_variables/Makefile similarity index 100% rename from lldb/test/expression_command/persistent_variables/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/persistent_variables/Makefile diff --git a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py similarity index 100% rename from lldb/test/expression_command/persistent_variables/TestPersistentVariables.py rename to lldb/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py diff --git a/lldb/test/expression_command/persistent_variables/main.c b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_variables/main.c similarity index 100% rename from lldb/test/expression_command/persistent_variables/main.c rename to lldb/packages/Python/lldbsuite/test/expression_command/persistent_variables/main.c diff --git a/lldb/test/expression_command/po_verbosity/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/Makefile similarity index 100% rename from lldb/test/expression_command/po_verbosity/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/Makefile diff --git a/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py b/lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py similarity index 100% rename from lldb/test/expression_command/po_verbosity/TestPoVerbosity.py rename to lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py diff --git a/lldb/test/expression_command/po_verbosity/main.m b/lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/main.m similarity index 100% rename from lldb/test/expression_command/po_verbosity/main.m rename to lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/main.m diff --git a/lldb/test/expression_command/radar_8638051/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/radar_8638051/Makefile similarity index 100% rename from lldb/test/expression_command/radar_8638051/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/radar_8638051/Makefile diff --git a/lldb/test/expression_command/radar_8638051/Test8638051.py b/lldb/packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py similarity index 100% rename from lldb/test/expression_command/radar_8638051/Test8638051.py rename to lldb/packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py diff --git a/lldb/test/expression_command/radar_8638051/main.c b/lldb/packages/Python/lldbsuite/test/expression_command/radar_8638051/main.c similarity index 100% rename from lldb/test/expression_command/radar_8638051/main.c rename to lldb/packages/Python/lldbsuite/test/expression_command/radar_8638051/main.c diff --git a/lldb/test/expression_command/radar_9531204/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/Makefile similarity index 100% rename from lldb/test/expression_command/radar_9531204/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/Makefile diff --git a/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py similarity index 100% rename from lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py rename to lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py diff --git a/lldb/test/expression_command/radar_9531204/main.c b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/main.c similarity index 100% rename from lldb/test/expression_command/radar_9531204/main.c rename to lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/main.c diff --git a/lldb/test/expression_command/radar_9673664/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9673664/Makefile similarity index 100% rename from lldb/test/expression_command/radar_9673664/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/radar_9673664/Makefile diff --git a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py similarity index 100% rename from lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py rename to lldb/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py diff --git a/lldb/test/expression_command/radar_9673664/main.c b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9673664/main.c similarity index 100% rename from lldb/test/expression_command/radar_9673664/main.c rename to lldb/packages/Python/lldbsuite/test/expression_command/radar_9673664/main.c diff --git a/lldb/test/expression_command/test/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/test/Makefile similarity index 100% rename from lldb/test/expression_command/test/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/test/Makefile diff --git a/lldb/test/expression_command/test/TestExprs.py b/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py similarity index 100% rename from lldb/test/expression_command/test/TestExprs.py rename to lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py diff --git a/lldb/test/expression_command/test/TestExprs2.py b/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py similarity index 100% rename from lldb/test/expression_command/test/TestExprs2.py rename to lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py diff --git a/lldb/test/expression_command/test/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/test/main.cpp similarity index 100% rename from lldb/test/expression_command/test/main.cpp rename to lldb/packages/Python/lldbsuite/test/expression_command/test/main.cpp diff --git a/lldb/test/expression_command/timeout/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/timeout/Makefile similarity index 100% rename from lldb/test/expression_command/timeout/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/timeout/Makefile diff --git a/lldb/test/expression_command/timeout/TestCallWithTimeout.py b/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py similarity index 100% rename from lldb/test/expression_command/timeout/TestCallWithTimeout.py rename to lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py diff --git a/lldb/test/expression_command/timeout/wait-a-while.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/timeout/wait-a-while.cpp similarity index 100% rename from lldb/test/expression_command/timeout/wait-a-while.cpp rename to lldb/packages/Python/lldbsuite/test/expression_command/timeout/wait-a-while.cpp diff --git a/lldb/test/expression_command/two-files/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/two-files/Makefile similarity index 100% rename from lldb/test/expression_command/two-files/Makefile rename to lldb/packages/Python/lldbsuite/test/expression_command/two-files/Makefile diff --git a/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py b/lldb/packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py similarity index 100% rename from lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py rename to lldb/packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py diff --git a/lldb/test/expression_command/two-files/foo.m b/lldb/packages/Python/lldbsuite/test/expression_command/two-files/foo.m similarity index 100% rename from lldb/test/expression_command/two-files/foo.m rename to lldb/packages/Python/lldbsuite/test/expression_command/two-files/foo.m diff --git a/lldb/test/expression_command/two-files/main.m b/lldb/packages/Python/lldbsuite/test/expression_command/two-files/main.m similarity index 100% rename from lldb/test/expression_command/two-files/main.m rename to lldb/packages/Python/lldbsuite/test/expression_command/two-files/main.m diff --git a/lldb/test/functionalities/abbreviation/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/.categories similarity index 100% rename from lldb/test/functionalities/abbreviation/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/.categories diff --git a/lldb/test/functionalities/abbreviation/TestAbbreviations.py b/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestAbbreviations.py similarity index 100% rename from lldb/test/functionalities/abbreviation/TestAbbreviations.py rename to lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestAbbreviations.py diff --git a/lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py b/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py similarity index 100% rename from lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py rename to lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py diff --git a/lldb/test/functionalities/alias/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/alias/.categories similarity index 100% rename from lldb/test/functionalities/alias/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/alias/.categories diff --git a/lldb/test/functionalities/archives/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/archives/Makefile similarity index 100% rename from lldb/test/functionalities/archives/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/archives/Makefile diff --git a/lldb/test/functionalities/archives/README b/lldb/packages/Python/lldbsuite/test/functionalities/archives/README similarity index 100% rename from lldb/test/functionalities/archives/README rename to lldb/packages/Python/lldbsuite/test/functionalities/archives/README diff --git a/lldb/test/functionalities/archives/TestBSDArchives.py b/lldb/packages/Python/lldbsuite/test/functionalities/archives/TestBSDArchives.py similarity index 100% rename from lldb/test/functionalities/archives/TestBSDArchives.py rename to lldb/packages/Python/lldbsuite/test/functionalities/archives/TestBSDArchives.py diff --git a/lldb/test/functionalities/archives/a.c b/lldb/packages/Python/lldbsuite/test/functionalities/archives/a.c similarity index 100% rename from lldb/test/functionalities/archives/a.c rename to lldb/packages/Python/lldbsuite/test/functionalities/archives/a.c diff --git a/lldb/test/functionalities/archives/b.c b/lldb/packages/Python/lldbsuite/test/functionalities/archives/b.c similarity index 100% rename from lldb/test/functionalities/archives/b.c rename to lldb/packages/Python/lldbsuite/test/functionalities/archives/b.c diff --git a/lldb/test/functionalities/archives/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/archives/main.c similarity index 100% rename from lldb/test/functionalities/archives/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/archives/main.c diff --git a/lldb/test/functionalities/asan/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/asan/Makefile similarity index 100% rename from lldb/test/functionalities/asan/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/asan/Makefile diff --git a/lldb/test/functionalities/asan/TestMemoryHistory.py b/lldb/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py similarity index 100% rename from lldb/test/functionalities/asan/TestMemoryHistory.py rename to lldb/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py diff --git a/lldb/test/functionalities/asan/TestReportData.py b/lldb/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py similarity index 100% rename from lldb/test/functionalities/asan/TestReportData.py rename to lldb/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py diff --git a/lldb/test/functionalities/asan/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/asan/main.c similarity index 100% rename from lldb/test/functionalities/asan/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/asan/main.c diff --git a/lldb/test/functionalities/attach_resume/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/attach_resume/Makefile similarity index 100% rename from lldb/test/functionalities/attach_resume/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/attach_resume/Makefile diff --git a/lldb/test/functionalities/attach_resume/TestAttachResume.py b/lldb/packages/Python/lldbsuite/test/functionalities/attach_resume/TestAttachResume.py similarity index 100% rename from lldb/test/functionalities/attach_resume/TestAttachResume.py rename to lldb/packages/Python/lldbsuite/test/functionalities/attach_resume/TestAttachResume.py diff --git a/lldb/test/functionalities/attach_resume/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/attach_resume/main.cpp similarity index 100% rename from lldb/test/functionalities/attach_resume/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/attach_resume/main.cpp diff --git a/lldb/test/functionalities/avoids-fd-leak/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/Makefile similarity index 100% rename from lldb/test/functionalities/avoids-fd-leak/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/Makefile diff --git a/lldb/test/functionalities/avoids-fd-leak/TestFdLeak.py b/lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py similarity index 100% rename from lldb/test/functionalities/avoids-fd-leak/TestFdLeak.py rename to lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py diff --git a/lldb/test/functionalities/avoids-fd-leak/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/main.c similarity index 100% rename from lldb/test/functionalities/avoids-fd-leak/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/main.c diff --git a/lldb/test/functionalities/backticks/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/backticks/.categories similarity index 100% rename from lldb/test/functionalities/backticks/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/backticks/.categories diff --git a/lldb/test/functionalities/backticks/TestBackticksWithoutATarget.py b/lldb/packages/Python/lldbsuite/test/functionalities/backticks/TestBackticksWithoutATarget.py similarity index 100% rename from lldb/test/functionalities/backticks/TestBackticksWithoutATarget.py rename to lldb/packages/Python/lldbsuite/test/functionalities/backticks/TestBackticksWithoutATarget.py diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_command/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/Makefile diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/a.c b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/a.c similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_command/a.c rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/a.c diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/b.c b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/b.c similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_command/b.c rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/b.c diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/main.c similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_command/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/main.c diff --git a/lldb/test/functionalities/breakpoint/breakpoint_conditions/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_conditions/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/Makefile diff --git a/lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py diff --git a/lldb/test/functionalities/breakpoint/breakpoint_conditions/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/main.c similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_conditions/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/main.c diff --git a/lldb/test/functionalities/breakpoint/breakpoint_ids/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_ids/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/Makefile diff --git a/lldb/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py diff --git a/lldb/test/functionalities/breakpoint/breakpoint_ids/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/main.cpp similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_ids/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/main.cpp diff --git a/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_ignore_count/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/Makefile diff --git a/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py diff --git a/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/main.c similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_ignore_count/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/main.c diff --git a/lldb/test/functionalities/breakpoint/breakpoint_locations/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_locations/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/Makefile diff --git a/lldb/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py diff --git a/lldb/test/functionalities/breakpoint/breakpoint_locations/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/main.c similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_locations/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/main.c diff --git a/lldb/test/functionalities/breakpoint/breakpoint_options/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_options/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/Makefile diff --git a/lldb/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py diff --git a/lldb/test/functionalities/breakpoint/breakpoint_options/foo.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/foo.cpp similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_options/foo.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/foo.cpp diff --git a/lldb/test/functionalities/breakpoint/breakpoint_options/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/main.cpp similarity index 100% rename from lldb/test/functionalities/breakpoint/breakpoint_options/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/main.cpp diff --git a/lldb/test/functionalities/breakpoint/comp_dir_symlink/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/comp_dir_symlink/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile diff --git a/lldb/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py similarity index 100% rename from lldb/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py diff --git a/lldb/test/functionalities/breakpoint/comp_dir_symlink/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/main.cpp similarity index 100% rename from lldb/test/functionalities/breakpoint/comp_dir_symlink/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/main.cpp diff --git a/lldb/test/functionalities/breakpoint/consecutive_breakpoins/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/consecutive_breakpoins/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/Makefile diff --git a/lldb/test/functionalities/breakpoint/consecutive_breakpoins/TestConsecutiveBreakpoints.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/TestConsecutiveBreakpoints.py similarity index 100% rename from lldb/test/functionalities/breakpoint/consecutive_breakpoins/TestConsecutiveBreakpoints.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/TestConsecutiveBreakpoints.py diff --git a/lldb/test/functionalities/breakpoint/consecutive_breakpoins/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/main.cpp similarity index 100% rename from lldb/test/functionalities/breakpoint/consecutive_breakpoins/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/main.cpp diff --git a/lldb/test/functionalities/breakpoint/cpp/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/cpp/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/Makefile diff --git a/lldb/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py similarity index 100% rename from lldb/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py diff --git a/lldb/test/functionalities/breakpoint/cpp/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp similarity index 100% rename from lldb/test/functionalities/breakpoint/cpp/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp diff --git a/lldb/test/functionalities/breakpoint/cpp_exception/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/cpp_exception/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/Makefile diff --git a/lldb/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py similarity index 100% rename from lldb/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py diff --git a/lldb/test/functionalities/breakpoint/cpp_exception/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/main.cpp similarity index 100% rename from lldb/test/functionalities/breakpoint/cpp_exception/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/main.cpp diff --git a/lldb/test/functionalities/breakpoint/dummy_target_breakpoints/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/dummy_target_breakpoints/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/Makefile diff --git a/lldb/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py similarity index 100% rename from lldb/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py diff --git a/lldb/test/functionalities/breakpoint/dummy_target_breakpoints/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/main.c similarity index 100% rename from lldb/test/functionalities/breakpoint/dummy_target_breakpoints/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/main.c diff --git a/lldb/test/functionalities/breakpoint/inlined_breakpoints/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/inlined_breakpoints/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/Makefile diff --git a/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py similarity index 100% rename from lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py diff --git a/lldb/test/functionalities/breakpoint/inlined_breakpoints/basic_type.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/basic_type.cpp similarity index 100% rename from lldb/test/functionalities/breakpoint/inlined_breakpoints/basic_type.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/basic_type.cpp diff --git a/lldb/test/functionalities/breakpoint/inlined_breakpoints/int.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/int.cpp similarity index 100% rename from lldb/test/functionalities/breakpoint/inlined_breakpoints/int.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/int.cpp diff --git a/lldb/test/functionalities/breakpoint/objc/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/Makefile similarity index 100% rename from lldb/test/functionalities/breakpoint/objc/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/Makefile diff --git a/lldb/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py similarity index 100% rename from lldb/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py diff --git a/lldb/test/functionalities/breakpoint/objc/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/main.m similarity index 100% rename from lldb/test/functionalities/breakpoint/objc/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/main.m diff --git a/lldb/test/functionalities/command_history/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/command_history/.categories similarity index 100% rename from lldb/test/functionalities/command_history/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/command_history/.categories diff --git a/lldb/test/functionalities/command_history/TestCommandHistory.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_history/TestCommandHistory.py similarity index 100% rename from lldb/test/functionalities/command_history/TestCommandHistory.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_history/TestCommandHistory.py diff --git a/lldb/test/functionalities/command_regex/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/command_regex/.categories similarity index 100% rename from lldb/test/functionalities/command_regex/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/command_regex/.categories diff --git a/lldb/test/functionalities/command_regex/TestCommandRegex.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_regex/TestCommandRegex.py similarity index 100% rename from lldb/test/functionalities/command_regex/TestCommandRegex.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_regex/TestCommandRegex.py diff --git a/lldb/test/functionalities/command_script/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/.categories similarity index 100% rename from lldb/test/functionalities/command_script/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/.categories diff --git a/lldb/test/functionalities/command_script/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/Makefile similarity index 100% rename from lldb/test/functionalities/command_script/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/Makefile diff --git a/lldb/test/functionalities/command_script/TestCommandScript.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py similarity index 100% rename from lldb/test/functionalities/command_script/TestCommandScript.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py diff --git a/lldb/test/functionalities/command_script/bug11569.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/bug11569.py similarity index 100% rename from lldb/test/functionalities/command_script/bug11569.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/bug11569.py diff --git a/lldb/test/functionalities/command_script/import/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/Makefile similarity index 100% rename from lldb/test/functionalities/command_script/import/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/Makefile diff --git a/lldb/test/functionalities/command_script/import/TestImport.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/TestImport.py similarity index 100% rename from lldb/test/functionalities/command_script/import/TestImport.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/TestImport.py diff --git a/lldb/test/functionalities/command_script/import/bar/bar.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/bar/bar.py similarity index 100% rename from lldb/test/functionalities/command_script/import/bar/bar.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/bar/bar.py diff --git a/lldb/test/functionalities/command_script/import/bar/barutil.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/bar/barutil.py similarity index 100% rename from lldb/test/functionalities/command_script/import/bar/barutil.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/bar/barutil.py diff --git a/lldb/test/functionalities/command_script/import/dummymodule.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/dummymodule.py similarity index 100% rename from lldb/test/functionalities/command_script/import/dummymodule.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/dummymodule.py diff --git a/lldb/test/functionalities/command_script/import/foo/bar/foobar.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/bar/foobar.py similarity index 100% rename from lldb/test/functionalities/command_script/import/foo/bar/foobar.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/bar/foobar.py diff --git a/lldb/test/functionalities/command_script/import/foo/foo.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo.py similarity index 100% rename from lldb/test/functionalities/command_script/import/foo/foo.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo.py diff --git a/lldb/test/functionalities/command_script/import/foo/foo2.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo2.py similarity index 100% rename from lldb/test/functionalities/command_script/import/foo/foo2.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo2.py diff --git a/lldb/test/functionalities/command_script/import/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/main.c similarity index 100% rename from lldb/test/functionalities/command_script/import/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/main.c diff --git a/lldb/test/functionalities/command_script/import/rdar-12586188/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/Makefile similarity index 100% rename from lldb/test/functionalities/command_script/import/rdar-12586188/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/Makefile diff --git a/lldb/test/functionalities/command_script/import/rdar-12586188/TestRdar12586188.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/TestRdar12586188.py similarity index 100% rename from lldb/test/functionalities/command_script/import/rdar-12586188/TestRdar12586188.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/TestRdar12586188.py diff --git a/lldb/test/functionalities/command_script/import/rdar-12586188/fail12586188.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/fail12586188.py similarity index 100% rename from lldb/test/functionalities/command_script/import/rdar-12586188/fail12586188.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/fail12586188.py diff --git a/lldb/test/functionalities/command_script/import/rdar-12586188/fail212586188.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/fail212586188.py similarity index 100% rename from lldb/test/functionalities/command_script/import/rdar-12586188/fail212586188.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/fail212586188.py diff --git a/lldb/test/functionalities/command_script/import/thepackage/TPunitA.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/TPunitA.py similarity index 100% rename from lldb/test/functionalities/command_script/import/thepackage/TPunitA.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/TPunitA.py diff --git a/lldb/test/functionalities/command_script/import/thepackage/TPunitB.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/TPunitB.py similarity index 100% rename from lldb/test/functionalities/command_script/import/thepackage/TPunitB.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/TPunitB.py diff --git a/lldb/test/functionalities/command_script/import/thepackage/__init__.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py similarity index 100% rename from lldb/test/functionalities/command_script/import/thepackage/__init__.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py diff --git a/lldb/test/functionalities/command_script/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp similarity index 100% rename from lldb/test/functionalities/command_script/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp diff --git a/lldb/test/functionalities/command_script/mysto.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/mysto.py similarity index 100% rename from lldb/test/functionalities/command_script/mysto.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/mysto.py diff --git a/lldb/test/functionalities/command_script/py_import b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/py_import similarity index 100% rename from lldb/test/functionalities/command_script/py_import rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/py_import diff --git a/lldb/test/functionalities/command_script/welcome.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_script/welcome.py similarity index 100% rename from lldb/test/functionalities/command_script/welcome.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_script/welcome.py diff --git a/lldb/test/functionalities/command_source/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/command_source/.categories similarity index 100% rename from lldb/test/functionalities/command_source/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/command_source/.categories diff --git a/lldb/test/functionalities/command_source/.lldb b/lldb/packages/Python/lldbsuite/test/functionalities/command_source/.lldb similarity index 100% rename from lldb/test/functionalities/command_source/.lldb rename to lldb/packages/Python/lldbsuite/test/functionalities/command_source/.lldb diff --git a/lldb/test/functionalities/command_source/TestCommandSource.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py similarity index 100% rename from lldb/test/functionalities/command_source/TestCommandSource.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py diff --git a/lldb/test/functionalities/command_source/my.py b/lldb/packages/Python/lldbsuite/test/functionalities/command_source/my.py similarity index 100% rename from lldb/test/functionalities/command_source/my.py rename to lldb/packages/Python/lldbsuite/test/functionalities/command_source/my.py diff --git a/lldb/test/functionalities/completion/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/completion/.categories similarity index 100% rename from lldb/test/functionalities/completion/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/completion/.categories diff --git a/lldb/test/functionalities/completion/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/completion/Makefile similarity index 100% rename from lldb/test/functionalities/completion/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/completion/Makefile diff --git a/lldb/test/functionalities/completion/TestCompletion.py b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py similarity index 100% rename from lldb/test/functionalities/completion/TestCompletion.py rename to lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py diff --git a/lldb/test/functionalities/completion/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/completion/main.cpp similarity index 100% rename from lldb/test/functionalities/completion/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/completion/main.cpp diff --git a/lldb/test/functionalities/conditional_break/.lldb b/lldb/packages/Python/lldbsuite/test/functionalities/conditional_break/.lldb similarity index 100% rename from lldb/test/functionalities/conditional_break/.lldb rename to lldb/packages/Python/lldbsuite/test/functionalities/conditional_break/.lldb diff --git a/lldb/test/functionalities/conditional_break/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/conditional_break/Makefile similarity index 100% rename from lldb/test/functionalities/conditional_break/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/conditional_break/Makefile diff --git a/lldb/test/functionalities/conditional_break/TestConditionalBreak.py b/lldb/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py similarity index 100% rename from lldb/test/functionalities/conditional_break/TestConditionalBreak.py rename to lldb/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py diff --git a/lldb/test/functionalities/conditional_break/conditional_break.py b/lldb/packages/Python/lldbsuite/test/functionalities/conditional_break/conditional_break.py similarity index 100% rename from lldb/test/functionalities/conditional_break/conditional_break.py rename to lldb/packages/Python/lldbsuite/test/functionalities/conditional_break/conditional_break.py diff --git a/lldb/test/functionalities/conditional_break/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/conditional_break/main.c similarity index 100% rename from lldb/test/functionalities/conditional_break/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/conditional_break/main.c diff --git a/lldb/test/functionalities/data-formatter/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/.categories similarity index 100% rename from lldb/test/functionalities/data-formatter/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/.categories diff --git a/lldb/test/functionalities/data-formatter/boolreference/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/boolreference/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/Makefile diff --git a/lldb/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py similarity index 100% rename from lldb/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py diff --git a/lldb/test/functionalities/data-formatter/boolreference/main.mm b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/main.mm similarity index 100% rename from lldb/test/functionalities/data-formatter/boolreference/main.mm rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/main.mm diff --git a/lldb/test/functionalities/data-formatter/compactvectors/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/compactvectors/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/Makefile diff --git a/lldb/test/functionalities/data-formatter/compactvectors/TestCompactVectors.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/TestCompactVectors.py similarity index 100% rename from lldb/test/functionalities/data-formatter/compactvectors/TestCompactVectors.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/TestCompactVectors.py diff --git a/lldb/test/functionalities/data-formatter/compactvectors/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/compactvectors/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-advanced/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-advanced/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-advanced/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-advanced/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-categories/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-categories/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-categories/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-categories/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-cpp/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-cpp/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-cpp/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-cpp/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-disabling/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-disabling/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-disabling/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-disabling/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-enum-format/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-enum-format/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-enum-format/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-enum-format/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-globals/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-globals/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-globals/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-globals/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-named-summaries/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-named-summaries/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-named-summaries/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-named-summaries/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/.categories similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-objc/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/.categories diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-objc/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/main.m similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-objc/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/main.m diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/nsstring/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-objc/nsstring/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/nsstring/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/main.m similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-objc/nsstring/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/main.m diff --git a/lldb/test/functionalities/data-formatter/data-formatter-proper-plurals/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-proper-plurals/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-proper-plurals/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/main.m similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-proper-plurals/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/main.m diff --git a/lldb/test/functionalities/data-formatter/data-formatter-ptr-to-array/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-ptr-to-array/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-ptr-to-array/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-ptr-to-array/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-python-synth/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-python-synth/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-python-synth/fooSynthProvider.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/fooSynthProvider.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-python-synth/fooSynthProvider.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/fooSynthProvider.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-python-synth/ftsp.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/ftsp.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-python-synth/ftsp.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/ftsp.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-python-synth/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-python-synth/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-script/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-script/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-script/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-script/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-skip-summary/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-smart-array/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-smart-array/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-smart-array/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-smart-array/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-synth/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-synth/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-synth/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-synth/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-synthval/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-synthval/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/Makefile diff --git a/lldb/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py diff --git a/lldb/test/functionalities/data-formatter/data-formatter-synthval/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-synthval/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/main.cpp diff --git a/lldb/test/functionalities/data-formatter/data-formatter-synthval/myIntSynthProvider.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/myIntSynthProvider.py similarity index 100% rename from lldb/test/functionalities/data-formatter/data-formatter-synthval/myIntSynthProvider.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/myIntSynthProvider.py diff --git a/lldb/test/functionalities/data-formatter/dump_dynamic/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/dump_dynamic/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/Makefile diff --git a/lldb/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py similarity index 100% rename from lldb/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py diff --git a/lldb/test/functionalities/data-formatter/dump_dynamic/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/dump_dynamic/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/main.cpp diff --git a/lldb/test/functionalities/data-formatter/format-propagation/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/format-propagation/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/Makefile diff --git a/lldb/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py similarity index 100% rename from lldb/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py diff --git a/lldb/test/functionalities/data-formatter/format-propagation/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/format-propagation/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/main.cpp diff --git a/lldb/test/functionalities/data-formatter/frameformat_smallstruct/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/frameformat_smallstruct/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/Makefile diff --git a/lldb/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py similarity index 100% rename from lldb/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py diff --git a/lldb/test/functionalities/data-formatter/frameformat_smallstruct/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/frameformat_smallstruct/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/main.cpp diff --git a/lldb/test/functionalities/data-formatter/hexcaps/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/hexcaps/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/Makefile diff --git a/lldb/test/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py similarity index 100% rename from lldb/test/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py diff --git a/lldb/test/functionalities/data-formatter/hexcaps/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/hexcaps/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/main.cpp diff --git a/lldb/test/functionalities/data-formatter/nsarraysynth/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/nsarraysynth/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/Makefile diff --git a/lldb/test/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py similarity index 100% rename from lldb/test/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py diff --git a/lldb/test/functionalities/data-formatter/nsarraysynth/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/main.m similarity index 100% rename from lldb/test/functionalities/data-formatter/nsarraysynth/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/main.m diff --git a/lldb/test/functionalities/data-formatter/nsdictionarysynth/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/nsdictionarysynth/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/Makefile diff --git a/lldb/test/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py similarity index 100% rename from lldb/test/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py diff --git a/lldb/test/functionalities/data-formatter/nsdictionarysynth/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/main.m similarity index 100% rename from lldb/test/functionalities/data-formatter/nsdictionarysynth/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/main.m diff --git a/lldb/test/functionalities/data-formatter/nssetsynth/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/nssetsynth/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/Makefile diff --git a/lldb/test/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py similarity index 100% rename from lldb/test/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py diff --git a/lldb/test/functionalities/data-formatter/nssetsynth/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/main.m similarity index 100% rename from lldb/test/functionalities/data-formatter/nssetsynth/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/main.m diff --git a/lldb/test/functionalities/data-formatter/ostypeformatting/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/ostypeformatting/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/Makefile diff --git a/lldb/test/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py similarity index 100% rename from lldb/test/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py diff --git a/lldb/test/functionalities/data-formatter/ostypeformatting/main.mm b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/main.mm similarity index 100% rename from lldb/test/functionalities/data-formatter/ostypeformatting/main.mm rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/main.mm diff --git a/lldb/test/functionalities/data-formatter/ptr_ref_typedef/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/ptr_ref_typedef/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/Makefile diff --git a/lldb/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py similarity index 100% rename from lldb/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py diff --git a/lldb/test/functionalities/data-formatter/ptr_ref_typedef/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/ptr_ref_typedef/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/main.cpp diff --git a/lldb/test/functionalities/data-formatter/refpointer-recursion/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/refpointer-recursion/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/Makefile diff --git a/lldb/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py similarity index 100% rename from lldb/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py diff --git a/lldb/test/functionalities/data-formatter/refpointer-recursion/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/refpointer-recursion/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/main.cpp diff --git a/lldb/test/functionalities/data-formatter/setvaluefromcstring/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/setvaluefromcstring/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/setvaluefromcstring/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/setvaluefromcstring/Makefile diff --git a/lldb/test/functionalities/data-formatter/setvaluefromcstring/TestSetValueFromCString.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/setvaluefromcstring/TestSetValueFromCString.py similarity index 100% rename from lldb/test/functionalities/data-formatter/setvaluefromcstring/TestSetValueFromCString.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/setvaluefromcstring/TestSetValueFromCString.py diff --git a/lldb/test/functionalities/data-formatter/setvaluefromcstring/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/setvaluefromcstring/main.m similarity index 100% rename from lldb/test/functionalities/data-formatter/setvaluefromcstring/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/setvaluefromcstring/main.m diff --git a/lldb/test/functionalities/data-formatter/stringprinter/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/stringprinter/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/Makefile diff --git a/lldb/test/functionalities/data-formatter/stringprinter/TestStringPrinter.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/TestStringPrinter.py similarity index 100% rename from lldb/test/functionalities/data-formatter/stringprinter/TestStringPrinter.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/TestStringPrinter.py diff --git a/lldb/test/functionalities/data-formatter/stringprinter/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/stringprinter/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/main.cpp diff --git a/lldb/test/functionalities/data-formatter/summary-string-onfail/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/summary-string-onfail/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Makefile diff --git a/lldb/test/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py similarity index 100% rename from lldb/test/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py diff --git a/lldb/test/functionalities/data-formatter/summary-string-onfail/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/summary-string-onfail/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/main.cpp diff --git a/lldb/test/functionalities/data-formatter/synthcapping/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/synthcapping/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/Makefile diff --git a/lldb/test/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py similarity index 100% rename from lldb/test/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py diff --git a/lldb/test/functionalities/data-formatter/synthcapping/fooSynthProvider.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/fooSynthProvider.py similarity index 100% rename from lldb/test/functionalities/data-formatter/synthcapping/fooSynthProvider.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/fooSynthProvider.py diff --git a/lldb/test/functionalities/data-formatter/synthcapping/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/synthcapping/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/main.cpp diff --git a/lldb/test/functionalities/data-formatter/synthupdate/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/synthupdate/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile diff --git a/lldb/test/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py similarity index 100% rename from lldb/test/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py diff --git a/lldb/test/functionalities/data-formatter/synthupdate/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/main.m similarity index 100% rename from lldb/test/functionalities/data-formatter/synthupdate/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/main.m diff --git a/lldb/test/functionalities/data-formatter/typedef_array/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/typedef_array/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/typedef_array/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/typedef_array/Makefile diff --git a/lldb/test/functionalities/data-formatter/typedef_array/TestTypedefArray.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/typedef_array/TestTypedefArray.py similarity index 100% rename from lldb/test/functionalities/data-formatter/typedef_array/TestTypedefArray.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/typedef_array/TestTypedefArray.py diff --git a/lldb/test/functionalities/data-formatter/typedef_array/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/typedef_array/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/typedef_array/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/typedef_array/main.cpp diff --git a/lldb/test/functionalities/data-formatter/user-format-vs-summary/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/user-format-vs-summary/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/Makefile diff --git a/lldb/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py similarity index 100% rename from lldb/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py diff --git a/lldb/test/functionalities/data-formatter/user-format-vs-summary/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/user-format-vs-summary/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/main.cpp diff --git a/lldb/test/functionalities/data-formatter/var-in-aggregate-misuse/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/var-in-aggregate-misuse/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/Makefile diff --git a/lldb/test/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py similarity index 100% rename from lldb/test/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py diff --git a/lldb/test/functionalities/data-formatter/var-in-aggregate-misuse/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/var-in-aggregate-misuse/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/main.cpp diff --git a/lldb/test/functionalities/data-formatter/varscript_formatting/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/varscript_formatting/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/Makefile diff --git a/lldb/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py similarity index 100% rename from lldb/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py diff --git a/lldb/test/functionalities/data-formatter/varscript_formatting/helperfunc.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/helperfunc.py similarity index 100% rename from lldb/test/functionalities/data-formatter/varscript_formatting/helperfunc.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/helperfunc.py diff --git a/lldb/test/functionalities/data-formatter/varscript_formatting/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/varscript_formatting/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/main.cpp diff --git a/lldb/test/functionalities/data-formatter/vector-types/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/Makefile similarity index 100% rename from lldb/test/functionalities/data-formatter/vector-types/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/Makefile diff --git a/lldb/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py similarity index 100% rename from lldb/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py diff --git a/lldb/test/functionalities/data-formatter/vector-types/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/main.cpp similarity index 100% rename from lldb/test/functionalities/data-formatter/vector-types/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/main.cpp diff --git a/lldb/test/functionalities/dead-strip/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile similarity index 100% rename from lldb/test/functionalities/dead-strip/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile diff --git a/lldb/test/functionalities/dead-strip/TestDeadStrip.py b/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/TestDeadStrip.py similarity index 100% rename from lldb/test/functionalities/dead-strip/TestDeadStrip.py rename to lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/TestDeadStrip.py diff --git a/lldb/test/functionalities/dead-strip/cmds.txt b/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/cmds.txt similarity index 100% rename from lldb/test/functionalities/dead-strip/cmds.txt rename to lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/cmds.txt diff --git a/lldb/test/functionalities/dead-strip/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/main.c similarity index 100% rename from lldb/test/functionalities/dead-strip/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/main.c diff --git a/lldb/test/functionalities/disassembly/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/disassembly/Makefile similarity index 100% rename from lldb/test/functionalities/disassembly/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/disassembly/Makefile diff --git a/lldb/test/functionalities/disassembly/TestDisassembleBreakpoint.py b/lldb/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py similarity index 100% rename from lldb/test/functionalities/disassembly/TestDisassembleBreakpoint.py rename to lldb/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py diff --git a/lldb/test/functionalities/disassembly/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/disassembly/main.cpp similarity index 100% rename from lldb/test/functionalities/disassembly/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/disassembly/main.cpp diff --git a/lldb/test/functionalities/dynamic_value_child_count/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/Makefile similarity index 100% rename from lldb/test/functionalities/dynamic_value_child_count/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/Makefile diff --git a/lldb/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py b/lldb/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py similarity index 100% rename from lldb/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py rename to lldb/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py diff --git a/lldb/test/functionalities/dynamic_value_child_count/pass-to-base.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/pass-to-base.cpp similarity index 100% rename from lldb/test/functionalities/dynamic_value_child_count/pass-to-base.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/pass-to-base.cpp diff --git a/lldb/test/functionalities/embedded_interpreter/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/Makefile similarity index 100% rename from lldb/test/functionalities/embedded_interpreter/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/Makefile diff --git a/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py b/lldb/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/TestConvenienceVariables.py similarity index 100% rename from lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py rename to lldb/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/TestConvenienceVariables.py diff --git a/lldb/test/functionalities/embedded_interpreter/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/main.c similarity index 100% rename from lldb/test/functionalities/embedded_interpreter/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/main.c diff --git a/lldb/test/functionalities/exec/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/exec/Makefile similarity index 100% rename from lldb/test/functionalities/exec/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/exec/Makefile diff --git a/lldb/test/functionalities/exec/TestExec.py b/lldb/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py similarity index 100% rename from lldb/test/functionalities/exec/TestExec.py rename to lldb/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py diff --git a/lldb/test/functionalities/exec/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/exec/main.cpp similarity index 100% rename from lldb/test/functionalities/exec/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/exec/main.cpp diff --git a/lldb/test/functionalities/expr-doesnt-deadlock/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/.categories similarity index 100% rename from lldb/test/functionalities/expr-doesnt-deadlock/.categories rename to lldb/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/.categories diff --git a/lldb/test/functionalities/expr-doesnt-deadlock/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/Makefile similarity index 100% rename from lldb/test/functionalities/expr-doesnt-deadlock/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/Makefile diff --git a/lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py b/lldb/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py similarity index 100% rename from lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py rename to lldb/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py diff --git a/lldb/test/functionalities/expr-doesnt-deadlock/locking.c b/lldb/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/locking.c similarity index 100% rename from lldb/test/functionalities/expr-doesnt-deadlock/locking.c rename to lldb/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/locking.c diff --git a/lldb/test/functionalities/fat_archives/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/fat_archives/Makefile similarity index 100% rename from lldb/test/functionalities/fat_archives/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/fat_archives/Makefile diff --git a/lldb/test/functionalities/fat_archives/TestFatArchives.py b/lldb/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py similarity index 100% rename from lldb/test/functionalities/fat_archives/TestFatArchives.py rename to lldb/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py diff --git a/lldb/test/functionalities/fat_archives/a.c b/lldb/packages/Python/lldbsuite/test/functionalities/fat_archives/a.c similarity index 100% rename from lldb/test/functionalities/fat_archives/a.c rename to lldb/packages/Python/lldbsuite/test/functionalities/fat_archives/a.c diff --git a/lldb/test/functionalities/fat_archives/a.h b/lldb/packages/Python/lldbsuite/test/functionalities/fat_archives/a.h similarity index 100% rename from lldb/test/functionalities/fat_archives/a.h rename to lldb/packages/Python/lldbsuite/test/functionalities/fat_archives/a.h diff --git a/lldb/test/functionalities/fat_archives/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/fat_archives/main.c similarity index 100% rename from lldb/test/functionalities/fat_archives/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/fat_archives/main.c diff --git a/lldb/test/functionalities/format/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/format/Makefile similarity index 100% rename from lldb/test/functionalities/format/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/format/Makefile diff --git a/lldb/test/functionalities/format/TestFormats.py b/lldb/packages/Python/lldbsuite/test/functionalities/format/TestFormats.py similarity index 100% rename from lldb/test/functionalities/format/TestFormats.py rename to lldb/packages/Python/lldbsuite/test/functionalities/format/TestFormats.py diff --git a/lldb/test/functionalities/format/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/format/main.c similarity index 100% rename from lldb/test/functionalities/format/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/format/main.c diff --git a/lldb/test/functionalities/inferior-assert/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/Makefile similarity index 100% rename from lldb/test/functionalities/inferior-assert/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/Makefile diff --git a/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py similarity index 100% rename from lldb/test/functionalities/inferior-assert/TestInferiorAssert.py rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py diff --git a/lldb/test/functionalities/inferior-assert/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/main.c similarity index 100% rename from lldb/test/functionalities/inferior-assert/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/main.c diff --git a/lldb/test/functionalities/inferior-changed/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/Makefile similarity index 100% rename from lldb/test/functionalities/inferior-changed/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/Makefile diff --git a/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py similarity index 100% rename from lldb/test/functionalities/inferior-changed/TestInferiorChanged.py rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py diff --git a/lldb/test/functionalities/inferior-changed/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/main.c similarity index 100% rename from lldb/test/functionalities/inferior-changed/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/main.c diff --git a/lldb/test/functionalities/inferior-changed/main2.c b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/main2.c similarity index 100% rename from lldb/test/functionalities/inferior-changed/main2.c rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/main2.c diff --git a/lldb/test/functionalities/inferior-crashing/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/Makefile similarity index 100% rename from lldb/test/functionalities/inferior-crashing/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/Makefile diff --git a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashing.py similarity index 100% rename from lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashing.py diff --git a/lldb/test/functionalities/inferior-crashing/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/main.c similarity index 100% rename from lldb/test/functionalities/inferior-crashing/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/main.c diff --git a/lldb/test/functionalities/inferior-crashing/recursive-inferior/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/Makefile similarity index 100% rename from lldb/test/functionalities/inferior-crashing/recursive-inferior/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/Makefile diff --git a/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py similarity index 100% rename from lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py diff --git a/lldb/test/functionalities/inferior-crashing/recursive-inferior/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/main.c similarity index 100% rename from lldb/test/functionalities/inferior-crashing/recursive-inferior/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/main.c diff --git a/lldb/test/functionalities/inline-stepping/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/inline-stepping/Makefile similarity index 100% rename from lldb/test/functionalities/inline-stepping/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/inline-stepping/Makefile diff --git a/lldb/test/functionalities/inline-stepping/TestInlineStepping.py b/lldb/packages/Python/lldbsuite/test/functionalities/inline-stepping/TestInlineStepping.py similarity index 100% rename from lldb/test/functionalities/inline-stepping/TestInlineStepping.py rename to lldb/packages/Python/lldbsuite/test/functionalities/inline-stepping/TestInlineStepping.py diff --git a/lldb/test/functionalities/inline-stepping/calling.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/inline-stepping/calling.cpp similarity index 100% rename from lldb/test/functionalities/inline-stepping/calling.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/inline-stepping/calling.cpp diff --git a/lldb/test/functionalities/jitloader_gdb/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/Makefile similarity index 100% rename from lldb/test/functionalities/jitloader_gdb/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/Makefile diff --git a/lldb/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py b/lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py similarity index 100% rename from lldb/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py rename to lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py diff --git a/lldb/test/functionalities/jitloader_gdb/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/main.c similarity index 100% rename from lldb/test/functionalities/jitloader_gdb/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/main.c diff --git a/lldb/test/functionalities/launch_with_shellexpand/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/Makefile similarity index 100% rename from lldb/test/functionalities/launch_with_shellexpand/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/Makefile diff --git a/lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py b/lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py similarity index 100% rename from lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py rename to lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py diff --git a/lldb/test/functionalities/launch_with_shellexpand/file1.txt b/lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file1.txt similarity index 100% rename from lldb/test/functionalities/launch_with_shellexpand/file1.txt rename to lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file1.txt diff --git a/lldb/test/functionalities/launch_with_shellexpand/file2.txt b/lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file2.txt similarity index 100% rename from lldb/test/functionalities/launch_with_shellexpand/file2.txt rename to lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file2.txt diff --git a/lldb/test/functionalities/launch_with_shellexpand/file3.txt b/lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file3.txt similarity index 100% rename from lldb/test/functionalities/launch_with_shellexpand/file3.txt rename to lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file3.txt diff --git a/lldb/test/functionalities/launch_with_shellexpand/file4.txy b/lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file4.txy similarity index 100% rename from lldb/test/functionalities/launch_with_shellexpand/file4.txy rename to lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file4.txy diff --git a/lldb/test/functionalities/launch_with_shellexpand/file5.tyx b/lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file5.tyx similarity index 100% rename from lldb/test/functionalities/launch_with_shellexpand/file5.tyx rename to lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file5.tyx diff --git a/lldb/test/functionalities/launch_with_shellexpand/foo bar b/lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/foo bar similarity index 100% rename from lldb/test/functionalities/launch_with_shellexpand/foo bar rename to lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/foo bar diff --git a/lldb/test/functionalities/launch_with_shellexpand/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/main.cpp similarity index 100% rename from lldb/test/functionalities/launch_with_shellexpand/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/main.cpp diff --git a/lldb/test/functionalities/load_unload/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile similarity index 100% rename from lldb/test/functionalities/load_unload/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile diff --git a/lldb/test/functionalities/load_unload/TestLoadUnload.py b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py similarity index 100% rename from lldb/test/functionalities/load_unload/TestLoadUnload.py rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py diff --git a/lldb/test/functionalities/load_unload/a.c b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/a.c similarity index 100% rename from lldb/test/functionalities/load_unload/a.c rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/a.c diff --git a/lldb/test/functionalities/load_unload/a.mk b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/a.mk similarity index 100% rename from lldb/test/functionalities/load_unload/a.mk rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/a.mk diff --git a/lldb/test/functionalities/load_unload/b.c b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/b.c similarity index 100% rename from lldb/test/functionalities/load_unload/b.c rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/b.c diff --git a/lldb/test/functionalities/load_unload/b.mk b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/b.mk similarity index 100% rename from lldb/test/functionalities/load_unload/b.mk rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/b.mk diff --git a/lldb/test/functionalities/load_unload/c.c b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.c similarity index 100% rename from lldb/test/functionalities/load_unload/c.c rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.c diff --git a/lldb/test/functionalities/load_unload/c.mk b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.mk similarity index 100% rename from lldb/test/functionalities/load_unload/c.mk rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.mk diff --git a/lldb/test/functionalities/load_unload/cmds.txt b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/cmds.txt similarity index 100% rename from lldb/test/functionalities/load_unload/cmds.txt rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/cmds.txt diff --git a/lldb/test/functionalities/load_unload/d.c b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/d.c similarity index 100% rename from lldb/test/functionalities/load_unload/d.c rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/d.c diff --git a/lldb/test/functionalities/load_unload/d.mk b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/d.mk similarity index 100% rename from lldb/test/functionalities/load_unload/d.mk rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/d.mk diff --git a/lldb/test/functionalities/load_unload/hidden/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/hidden/Makefile similarity index 100% rename from lldb/test/functionalities/load_unload/hidden/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/hidden/Makefile diff --git a/lldb/test/functionalities/load_unload/hidden/d.c b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/hidden/d.c similarity index 100% rename from lldb/test/functionalities/load_unload/hidden/d.c rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/hidden/d.c diff --git a/lldb/test/functionalities/load_unload/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/main.c similarity index 100% rename from lldb/test/functionalities/load_unload/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/load_unload/main.c diff --git a/lldb/test/functionalities/longjmp/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/Makefile similarity index 100% rename from lldb/test/functionalities/longjmp/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/longjmp/Makefile diff --git a/lldb/test/functionalities/longjmp/TestLongjmp.py b/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py similarity index 100% rename from lldb/test/functionalities/longjmp/TestLongjmp.py rename to lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py diff --git a/lldb/test/functionalities/longjmp/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/main.c similarity index 100% rename from lldb/test/functionalities/longjmp/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/longjmp/main.c diff --git a/lldb/test/functionalities/memory/read/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/memory/read/Makefile similarity index 100% rename from lldb/test/functionalities/memory/read/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/memory/read/Makefile diff --git a/lldb/test/functionalities/memory/read/TestMemoryRead.py b/lldb/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py similarity index 100% rename from lldb/test/functionalities/memory/read/TestMemoryRead.py rename to lldb/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py diff --git a/lldb/test/functionalities/memory/read/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/memory/read/main.cpp similarity index 100% rename from lldb/test/functionalities/memory/read/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/memory/read/main.cpp diff --git a/lldb/test/functionalities/non-overlapping-index-variable-i/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/Makefile similarity index 100% rename from lldb/test/functionalities/non-overlapping-index-variable-i/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/Makefile diff --git a/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py b/lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py similarity index 100% rename from lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py rename to lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py diff --git a/lldb/test/functionalities/non-overlapping-index-variable-i/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp similarity index 100% rename from lldb/test/functionalities/non-overlapping-index-variable-i/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp diff --git a/lldb/test/functionalities/nosucharch/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/nosucharch/Makefile similarity index 100% rename from lldb/test/functionalities/nosucharch/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/nosucharch/Makefile diff --git a/lldb/test/functionalities/nosucharch/TestNoSuchArch.py b/lldb/packages/Python/lldbsuite/test/functionalities/nosucharch/TestNoSuchArch.py similarity index 100% rename from lldb/test/functionalities/nosucharch/TestNoSuchArch.py rename to lldb/packages/Python/lldbsuite/test/functionalities/nosucharch/TestNoSuchArch.py diff --git a/lldb/test/functionalities/nosucharch/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/nosucharch/main.cpp similarity index 100% rename from lldb/test/functionalities/nosucharch/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/nosucharch/main.cpp diff --git a/lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py b/lldb/packages/Python/lldbsuite/test/functionalities/object-file/TestImageListMultiArchitecture.py similarity index 100% rename from lldb/test/functionalities/object-file/TestImageListMultiArchitecture.py rename to lldb/packages/Python/lldbsuite/test/functionalities/object-file/TestImageListMultiArchitecture.py diff --git a/lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-clang-3.3 b/lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-clang-3.3 old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-clang-3.3 rename to lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-clang-3.3 diff --git a/lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-gcc-4.7.3 b/lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-gcc-4.7.3 old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-gcc-4.7.3 rename to lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-gcc-4.7.3 diff --git a/lldb/test/functionalities/object-file/bin/hello-netbsd-6.1-x86_64-gcc-4.5.3 b/lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-netbsd-6.1-x86_64-gcc-4.5.3 old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/functionalities/object-file/bin/hello-netbsd-6.1-x86_64-gcc-4.5.3 rename to lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-netbsd-6.1-x86_64-gcc-4.5.3 diff --git a/lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-clang-3.5pre b/lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-clang-3.5pre old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-clang-3.5pre rename to lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-clang-3.5pre diff --git a/lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-gcc-4.8.2 b/lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-gcc-4.8.2 old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-gcc-4.8.2 rename to lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-gcc-4.8.2 diff --git a/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 b/lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 similarity index 100% rename from lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 rename to lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36 diff --git a/lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch5-kcc-39 b/lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-unknown-kalimba_arch5-kcc-39 similarity index 100% rename from lldb/test/functionalities/object-file/bin/hello-unknown-kalimba_arch5-kcc-39 rename to lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-unknown-kalimba_arch5-kcc-39 diff --git a/lldb/test/functionalities/object-file/bin/hello.c b/lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello.c similarity index 100% rename from lldb/test/functionalities/object-file/bin/hello.c rename to lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello.c diff --git a/lldb/test/functionalities/object-file/bin/hello.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello.cpp similarity index 100% rename from lldb/test/functionalities/object-file/bin/hello.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/object-file/bin/hello.cpp diff --git a/lldb/test/functionalities/paths/TestPaths.py b/lldb/packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py similarity index 100% rename from lldb/test/functionalities/paths/TestPaths.py rename to lldb/packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py diff --git a/lldb/test/functionalities/platform/TestPlatformCommand.py b/lldb/packages/Python/lldbsuite/test/functionalities/platform/TestPlatformCommand.py similarity index 100% rename from lldb/test/functionalities/platform/TestPlatformCommand.py rename to lldb/packages/Python/lldbsuite/test/functionalities/platform/TestPlatformCommand.py diff --git a/lldb/test/functionalities/plugins/commands/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/Makefile similarity index 100% rename from lldb/test/functionalities/plugins/commands/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/Makefile diff --git a/lldb/test/functionalities/plugins/commands/TestPluginCommands.py b/lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/TestPluginCommands.py similarity index 100% rename from lldb/test/functionalities/plugins/commands/TestPluginCommands.py rename to lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/TestPluginCommands.py diff --git a/lldb/test/functionalities/plugins/commands/plugin.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/plugin.cpp similarity index 100% rename from lldb/test/functionalities/plugins/commands/plugin.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/plugin.cpp diff --git a/lldb/test/functionalities/plugins/python_os_plugin/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/Makefile similarity index 100% rename from lldb/test/functionalities/plugins/python_os_plugin/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/Makefile diff --git a/lldb/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py b/lldb/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py similarity index 100% rename from lldb/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py rename to lldb/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py diff --git a/lldb/test/functionalities/plugins/python_os_plugin/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/main.c similarity index 100% rename from lldb/test/functionalities/plugins/python_os_plugin/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/main.c diff --git a/lldb/test/functionalities/plugins/python_os_plugin/operating_system.py b/lldb/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/operating_system.py similarity index 100% rename from lldb/test/functionalities/plugins/python_os_plugin/operating_system.py rename to lldb/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/operating_system.py diff --git a/lldb/test/functionalities/plugins/python_os_plugin/operating_system2.py b/lldb/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/operating_system2.py similarity index 100% rename from lldb/test/functionalities/plugins/python_os_plugin/operating_system2.py rename to lldb/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/operating_system2.py diff --git a/lldb/test/functionalities/postmortem/minidump/TestMiniDump.py b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py similarity index 100% rename from lldb/test/functionalities/postmortem/minidump/TestMiniDump.py rename to lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py diff --git a/lldb/test/functionalities/postmortem/minidump/fizzbuzz.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/fizzbuzz.cpp similarity index 100% rename from lldb/test/functionalities/postmortem/minidump/fizzbuzz.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/fizzbuzz.cpp diff --git a/lldb/test/functionalities/postmortem/minidump/fizzbuzz_no_heap.dmp b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/fizzbuzz_no_heap.dmp similarity index 100% rename from lldb/test/functionalities/postmortem/minidump/fizzbuzz_no_heap.dmp rename to lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/fizzbuzz_no_heap.dmp diff --git a/lldb/test/functionalities/process_attach/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/Makefile similarity index 100% rename from lldb/test/functionalities/process_attach/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/process_attach/Makefile diff --git a/lldb/test/functionalities/process_attach/TestProcessAttach.py b/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py similarity index 100% rename from lldb/test/functionalities/process_attach/TestProcessAttach.py rename to lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py diff --git a/lldb/test/functionalities/process_attach/attach_denied/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/Makefile similarity index 100% rename from lldb/test/functionalities/process_attach/attach_denied/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/Makefile diff --git a/lldb/test/functionalities/process_attach/attach_denied/TestAttachDenied.py b/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/TestAttachDenied.py similarity index 100% rename from lldb/test/functionalities/process_attach/attach_denied/TestAttachDenied.py rename to lldb/packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/TestAttachDenied.py diff --git a/lldb/test/functionalities/process_attach/attach_denied/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/main.cpp similarity index 100% rename from lldb/test/functionalities/process_attach/attach_denied/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/main.cpp diff --git a/lldb/test/functionalities/process_attach/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp similarity index 100% rename from lldb/test/functionalities/process_attach/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp diff --git a/lldb/test/functionalities/process_group/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/process_group/Makefile similarity index 100% rename from lldb/test/functionalities/process_group/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/process_group/Makefile diff --git a/lldb/test/functionalities/process_group/TestChangeProcessGroup.py b/lldb/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py similarity index 100% rename from lldb/test/functionalities/process_group/TestChangeProcessGroup.py rename to lldb/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py diff --git a/lldb/test/functionalities/process_group/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/process_group/main.c similarity index 100% rename from lldb/test/functionalities/process_group/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/process_group/main.c diff --git a/lldb/test/functionalities/process_launch/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/process_launch/Makefile similarity index 100% rename from lldb/test/functionalities/process_launch/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/process_launch/Makefile diff --git a/lldb/test/functionalities/process_launch/TestProcessLaunch.py b/lldb/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py similarity index 100% rename from lldb/test/functionalities/process_launch/TestProcessLaunch.py rename to lldb/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py diff --git a/lldb/test/functionalities/process_launch/input-file.txt b/lldb/packages/Python/lldbsuite/test/functionalities/process_launch/input-file.txt similarity index 100% rename from lldb/test/functionalities/process_launch/input-file.txt rename to lldb/packages/Python/lldbsuite/test/functionalities/process_launch/input-file.txt diff --git a/lldb/test/functionalities/process_launch/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp similarity index 100% rename from lldb/test/functionalities/process_launch/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp diff --git a/lldb/test/functionalities/process_launch/my_working_dir/.keep b/lldb/packages/Python/lldbsuite/test/functionalities/process_launch/my_working_dir/.keep similarity index 100% rename from lldb/test/functionalities/process_launch/my_working_dir/.keep rename to lldb/packages/Python/lldbsuite/test/functionalities/process_launch/my_working_dir/.keep diff --git a/lldb/test/functionalities/process_launch/print_cwd.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/process_launch/print_cwd.cpp similarity index 100% rename from lldb/test/functionalities/process_launch/print_cwd.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/process_launch/print_cwd.cpp diff --git a/lldb/test/functionalities/recursion/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/recursion/Makefile similarity index 100% rename from lldb/test/functionalities/recursion/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/recursion/Makefile diff --git a/lldb/test/functionalities/recursion/TestValueObjectRecursion.py b/lldb/packages/Python/lldbsuite/test/functionalities/recursion/TestValueObjectRecursion.py similarity index 100% rename from lldb/test/functionalities/recursion/TestValueObjectRecursion.py rename to lldb/packages/Python/lldbsuite/test/functionalities/recursion/TestValueObjectRecursion.py diff --git a/lldb/test/functionalities/recursion/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/recursion/main.cpp similarity index 100% rename from lldb/test/functionalities/recursion/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/recursion/main.cpp diff --git a/lldb/test/functionalities/register/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/register/Makefile old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/functionalities/register/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/register/Makefile diff --git a/lldb/test/functionalities/register/TestRegisters.py b/lldb/packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/functionalities/register/TestRegisters.py rename to lldb/packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py diff --git a/lldb/test/functionalities/register/a.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/register/a.cpp old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/functionalities/register/a.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/register/a.cpp diff --git a/lldb/test/functionalities/register/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/register/main.cpp old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/functionalities/register/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/register/main.cpp diff --git a/lldb/test/functionalities/rerun/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/rerun/Makefile similarity index 100% rename from lldb/test/functionalities/rerun/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/rerun/Makefile diff --git a/lldb/test/functionalities/rerun/TestRerun.py b/lldb/packages/Python/lldbsuite/test/functionalities/rerun/TestRerun.py similarity index 100% rename from lldb/test/functionalities/rerun/TestRerun.py rename to lldb/packages/Python/lldbsuite/test/functionalities/rerun/TestRerun.py diff --git a/lldb/test/functionalities/rerun/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/rerun/main.cpp similarity index 100% rename from lldb/test/functionalities/rerun/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/rerun/main.cpp diff --git a/lldb/test/functionalities/return-value/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/return-value/Makefile similarity index 100% rename from lldb/test/functionalities/return-value/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/return-value/Makefile diff --git a/lldb/test/functionalities/return-value/TestReturnValue.py b/lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py similarity index 100% rename from lldb/test/functionalities/return-value/TestReturnValue.py rename to lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py diff --git a/lldb/test/functionalities/return-value/call-func.c b/lldb/packages/Python/lldbsuite/test/functionalities/return-value/call-func.c similarity index 100% rename from lldb/test/functionalities/return-value/call-func.c rename to lldb/packages/Python/lldbsuite/test/functionalities/return-value/call-func.c diff --git a/lldb/test/functionalities/set-data/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/set-data/Makefile similarity index 100% rename from lldb/test/functionalities/set-data/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/set-data/Makefile diff --git a/lldb/test/functionalities/set-data/TestSetData.py b/lldb/packages/Python/lldbsuite/test/functionalities/set-data/TestSetData.py similarity index 100% rename from lldb/test/functionalities/set-data/TestSetData.py rename to lldb/packages/Python/lldbsuite/test/functionalities/set-data/TestSetData.py diff --git a/lldb/test/functionalities/set-data/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/set-data/main.m similarity index 100% rename from lldb/test/functionalities/set-data/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/set-data/main.m diff --git a/lldb/test/functionalities/signal/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/signal/Makefile similarity index 100% rename from lldb/test/functionalities/signal/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/signal/Makefile diff --git a/lldb/test/functionalities/signal/TestSendSignal.py b/lldb/packages/Python/lldbsuite/test/functionalities/signal/TestSendSignal.py similarity index 100% rename from lldb/test/functionalities/signal/TestSendSignal.py rename to lldb/packages/Python/lldbsuite/test/functionalities/signal/TestSendSignal.py diff --git a/lldb/test/functionalities/signal/handle-segv/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/Makefile similarity index 100% rename from lldb/test/functionalities/signal/handle-segv/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/Makefile diff --git a/lldb/test/functionalities/signal/handle-segv/TestHandleSegv.py b/lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py similarity index 100% rename from lldb/test/functionalities/signal/handle-segv/TestHandleSegv.py rename to lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py diff --git a/lldb/test/functionalities/signal/handle-segv/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/main.c similarity index 100% rename from lldb/test/functionalities/signal/handle-segv/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/main.c diff --git a/lldb/test/functionalities/signal/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/signal/main.c similarity index 100% rename from lldb/test/functionalities/signal/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/signal/main.c diff --git a/lldb/test/functionalities/signal/raise/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/signal/raise/Makefile similarity index 100% rename from lldb/test/functionalities/signal/raise/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/signal/raise/Makefile diff --git a/lldb/test/functionalities/signal/raise/TestRaise.py b/lldb/packages/Python/lldbsuite/test/functionalities/signal/raise/TestRaise.py similarity index 100% rename from lldb/test/functionalities/signal/raise/TestRaise.py rename to lldb/packages/Python/lldbsuite/test/functionalities/signal/raise/TestRaise.py diff --git a/lldb/test/functionalities/signal/raise/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/signal/raise/main.c similarity index 100% rename from lldb/test/functionalities/signal/raise/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/signal/raise/main.c diff --git a/lldb/test/functionalities/single-quote-in-filename-to-lldb/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/Makefile similarity index 100% rename from lldb/test/functionalities/single-quote-in-filename-to-lldb/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/Makefile diff --git a/lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py b/lldb/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py similarity index 100% rename from lldb/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py rename to lldb/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py diff --git a/lldb/test/functionalities/single-quote-in-filename-to-lldb/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/main.c similarity index 100% rename from lldb/test/functionalities/single-quote-in-filename-to-lldb/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/main.c diff --git a/lldb/test/functionalities/single-quote-in-filename-to-lldb/path with '09/.keep b/lldb/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/path with '09/.keep similarity index 100% rename from lldb/test/functionalities/single-quote-in-filename-to-lldb/path with '09/.keep rename to lldb/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/path with '09/.keep diff --git a/lldb/test/functionalities/step-avoids-no-debug/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/Makefile similarity index 100% rename from lldb/test/functionalities/step-avoids-no-debug/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/Makefile diff --git a/lldb/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py b/lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py similarity index 100% rename from lldb/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py rename to lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py diff --git a/lldb/test/functionalities/step-avoids-no-debug/with-debug.c b/lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/with-debug.c similarity index 100% rename from lldb/test/functionalities/step-avoids-no-debug/with-debug.c rename to lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/with-debug.c diff --git a/lldb/test/functionalities/step-avoids-no-debug/without-debug.c b/lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/without-debug.c similarity index 100% rename from lldb/test/functionalities/step-avoids-no-debug/without-debug.c rename to lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/without-debug.c diff --git a/lldb/test/functionalities/stop-hook/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/Makefile similarity index 100% rename from lldb/test/functionalities/stop-hook/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/Makefile diff --git a/lldb/test/functionalities/stop-hook/TestStopHookCmd.py b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookCmd.py similarity index 100% rename from lldb/test/functionalities/stop-hook/TestStopHookCmd.py rename to lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookCmd.py diff --git a/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py similarity index 100% rename from lldb/test/functionalities/stop-hook/TestStopHookMechanism.py rename to lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py diff --git a/lldb/test/functionalities/stop-hook/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/main.cpp similarity index 100% rename from lldb/test/functionalities/stop-hook/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/main.cpp diff --git a/lldb/test/functionalities/stop-hook/multiple_threads/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/Makefile similarity index 100% rename from lldb/test/functionalities/stop-hook/multiple_threads/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/Makefile diff --git a/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py similarity index 100% rename from lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py rename to lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py diff --git a/lldb/test/functionalities/stop-hook/multiple_threads/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/main.cpp similarity index 100% rename from lldb/test/functionalities/stop-hook/multiple_threads/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/main.cpp diff --git a/lldb/test/functionalities/target_command/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/target_command/Makefile similarity index 100% rename from lldb/test/functionalities/target_command/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/target_command/Makefile diff --git a/lldb/test/functionalities/target_command/TestTargetCommand.py b/lldb/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py similarity index 100% rename from lldb/test/functionalities/target_command/TestTargetCommand.py rename to lldb/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py diff --git a/lldb/test/functionalities/target_command/a.c b/lldb/packages/Python/lldbsuite/test/functionalities/target_command/a.c similarity index 100% rename from lldb/test/functionalities/target_command/a.c rename to lldb/packages/Python/lldbsuite/test/functionalities/target_command/a.c diff --git a/lldb/test/functionalities/target_command/b.c b/lldb/packages/Python/lldbsuite/test/functionalities/target_command/b.c similarity index 100% rename from lldb/test/functionalities/target_command/b.c rename to lldb/packages/Python/lldbsuite/test/functionalities/target_command/b.c diff --git a/lldb/test/functionalities/target_command/c.c b/lldb/packages/Python/lldbsuite/test/functionalities/target_command/c.c similarity index 100% rename from lldb/test/functionalities/target_command/c.c rename to lldb/packages/Python/lldbsuite/test/functionalities/target_command/c.c diff --git a/lldb/test/functionalities/target_command/globals.c b/lldb/packages/Python/lldbsuite/test/functionalities/target_command/globals.c similarity index 100% rename from lldb/test/functionalities/target_command/globals.c rename to lldb/packages/Python/lldbsuite/test/functionalities/target_command/globals.c diff --git a/lldb/test/functionalities/thread/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/Makefile similarity index 100% rename from lldb/test/functionalities/thread/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/Makefile diff --git a/lldb/test/functionalities/thread/TestNumThreads.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/TestNumThreads.py similarity index 100% rename from lldb/test/functionalities/thread/TestNumThreads.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/TestNumThreads.py diff --git a/lldb/test/functionalities/thread/break_after_join/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/Makefile similarity index 100% rename from lldb/test/functionalities/thread/break_after_join/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/Makefile diff --git a/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py similarity index 100% rename from lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py diff --git a/lldb/test/functionalities/thread/break_after_join/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/break_after_join/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/main.cpp diff --git a/lldb/test/functionalities/thread/concurrent_events/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/Makefile similarity index 100% rename from lldb/test/functionalities/thread/concurrent_events/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/Makefile diff --git a/lldb/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py similarity index 100% rename from lldb/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py diff --git a/lldb/test/functionalities/thread/concurrent_events/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/concurrent_events/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/main.cpp diff --git a/lldb/test/functionalities/thread/crash_during_step/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/Makefile similarity index 100% rename from lldb/test/functionalities/thread/crash_during_step/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/Makefile diff --git a/lldb/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py similarity index 100% rename from lldb/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py diff --git a/lldb/test/functionalities/thread/crash_during_step/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/crash_during_step/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/main.cpp diff --git a/lldb/test/functionalities/thread/create_after_attach/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/Makefile similarity index 100% rename from lldb/test/functionalities/thread/create_after_attach/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/Makefile diff --git a/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py similarity index 100% rename from lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py diff --git a/lldb/test/functionalities/thread/create_after_attach/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/create_after_attach/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/main.cpp diff --git a/lldb/test/functionalities/thread/create_during_step/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/Makefile similarity index 100% rename from lldb/test/functionalities/thread/create_during_step/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/Makefile diff --git a/lldb/test/functionalities/thread/create_during_step/TestCreateDuringStep.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/TestCreateDuringStep.py similarity index 100% rename from lldb/test/functionalities/thread/create_during_step/TestCreateDuringStep.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/TestCreateDuringStep.py diff --git a/lldb/test/functionalities/thread/create_during_step/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/create_during_step/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/main.cpp diff --git a/lldb/test/functionalities/thread/exit_during_break/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/Makefile similarity index 100% rename from lldb/test/functionalities/thread/exit_during_break/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/Makefile diff --git a/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py similarity index 100% rename from lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py diff --git a/lldb/test/functionalities/thread/exit_during_break/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/exit_during_break/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/main.cpp diff --git a/lldb/test/functionalities/thread/exit_during_step/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/Makefile similarity index 100% rename from lldb/test/functionalities/thread/exit_during_step/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/Makefile diff --git a/lldb/test/functionalities/thread/exit_during_step/TestExitDuringStep.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py similarity index 100% rename from lldb/test/functionalities/thread/exit_during_step/TestExitDuringStep.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py diff --git a/lldb/test/functionalities/thread/exit_during_step/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/exit_during_step/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/main.cpp diff --git a/lldb/test/functionalities/thread/jump/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/jump/Makefile similarity index 100% rename from lldb/test/functionalities/thread/jump/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/jump/Makefile diff --git a/lldb/test/functionalities/thread/jump/TestThreadJump.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py similarity index 100% rename from lldb/test/functionalities/thread/jump/TestThreadJump.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py diff --git a/lldb/test/functionalities/thread/jump/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/jump/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/jump/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/jump/main.cpp diff --git a/lldb/test/functionalities/thread/jump/other.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/jump/other.cpp similarity index 100% rename from lldb/test/functionalities/thread/jump/other.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/jump/other.cpp diff --git a/lldb/test/functionalities/thread/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/main.cpp diff --git a/lldb/test/functionalities/thread/multi_break/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/multi_break/Makefile similarity index 100% rename from lldb/test/functionalities/thread/multi_break/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/multi_break/Makefile diff --git a/lldb/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py similarity index 100% rename from lldb/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py diff --git a/lldb/test/functionalities/thread/multi_break/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/multi_break/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/multi_break/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/multi_break/main.cpp diff --git a/lldb/test/functionalities/thread/state/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/Makefile similarity index 100% rename from lldb/test/functionalities/thread/state/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/state/Makefile diff --git a/lldb/test/functionalities/thread/state/TestThreadStates.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py similarity index 100% rename from lldb/test/functionalities/thread/state/TestThreadStates.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py diff --git a/lldb/test/functionalities/thread/state/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/state/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/state/main.cpp diff --git a/lldb/test/functionalities/thread/step_out/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/step_out/Makefile similarity index 100% rename from lldb/test/functionalities/thread/step_out/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/step_out/Makefile diff --git a/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py similarity index 100% rename from lldb/test/functionalities/thread/step_out/TestThreadStepOut.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py diff --git a/lldb/test/functionalities/thread/step_out/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/step_out/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/step_out/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/step_out/main.cpp diff --git a/lldb/test/functionalities/thread/thread_exit/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/Makefile similarity index 100% rename from lldb/test/functionalities/thread/thread_exit/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/Makefile diff --git a/lldb/test/functionalities/thread/thread_exit/TestThreadExit.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py similarity index 100% rename from lldb/test/functionalities/thread/thread_exit/TestThreadExit.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py diff --git a/lldb/test/functionalities/thread/thread_exit/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/thread_exit/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/main.cpp diff --git a/lldb/test/functionalities/thread/thread_specific_break/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/Makefile similarity index 100% rename from lldb/test/functionalities/thread/thread_specific_break/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/Makefile diff --git a/lldb/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py similarity index 100% rename from lldb/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py diff --git a/lldb/test/functionalities/thread/thread_specific_break/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/main.cpp similarity index 100% rename from lldb/test/functionalities/thread/thread_specific_break/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/main.cpp diff --git a/lldb/test/functionalities/tty/TestTerminal.py b/lldb/packages/Python/lldbsuite/test/functionalities/tty/TestTerminal.py similarity index 100% rename from lldb/test/functionalities/tty/TestTerminal.py rename to lldb/packages/Python/lldbsuite/test/functionalities/tty/TestTerminal.py diff --git a/lldb/test/functionalities/type_completion/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/type_completion/Makefile similarity index 100% rename from lldb/test/functionalities/type_completion/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/type_completion/Makefile diff --git a/lldb/test/functionalities/type_completion/TestTypeCompletion.py b/lldb/packages/Python/lldbsuite/test/functionalities/type_completion/TestTypeCompletion.py similarity index 100% rename from lldb/test/functionalities/type_completion/TestTypeCompletion.py rename to lldb/packages/Python/lldbsuite/test/functionalities/type_completion/TestTypeCompletion.py diff --git a/lldb/test/functionalities/type_completion/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/type_completion/main.cpp similarity index 100% rename from lldb/test/functionalities/type_completion/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/type_completion/main.cpp diff --git a/lldb/test/functionalities/type_lookup/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/type_lookup/Makefile similarity index 100% rename from lldb/test/functionalities/type_lookup/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/type_lookup/Makefile diff --git a/lldb/test/functionalities/type_lookup/TestTypeLookup.py b/lldb/packages/Python/lldbsuite/test/functionalities/type_lookup/TestTypeLookup.py similarity index 100% rename from lldb/test/functionalities/type_lookup/TestTypeLookup.py rename to lldb/packages/Python/lldbsuite/test/functionalities/type_lookup/TestTypeLookup.py diff --git a/lldb/test/functionalities/type_lookup/main.m b/lldb/packages/Python/lldbsuite/test/functionalities/type_lookup/main.m similarity index 100% rename from lldb/test/functionalities/type_lookup/main.m rename to lldb/packages/Python/lldbsuite/test/functionalities/type_lookup/main.m diff --git a/lldb/test/functionalities/unwind/noreturn/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/Makefile similarity index 100% rename from lldb/test/functionalities/unwind/noreturn/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/Makefile diff --git a/lldb/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py similarity index 100% rename from lldb/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py diff --git a/lldb/test/functionalities/unwind/noreturn/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/main.c similarity index 100% rename from lldb/test/functionalities/unwind/noreturn/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/main.c diff --git a/lldb/test/functionalities/unwind/sigtramp/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/Makefile similarity index 100% rename from lldb/test/functionalities/unwind/sigtramp/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/Makefile diff --git a/lldb/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py similarity index 100% rename from lldb/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py diff --git a/lldb/test/functionalities/unwind/sigtramp/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/main.c similarity index 100% rename from lldb/test/functionalities/unwind/sigtramp/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/main.c diff --git a/lldb/test/functionalities/unwind/standard/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/standard/Makefile similarity index 100% rename from lldb/test/functionalities/unwind/standard/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/standard/Makefile diff --git a/lldb/test/functionalities/unwind/standard/TestStandardUnwind.py b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/standard/TestStandardUnwind.py similarity index 100% rename from lldb/test/functionalities/unwind/standard/TestStandardUnwind.py rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/standard/TestStandardUnwind.py diff --git a/lldb/test/functionalities/unwind/standard/hand_written/divmod.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/standard/hand_written/divmod.cpp similarity index 100% rename from lldb/test/functionalities/unwind/standard/hand_written/divmod.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/standard/hand_written/divmod.cpp diff --git a/lldb/test/functionalities/unwind/standard/hand_written/fprintf.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/standard/hand_written/fprintf.cpp similarity index 100% rename from lldb/test/functionalities/unwind/standard/hand_written/fprintf.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/standard/hand_written/fprintf.cpp diff --git a/lldb/test/functionalities/unwind/standard/hand_written/new_delete.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/unwind/standard/hand_written/new_delete.cpp similarity index 100% rename from lldb/test/functionalities/unwind/standard/hand_written/new_delete.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/unwind/standard/hand_written/new_delete.cpp diff --git a/lldb/test/functionalities/value_md5_crash/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/value_md5_crash/Makefile similarity index 100% rename from lldb/test/functionalities/value_md5_crash/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/value_md5_crash/Makefile diff --git a/lldb/test/functionalities/value_md5_crash/TestValueMD5Crash.py b/lldb/packages/Python/lldbsuite/test/functionalities/value_md5_crash/TestValueMD5Crash.py similarity index 100% rename from lldb/test/functionalities/value_md5_crash/TestValueMD5Crash.py rename to lldb/packages/Python/lldbsuite/test/functionalities/value_md5_crash/TestValueMD5Crash.py diff --git a/lldb/test/functionalities/value_md5_crash/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/value_md5_crash/main.cpp similarity index 100% rename from lldb/test/functionalities/value_md5_crash/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/value_md5_crash/main.cpp diff --git a/lldb/test/functionalities/watchpoint/hello_watchlocation/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/hello_watchlocation/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/Makefile diff --git a/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py similarity index 100% rename from lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py diff --git a/lldb/test/functionalities/watchpoint/hello_watchlocation/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/main.cpp similarity index 100% rename from lldb/test/functionalities/watchpoint/hello_watchlocation/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/main.cpp diff --git a/lldb/test/functionalities/watchpoint/hello_watchpoint/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/hello_watchpoint/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/Makefile diff --git a/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py similarity index 100% rename from lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py diff --git a/lldb/test/functionalities/watchpoint/hello_watchpoint/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/main.c similarity index 100% rename from lldb/test/functionalities/watchpoint/hello_watchpoint/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/main.c diff --git a/lldb/test/functionalities/watchpoint/multiple_threads/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/multiple_threads/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/Makefile diff --git a/lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py similarity index 100% rename from lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py diff --git a/lldb/test/functionalities/watchpoint/multiple_threads/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/main.cpp similarity index 100% rename from lldb/test/functionalities/watchpoint/multiple_threads/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/main.cpp diff --git a/lldb/test/functionalities/watchpoint/step_over_watchpoint/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/step_over_watchpoint/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/Makefile diff --git a/lldb/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py similarity index 100% rename from lldb/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py diff --git a/lldb/test/functionalities/watchpoint/step_over_watchpoint/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/main.c similarity index 100% rename from lldb/test/functionalities/watchpoint/step_over_watchpoint/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/main.c diff --git a/lldb/test/functionalities/watchpoint/variable_out_of_scope/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/variable_out_of_scope/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/Makefile diff --git a/lldb/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py similarity index 100% rename from lldb/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py diff --git a/lldb/test/functionalities/watchpoint/variable_out_of_scope/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/main.c similarity index 100% rename from lldb/test/functionalities/watchpoint/variable_out_of_scope/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/main.c diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_commands/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/Makefile diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/command/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_commands/command/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/Makefile diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/command/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/main.cpp similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_commands/command/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/main.cpp diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/condition/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_commands/condition/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/Makefile diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/condition/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/main.cpp similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_commands/condition/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/main.cpp diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/main.c similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_commands/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/main.c diff --git a/lldb/test/functionalities/watchpoint/watchpoint_events/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_events/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/Makefile diff --git a/lldb/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py diff --git a/lldb/test/functionalities/watchpoint/watchpoint_events/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/main.c similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_events/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/main.c diff --git a/lldb/test/functionalities/watchpoint/watchpoint_on_vectors/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_on_vectors/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/Makefile diff --git a/lldb/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py diff --git a/lldb/test/functionalities/watchpoint/watchpoint_on_vectors/main.c b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/main.c similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_on_vectors/main.c rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/main.c diff --git a/lldb/test/functionalities/watchpoint/watchpoint_set_command/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/Makefile similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_set_command/Makefile rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/Makefile diff --git a/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py diff --git a/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py diff --git a/lldb/test/functionalities/watchpoint/watchpoint_set_command/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/main.cpp similarity index 100% rename from lldb/test/functionalities/watchpoint/watchpoint_set_command/main.cpp rename to lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/main.cpp diff --git a/lldb/test/help/TestHelp.py b/lldb/packages/Python/lldbsuite/test/help/TestHelp.py similarity index 100% rename from lldb/test/help/TestHelp.py rename to lldb/packages/Python/lldbsuite/test/help/TestHelp.py diff --git a/lldb/test/lang/c/anonymous/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/anonymous/Makefile similarity index 100% rename from lldb/test/lang/c/anonymous/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/anonymous/Makefile diff --git a/lldb/test/lang/c/anonymous/TestAnonymous.py b/lldb/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py similarity index 100% rename from lldb/test/lang/c/anonymous/TestAnonymous.py rename to lldb/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py diff --git a/lldb/test/lang/c/anonymous/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/anonymous/main.c similarity index 100% rename from lldb/test/lang/c/anonymous/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/anonymous/main.c diff --git a/lldb/test/lang/c/array_types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/array_types/Makefile similarity index 100% rename from lldb/test/lang/c/array_types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/array_types/Makefile diff --git a/lldb/test/lang/c/array_types/TestArrayTypes.py b/lldb/packages/Python/lldbsuite/test/lang/c/array_types/TestArrayTypes.py similarity index 100% rename from lldb/test/lang/c/array_types/TestArrayTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/c/array_types/TestArrayTypes.py diff --git a/lldb/test/lang/c/array_types/cmds.txt b/lldb/packages/Python/lldbsuite/test/lang/c/array_types/cmds.txt similarity index 100% rename from lldb/test/lang/c/array_types/cmds.txt rename to lldb/packages/Python/lldbsuite/test/lang/c/array_types/cmds.txt diff --git a/lldb/test/lang/c/array_types/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/array_types/main.c similarity index 100% rename from lldb/test/lang/c/array_types/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/array_types/main.c diff --git a/lldb/test/lang/c/bitfields/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/Makefile similarity index 100% rename from lldb/test/lang/c/bitfields/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/bitfields/Makefile diff --git a/lldb/test/lang/c/bitfields/TestBitfields.py b/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py similarity index 100% rename from lldb/test/lang/c/bitfields/TestBitfields.py rename to lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py diff --git a/lldb/test/lang/c/bitfields/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/main.c similarity index 100% rename from lldb/test/lang/c/bitfields/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/bitfields/main.c diff --git a/lldb/test/lang/c/blocks/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/blocks/Makefile similarity index 100% rename from lldb/test/lang/c/blocks/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/blocks/Makefile diff --git a/lldb/test/lang/c/blocks/TestBlocks.py b/lldb/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py similarity index 100% rename from lldb/test/lang/c/blocks/TestBlocks.py rename to lldb/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py diff --git a/lldb/test/lang/c/blocks/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/blocks/main.c similarity index 100% rename from lldb/test/lang/c/blocks/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/blocks/main.c diff --git a/lldb/test/lang/c/const_variables/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/const_variables/Makefile similarity index 100% rename from lldb/test/lang/c/const_variables/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/const_variables/Makefile diff --git a/lldb/test/lang/c/const_variables/TestConstVariables.py b/lldb/packages/Python/lldbsuite/test/lang/c/const_variables/TestConstVariables.py similarity index 100% rename from lldb/test/lang/c/const_variables/TestConstVariables.py rename to lldb/packages/Python/lldbsuite/test/lang/c/const_variables/TestConstVariables.py diff --git a/lldb/test/lang/c/const_variables/functions.c b/lldb/packages/Python/lldbsuite/test/lang/c/const_variables/functions.c similarity index 100% rename from lldb/test/lang/c/const_variables/functions.c rename to lldb/packages/Python/lldbsuite/test/lang/c/const_variables/functions.c diff --git a/lldb/test/lang/c/const_variables/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/const_variables/main.c similarity index 100% rename from lldb/test/lang/c/const_variables/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/const_variables/main.c diff --git a/lldb/test/lang/c/enum_types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/enum_types/Makefile similarity index 100% rename from lldb/test/lang/c/enum_types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/enum_types/Makefile diff --git a/lldb/test/lang/c/enum_types/TestEnumTypes.py b/lldb/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py similarity index 100% rename from lldb/test/lang/c/enum_types/TestEnumTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py diff --git a/lldb/test/lang/c/enum_types/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/enum_types/main.c similarity index 100% rename from lldb/test/lang/c/enum_types/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/enum_types/main.c diff --git a/lldb/test/lang/c/forward/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/forward/Makefile similarity index 100% rename from lldb/test/lang/c/forward/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/forward/Makefile diff --git a/lldb/test/lang/c/forward/README.txt b/lldb/packages/Python/lldbsuite/test/lang/c/forward/README.txt similarity index 100% rename from lldb/test/lang/c/forward/README.txt rename to lldb/packages/Python/lldbsuite/test/lang/c/forward/README.txt diff --git a/lldb/test/lang/c/forward/TestForwardDeclaration.py b/lldb/packages/Python/lldbsuite/test/lang/c/forward/TestForwardDeclaration.py similarity index 100% rename from lldb/test/lang/c/forward/TestForwardDeclaration.py rename to lldb/packages/Python/lldbsuite/test/lang/c/forward/TestForwardDeclaration.py diff --git a/lldb/test/lang/c/forward/foo.c b/lldb/packages/Python/lldbsuite/test/lang/c/forward/foo.c similarity index 100% rename from lldb/test/lang/c/forward/foo.c rename to lldb/packages/Python/lldbsuite/test/lang/c/forward/foo.c diff --git a/lldb/test/lang/c/forward/foo.h b/lldb/packages/Python/lldbsuite/test/lang/c/forward/foo.h similarity index 100% rename from lldb/test/lang/c/forward/foo.h rename to lldb/packages/Python/lldbsuite/test/lang/c/forward/foo.h diff --git a/lldb/test/lang/c/forward/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/forward/main.c similarity index 100% rename from lldb/test/lang/c/forward/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/forward/main.c diff --git a/lldb/test/lang/c/function_types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/function_types/Makefile similarity index 100% rename from lldb/test/lang/c/function_types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/function_types/Makefile diff --git a/lldb/test/lang/c/function_types/TestFunctionTypes.py b/lldb/packages/Python/lldbsuite/test/lang/c/function_types/TestFunctionTypes.py similarity index 100% rename from lldb/test/lang/c/function_types/TestFunctionTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/c/function_types/TestFunctionTypes.py diff --git a/lldb/test/lang/c/function_types/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/function_types/main.c similarity index 100% rename from lldb/test/lang/c/function_types/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/function_types/main.c diff --git a/lldb/test/lang/c/global_variables/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/global_variables/Makefile similarity index 100% rename from lldb/test/lang/c/global_variables/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/global_variables/Makefile diff --git a/lldb/test/lang/c/global_variables/TestGlobalVariables.py b/lldb/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py similarity index 100% rename from lldb/test/lang/c/global_variables/TestGlobalVariables.py rename to lldb/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py diff --git a/lldb/test/lang/c/global_variables/a.c b/lldb/packages/Python/lldbsuite/test/lang/c/global_variables/a.c similarity index 100% rename from lldb/test/lang/c/global_variables/a.c rename to lldb/packages/Python/lldbsuite/test/lang/c/global_variables/a.c diff --git a/lldb/test/lang/c/global_variables/cmds.txt b/lldb/packages/Python/lldbsuite/test/lang/c/global_variables/cmds.txt similarity index 100% rename from lldb/test/lang/c/global_variables/cmds.txt rename to lldb/packages/Python/lldbsuite/test/lang/c/global_variables/cmds.txt diff --git a/lldb/test/lang/c/global_variables/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/global_variables/main.c similarity index 100% rename from lldb/test/lang/c/global_variables/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/global_variables/main.c diff --git a/lldb/test/lang/c/inlines/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/inlines/Makefile similarity index 100% rename from lldb/test/lang/c/inlines/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/inlines/Makefile diff --git a/lldb/test/lang/c/inlines/inlines.c b/lldb/packages/Python/lldbsuite/test/lang/c/inlines/inlines.c similarity index 100% rename from lldb/test/lang/c/inlines/inlines.c rename to lldb/packages/Python/lldbsuite/test/lang/c/inlines/inlines.c diff --git a/lldb/test/lang/c/inlines/inlines.h b/lldb/packages/Python/lldbsuite/test/lang/c/inlines/inlines.h similarity index 100% rename from lldb/test/lang/c/inlines/inlines.h rename to lldb/packages/Python/lldbsuite/test/lang/c/inlines/inlines.h diff --git a/lldb/test/lang/c/modules/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/modules/Makefile similarity index 100% rename from lldb/test/lang/c/modules/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/modules/Makefile diff --git a/lldb/test/lang/c/modules/TestCModules.py b/lldb/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py similarity index 100% rename from lldb/test/lang/c/modules/TestCModules.py rename to lldb/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py diff --git a/lldb/test/lang/c/modules/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/modules/main.c similarity index 100% rename from lldb/test/lang/c/modules/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/modules/main.c diff --git a/lldb/test/lang/c/recurse/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/recurse/Makefile similarity index 100% rename from lldb/test/lang/c/recurse/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/recurse/Makefile diff --git a/lldb/test/lang/c/recurse/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/recurse/main.c similarity index 100% rename from lldb/test/lang/c/recurse/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/recurse/main.c diff --git a/lldb/test/lang/c/register_variables/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/register_variables/Makefile similarity index 100% rename from lldb/test/lang/c/register_variables/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/register_variables/Makefile diff --git a/lldb/test/lang/c/register_variables/TestRegisterVariables.py b/lldb/packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py similarity index 100% rename from lldb/test/lang/c/register_variables/TestRegisterVariables.py rename to lldb/packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py diff --git a/lldb/test/lang/c/register_variables/test.c b/lldb/packages/Python/lldbsuite/test/lang/c/register_variables/test.c similarity index 100% rename from lldb/test/lang/c/register_variables/test.c rename to lldb/packages/Python/lldbsuite/test/lang/c/register_variables/test.c diff --git a/lldb/test/lang/c/set_values/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/set_values/Makefile similarity index 100% rename from lldb/test/lang/c/set_values/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/set_values/Makefile diff --git a/lldb/test/lang/c/set_values/TestSetValues.py b/lldb/packages/Python/lldbsuite/test/lang/c/set_values/TestSetValues.py similarity index 100% rename from lldb/test/lang/c/set_values/TestSetValues.py rename to lldb/packages/Python/lldbsuite/test/lang/c/set_values/TestSetValues.py diff --git a/lldb/test/lang/c/set_values/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/set_values/main.c similarity index 100% rename from lldb/test/lang/c/set_values/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/set_values/main.c diff --git a/lldb/test/lang/c/shared_lib/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/shared_lib/Makefile similarity index 100% rename from lldb/test/lang/c/shared_lib/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/shared_lib/Makefile diff --git a/lldb/test/lang/c/shared_lib/TestSharedLib.py b/lldb/packages/Python/lldbsuite/test/lang/c/shared_lib/TestSharedLib.py similarity index 100% rename from lldb/test/lang/c/shared_lib/TestSharedLib.py rename to lldb/packages/Python/lldbsuite/test/lang/c/shared_lib/TestSharedLib.py diff --git a/lldb/test/lang/c/shared_lib/foo.c b/lldb/packages/Python/lldbsuite/test/lang/c/shared_lib/foo.c similarity index 100% rename from lldb/test/lang/c/shared_lib/foo.c rename to lldb/packages/Python/lldbsuite/test/lang/c/shared_lib/foo.c diff --git a/lldb/test/lang/c/shared_lib/foo.h b/lldb/packages/Python/lldbsuite/test/lang/c/shared_lib/foo.h similarity index 100% rename from lldb/test/lang/c/shared_lib/foo.h rename to lldb/packages/Python/lldbsuite/test/lang/c/shared_lib/foo.h diff --git a/lldb/test/lang/c/shared_lib/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/shared_lib/main.c similarity index 100% rename from lldb/test/lang/c/shared_lib/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/shared_lib/main.c diff --git a/lldb/test/lang/c/shared_lib_stripped_symbols/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/Makefile similarity index 100% rename from lldb/test/lang/c/shared_lib_stripped_symbols/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/Makefile diff --git a/lldb/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py b/lldb/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py similarity index 100% rename from lldb/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py rename to lldb/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py diff --git a/lldb/test/lang/c/shared_lib_stripped_symbols/foo.c b/lldb/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/foo.c similarity index 100% rename from lldb/test/lang/c/shared_lib_stripped_symbols/foo.c rename to lldb/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/foo.c diff --git a/lldb/test/lang/c/shared_lib_stripped_symbols/foo.h b/lldb/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/foo.h similarity index 100% rename from lldb/test/lang/c/shared_lib_stripped_symbols/foo.h rename to lldb/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/foo.h diff --git a/lldb/test/lang/c/shared_lib_stripped_symbols/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/main.c similarity index 100% rename from lldb/test/lang/c/shared_lib_stripped_symbols/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/main.c diff --git a/lldb/test/lang/c/stepping/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/stepping/Makefile similarity index 100% rename from lldb/test/lang/c/stepping/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/stepping/Makefile diff --git a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py b/lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py similarity index 100% rename from lldb/test/lang/c/stepping/TestStepAndBreakpoints.py rename to lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py diff --git a/lldb/test/lang/c/stepping/TestThreadStepping.py b/lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestThreadStepping.py similarity index 100% rename from lldb/test/lang/c/stepping/TestThreadStepping.py rename to lldb/packages/Python/lldbsuite/test/lang/c/stepping/TestThreadStepping.py diff --git a/lldb/test/lang/c/stepping/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/stepping/main.c similarity index 100% rename from lldb/test/lang/c/stepping/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/stepping/main.c diff --git a/lldb/test/lang/c/strings/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/strings/Makefile similarity index 100% rename from lldb/test/lang/c/strings/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/strings/Makefile diff --git a/lldb/test/lang/c/strings/TestCStrings.py b/lldb/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py similarity index 100% rename from lldb/test/lang/c/strings/TestCStrings.py rename to lldb/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py diff --git a/lldb/test/lang/c/strings/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/strings/main.c similarity index 100% rename from lldb/test/lang/c/strings/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/strings/main.c diff --git a/lldb/test/lang/c/struct_types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/struct_types/Makefile similarity index 100% rename from lldb/test/lang/c/struct_types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/struct_types/Makefile diff --git a/lldb/test/lang/c/struct_types/TestStructTypes.py b/lldb/packages/Python/lldbsuite/test/lang/c/struct_types/TestStructTypes.py similarity index 100% rename from lldb/test/lang/c/struct_types/TestStructTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/c/struct_types/TestStructTypes.py diff --git a/lldb/test/lang/c/struct_types/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/struct_types/main.c similarity index 100% rename from lldb/test/lang/c/struct_types/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/struct_types/main.c diff --git a/lldb/test/lang/c/tls_globals/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/Makefile similarity index 100% rename from lldb/test/lang/c/tls_globals/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/Makefile diff --git a/lldb/test/lang/c/tls_globals/TestTlsGlobals.py b/lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py similarity index 100% rename from lldb/test/lang/c/tls_globals/TestTlsGlobals.py rename to lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py diff --git a/lldb/test/lang/c/tls_globals/a.c b/lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/a.c similarity index 100% rename from lldb/test/lang/c/tls_globals/a.c rename to lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/a.c diff --git a/lldb/test/lang/c/tls_globals/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/main.c similarity index 100% rename from lldb/test/lang/c/tls_globals/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/main.c diff --git a/lldb/test/lang/c/typedef/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/typedef/Makefile similarity index 100% rename from lldb/test/lang/c/typedef/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/c/typedef/Makefile diff --git a/lldb/test/lang/c/typedef/Testtypedef.py b/lldb/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py similarity index 100% rename from lldb/test/lang/c/typedef/Testtypedef.py rename to lldb/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py diff --git a/lldb/test/lang/c/typedef/main.c b/lldb/packages/Python/lldbsuite/test/lang/c/typedef/main.c similarity index 100% rename from lldb/test/lang/c/typedef/main.c rename to lldb/packages/Python/lldbsuite/test/lang/c/typedef/main.c diff --git a/lldb/test/lang/cpp/bool/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/bool/Makefile similarity index 100% rename from lldb/test/lang/cpp/bool/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/bool/Makefile diff --git a/lldb/test/lang/cpp/bool/TestCPPBool.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/bool/TestCPPBool.py similarity index 100% rename from lldb/test/lang/cpp/bool/TestCPPBool.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/bool/TestCPPBool.py diff --git a/lldb/test/lang/cpp/bool/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/bool/main.cpp similarity index 100% rename from lldb/test/lang/cpp/bool/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/bool/main.cpp diff --git a/lldb/test/lang/cpp/breakpoint-commands/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/Makefile similarity index 100% rename from lldb/test/lang/cpp/breakpoint-commands/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/Makefile diff --git a/lldb/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py similarity index 100% rename from lldb/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py diff --git a/lldb/test/lang/cpp/breakpoint-commands/nested.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp similarity index 100% rename from lldb/test/lang/cpp/breakpoint-commands/nested.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp diff --git a/lldb/test/lang/cpp/call-function/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/Makefile similarity index 100% rename from lldb/test/lang/cpp/call-function/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/Makefile diff --git a/lldb/test/lang/cpp/call-function/TestCallCPPFunction.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py similarity index 100% rename from lldb/test/lang/cpp/call-function/TestCallCPPFunction.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py diff --git a/lldb/test/lang/cpp/call-function/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp similarity index 100% rename from lldb/test/lang/cpp/call-function/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp diff --git a/lldb/test/lang/cpp/chained-calls/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/chained-calls/Makefile similarity index 100% rename from lldb/test/lang/cpp/chained-calls/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/chained-calls/Makefile diff --git a/lldb/test/lang/cpp/chained-calls/TestCppChainedCalls.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/chained-calls/TestCppChainedCalls.py similarity index 100% rename from lldb/test/lang/cpp/chained-calls/TestCppChainedCalls.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/chained-calls/TestCppChainedCalls.py diff --git a/lldb/test/lang/cpp/chained-calls/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/chained-calls/main.cpp similarity index 100% rename from lldb/test/lang/cpp/chained-calls/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/chained-calls/main.cpp diff --git a/lldb/test/lang/cpp/char1632_t/.categories b/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/.categories similarity index 100% rename from lldb/test/lang/cpp/char1632_t/.categories rename to lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/.categories diff --git a/lldb/test/lang/cpp/char1632_t/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile similarity index 100% rename from lldb/test/lang/cpp/char1632_t/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile diff --git a/lldb/test/lang/cpp/char1632_t/TestChar1632T.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py similarity index 100% rename from lldb/test/lang/cpp/char1632_t/TestChar1632T.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py diff --git a/lldb/test/lang/cpp/char1632_t/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/main.cpp similarity index 100% rename from lldb/test/lang/cpp/char1632_t/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/main.cpp diff --git a/lldb/test/lang/cpp/class_static/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/Makefile similarity index 100% rename from lldb/test/lang/cpp/class_static/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/Makefile diff --git a/lldb/test/lang/cpp/class_static/TestStaticVariables.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py similarity index 100% rename from lldb/test/lang/cpp/class_static/TestStaticVariables.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py diff --git a/lldb/test/lang/cpp/class_static/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/main.cpp similarity index 100% rename from lldb/test/lang/cpp/class_static/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/main.cpp diff --git a/lldb/test/lang/cpp/class_types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/Makefile similarity index 100% rename from lldb/test/lang/cpp/class_types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/Makefile diff --git a/lldb/test/lang/cpp/class_types/TestClassTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py similarity index 100% rename from lldb/test/lang/cpp/class_types/TestClassTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py diff --git a/lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py similarity index 100% rename from lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py diff --git a/lldb/test/lang/cpp/class_types/cmds.txt b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/cmds.txt similarity index 100% rename from lldb/test/lang/cpp/class_types/cmds.txt rename to lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/cmds.txt diff --git a/lldb/test/lang/cpp/class_types/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/main.cpp similarity index 100% rename from lldb/test/lang/cpp/class_types/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/main.cpp diff --git a/lldb/test/lang/cpp/diamond/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/diamond/Makefile similarity index 100% rename from lldb/test/lang/cpp/diamond/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/diamond/Makefile diff --git a/lldb/test/lang/cpp/diamond/TestDiamond.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/diamond/TestDiamond.py similarity index 100% rename from lldb/test/lang/cpp/diamond/TestDiamond.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/diamond/TestDiamond.py diff --git a/lldb/test/lang/cpp/diamond/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/diamond/main.cpp similarity index 100% rename from lldb/test/lang/cpp/diamond/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/diamond/main.cpp diff --git a/lldb/test/lang/cpp/dynamic-value/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/Makefile similarity index 100% rename from lldb/test/lang/cpp/dynamic-value/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/Makefile diff --git a/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py similarity index 100% rename from lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py diff --git a/lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py similarity index 100% rename from lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py diff --git a/lldb/test/lang/cpp/dynamic-value/pass-to-base.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/pass-to-base.cpp similarity index 100% rename from lldb/test/lang/cpp/dynamic-value/pass-to-base.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/pass-to-base.cpp diff --git a/lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/sbvalue-cast.cpp similarity index 100% rename from lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/sbvalue-cast.cpp diff --git a/lldb/test/lang/cpp/enum_types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile similarity index 100% rename from lldb/test/lang/cpp/enum_types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile diff --git a/lldb/test/lang/cpp/enum_types/TestCPP11EnumTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py similarity index 100% rename from lldb/test/lang/cpp/enum_types/TestCPP11EnumTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py diff --git a/lldb/test/lang/cpp/enum_types/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/main.cpp similarity index 100% rename from lldb/test/lang/cpp/enum_types/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/main.cpp diff --git a/lldb/test/lang/cpp/exceptions/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/Makefile similarity index 100% rename from lldb/test/lang/cpp/exceptions/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/Makefile diff --git a/lldb/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py similarity index 100% rename from lldb/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py diff --git a/lldb/test/lang/cpp/exceptions/exceptions.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/exceptions.cpp similarity index 100% rename from lldb/test/lang/cpp/exceptions/exceptions.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/exceptions.cpp diff --git a/lldb/test/lang/cpp/global_operators/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/global_operators/Makefile similarity index 100% rename from lldb/test/lang/cpp/global_operators/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/global_operators/Makefile diff --git a/lldb/test/lang/cpp/global_operators/TestCppGlobalOperators.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py similarity index 100% rename from lldb/test/lang/cpp/global_operators/TestCppGlobalOperators.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py diff --git a/lldb/test/lang/cpp/global_operators/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/global_operators/main.cpp similarity index 100% rename from lldb/test/lang/cpp/global_operators/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/global_operators/main.cpp diff --git a/lldb/test/lang/cpp/incomplete-types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile similarity index 100% rename from lldb/test/lang/cpp/incomplete-types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile diff --git a/lldb/test/lang/cpp/incomplete-types/TestCppIncompleteTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/TestCppIncompleteTypes.py similarity index 100% rename from lldb/test/lang/cpp/incomplete-types/TestCppIncompleteTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/TestCppIncompleteTypes.py diff --git a/lldb/test/lang/cpp/incomplete-types/a.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/a.cpp similarity index 100% rename from lldb/test/lang/cpp/incomplete-types/a.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/a.cpp diff --git a/lldb/test/lang/cpp/incomplete-types/a.h b/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/a.h similarity index 100% rename from lldb/test/lang/cpp/incomplete-types/a.h rename to lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/a.h diff --git a/lldb/test/lang/cpp/incomplete-types/length.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/length.cpp similarity index 100% rename from lldb/test/lang/cpp/incomplete-types/length.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/length.cpp diff --git a/lldb/test/lang/cpp/incomplete-types/length.h b/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/length.h similarity index 100% rename from lldb/test/lang/cpp/incomplete-types/length.h rename to lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/length.h diff --git a/lldb/test/lang/cpp/incomplete-types/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/main.cpp similarity index 100% rename from lldb/test/lang/cpp/incomplete-types/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/incomplete-types/main.cpp diff --git a/lldb/test/lang/cpp/limit-debug-info/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/Makefile similarity index 100% rename from lldb/test/lang/cpp/limit-debug-info/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/Makefile diff --git a/lldb/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py similarity index 100% rename from lldb/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py diff --git a/lldb/test/lang/cpp/limit-debug-info/base.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/base.cpp similarity index 100% rename from lldb/test/lang/cpp/limit-debug-info/base.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/base.cpp diff --git a/lldb/test/lang/cpp/limit-debug-info/base.h b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/base.h similarity index 100% rename from lldb/test/lang/cpp/limit-debug-info/base.h rename to lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/base.h diff --git a/lldb/test/lang/cpp/limit-debug-info/derived.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/derived.cpp similarity index 100% rename from lldb/test/lang/cpp/limit-debug-info/derived.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/derived.cpp diff --git a/lldb/test/lang/cpp/limit-debug-info/derived.h b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/derived.h similarity index 100% rename from lldb/test/lang/cpp/limit-debug-info/derived.h rename to lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/derived.h diff --git a/lldb/test/lang/cpp/limit-debug-info/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/main.cpp similarity index 100% rename from lldb/test/lang/cpp/limit-debug-info/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/main.cpp diff --git a/lldb/test/lang/cpp/namespace/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/Makefile similarity index 100% rename from lldb/test/lang/cpp/namespace/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/Makefile diff --git a/lldb/test/lang/cpp/namespace/TestNamespace.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py similarity index 100% rename from lldb/test/lang/cpp/namespace/TestNamespace.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py diff --git a/lldb/test/lang/cpp/namespace/cmds.txt b/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/cmds.txt similarity index 100% rename from lldb/test/lang/cpp/namespace/cmds.txt rename to lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/cmds.txt diff --git a/lldb/test/lang/cpp/namespace/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/main.cpp similarity index 100% rename from lldb/test/lang/cpp/namespace/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/main.cpp diff --git a/lldb/test/lang/cpp/nsimport/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/nsimport/Makefile similarity index 100% rename from lldb/test/lang/cpp/nsimport/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/nsimport/Makefile diff --git a/lldb/test/lang/cpp/nsimport/TestCppNsImport.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/nsimport/TestCppNsImport.py similarity index 100% rename from lldb/test/lang/cpp/nsimport/TestCppNsImport.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/nsimport/TestCppNsImport.py diff --git a/lldb/test/lang/cpp/nsimport/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/nsimport/main.cpp similarity index 100% rename from lldb/test/lang/cpp/nsimport/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/nsimport/main.cpp diff --git a/lldb/test/lang/cpp/overloaded-functions/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/Makefile similarity index 100% rename from lldb/test/lang/cpp/overloaded-functions/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/Makefile diff --git a/lldb/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py similarity index 100% rename from lldb/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py diff --git a/lldb/test/lang/cpp/overloaded-functions/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp similarity index 100% rename from lldb/test/lang/cpp/overloaded-functions/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp diff --git a/lldb/test/lang/cpp/overloaded-functions/static-a.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/static-a.cpp similarity index 100% rename from lldb/test/lang/cpp/overloaded-functions/static-a.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/static-a.cpp diff --git a/lldb/test/lang/cpp/overloaded-functions/static-b.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/static-b.cpp similarity index 100% rename from lldb/test/lang/cpp/overloaded-functions/static-b.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/static-b.cpp diff --git a/lldb/test/lang/cpp/rdar12991846/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/rdar12991846/Makefile similarity index 100% rename from lldb/test/lang/cpp/rdar12991846/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/rdar12991846/Makefile diff --git a/lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/rdar12991846/TestRdar12991846.py similarity index 100% rename from lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/rdar12991846/TestRdar12991846.py diff --git a/lldb/test/lang/cpp/rdar12991846/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/rdar12991846/main.cpp similarity index 100% rename from lldb/test/lang/cpp/rdar12991846/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/rdar12991846/main.cpp diff --git a/lldb/test/lang/cpp/rvalue-references/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/Makefile similarity index 100% rename from lldb/test/lang/cpp/rvalue-references/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/Makefile diff --git a/lldb/test/lang/cpp/rvalue-references/TestRvalueReferences.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/TestRvalueReferences.py similarity index 100% rename from lldb/test/lang/cpp/rvalue-references/TestRvalueReferences.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/TestRvalueReferences.py diff --git a/lldb/test/lang/cpp/rvalue-references/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/main.cpp similarity index 100% rename from lldb/test/lang/cpp/rvalue-references/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/main.cpp diff --git a/lldb/test/lang/cpp/scope/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/scope/Makefile similarity index 100% rename from lldb/test/lang/cpp/scope/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/scope/Makefile diff --git a/lldb/test/lang/cpp/scope/TestCppScope.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py similarity index 100% rename from lldb/test/lang/cpp/scope/TestCppScope.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py diff --git a/lldb/test/lang/cpp/scope/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp similarity index 100% rename from lldb/test/lang/cpp/scope/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp diff --git a/lldb/test/lang/cpp/signed_types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/signed_types/Makefile similarity index 100% rename from lldb/test/lang/cpp/signed_types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/signed_types/Makefile diff --git a/lldb/test/lang/cpp/signed_types/TestSignedTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py similarity index 100% rename from lldb/test/lang/cpp/signed_types/TestSignedTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py diff --git a/lldb/test/lang/cpp/signed_types/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/signed_types/main.cpp similarity index 100% rename from lldb/test/lang/cpp/signed_types/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/signed_types/main.cpp diff --git a/lldb/test/lang/cpp/static_members/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/static_members/Makefile similarity index 100% rename from lldb/test/lang/cpp/static_members/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/static_members/Makefile diff --git a/lldb/test/lang/cpp/static_members/TestCPPStaticMembers.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py similarity index 100% rename from lldb/test/lang/cpp/static_members/TestCPPStaticMembers.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py diff --git a/lldb/test/lang/cpp/static_members/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/static_members/main.cpp similarity index 100% rename from lldb/test/lang/cpp/static_members/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/static_members/main.cpp diff --git a/lldb/test/lang/cpp/static_methods/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/static_methods/Makefile similarity index 100% rename from lldb/test/lang/cpp/static_methods/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/static_methods/Makefile diff --git a/lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/static_methods/TestCPPStaticMethods.py similarity index 100% rename from lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/static_methods/TestCPPStaticMethods.py diff --git a/lldb/test/lang/cpp/static_methods/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/static_methods/main.cpp similarity index 100% rename from lldb/test/lang/cpp/static_methods/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/static_methods/main.cpp diff --git a/lldb/test/lang/cpp/stl/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile similarity index 100% rename from lldb/test/lang/cpp/stl/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile diff --git a/lldb/test/lang/cpp/stl/TestSTL.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py similarity index 100% rename from lldb/test/lang/cpp/stl/TestSTL.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py diff --git a/lldb/test/lang/cpp/stl/TestStdCXXDisassembly.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py similarity index 100% rename from lldb/test/lang/cpp/stl/TestStdCXXDisassembly.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py diff --git a/lldb/test/lang/cpp/stl/cmds.txt b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/cmds.txt similarity index 100% rename from lldb/test/lang/cpp/stl/cmds.txt rename to lldb/packages/Python/lldbsuite/test/lang/cpp/stl/cmds.txt diff --git a/lldb/test/lang/cpp/stl/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/main.cpp similarity index 100% rename from lldb/test/lang/cpp/stl/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/stl/main.cpp diff --git a/lldb/test/lang/cpp/this/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/this/Makefile similarity index 100% rename from lldb/test/lang/cpp/this/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/this/Makefile diff --git a/lldb/test/lang/cpp/this/TestCPPThis.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/this/TestCPPThis.py similarity index 100% rename from lldb/test/lang/cpp/this/TestCPPThis.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/this/TestCPPThis.py diff --git a/lldb/test/lang/cpp/this/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/this/main.cpp similarity index 100% rename from lldb/test/lang/cpp/this/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/this/main.cpp diff --git a/lldb/test/lang/cpp/unique-types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/Makefile similarity index 100% rename from lldb/test/lang/cpp/unique-types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/Makefile diff --git a/lldb/test/lang/cpp/unique-types/TestUniqueTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py similarity index 100% rename from lldb/test/lang/cpp/unique-types/TestUniqueTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py diff --git a/lldb/test/lang/cpp/unique-types/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/main.cpp similarity index 100% rename from lldb/test/lang/cpp/unique-types/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/main.cpp diff --git a/lldb/test/lang/cpp/unsigned_types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/Makefile similarity index 100% rename from lldb/test/lang/cpp/unsigned_types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/Makefile diff --git a/lldb/test/lang/cpp/unsigned_types/TestUnsignedTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py similarity index 100% rename from lldb/test/lang/cpp/unsigned_types/TestUnsignedTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py diff --git a/lldb/test/lang/cpp/unsigned_types/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/main.cpp similarity index 100% rename from lldb/test/lang/cpp/unsigned_types/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/main.cpp diff --git a/lldb/test/lang/cpp/virtual/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/virtual/Makefile similarity index 100% rename from lldb/test/lang/cpp/virtual/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/virtual/Makefile diff --git a/lldb/test/lang/cpp/virtual/TestVirtual.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/virtual/TestVirtual.py similarity index 100% rename from lldb/test/lang/cpp/virtual/TestVirtual.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/virtual/TestVirtual.py diff --git a/lldb/test/lang/cpp/virtual/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp similarity index 100% rename from lldb/test/lang/cpp/virtual/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp diff --git a/lldb/test/lang/cpp/wchar_t/.categories b/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/.categories similarity index 100% rename from lldb/test/lang/cpp/wchar_t/.categories rename to lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/.categories diff --git a/lldb/test/lang/cpp/wchar_t/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile similarity index 100% rename from lldb/test/lang/cpp/wchar_t/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile diff --git a/lldb/test/lang/cpp/wchar_t/TestCxxWCharT.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py similarity index 100% rename from lldb/test/lang/cpp/wchar_t/TestCxxWCharT.py rename to lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py diff --git a/lldb/test/lang/cpp/wchar_t/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/main.cpp similarity index 100% rename from lldb/test/lang/cpp/wchar_t/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/main.cpp diff --git a/lldb/test/lang/go/goroutines/TestGoroutines.py b/lldb/packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py similarity index 100% rename from lldb/test/lang/go/goroutines/TestGoroutines.py rename to lldb/packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py diff --git a/lldb/test/lang/go/goroutines/main.go b/lldb/packages/Python/lldbsuite/test/lang/go/goroutines/main.go similarity index 100% rename from lldb/test/lang/go/goroutines/main.go rename to lldb/packages/Python/lldbsuite/test/lang/go/goroutines/main.go diff --git a/lldb/test/lang/go/runtime/TestGoLanguageRuntime b/lldb/packages/Python/lldbsuite/test/lang/go/runtime/TestGoLanguageRuntime similarity index 100% rename from lldb/test/lang/go/runtime/TestGoLanguageRuntime rename to lldb/packages/Python/lldbsuite/test/lang/go/runtime/TestGoLanguageRuntime diff --git a/lldb/test/lang/go/runtime/main.go b/lldb/packages/Python/lldbsuite/test/lang/go/runtime/main.go similarity index 100% rename from lldb/test/lang/go/runtime/main.go rename to lldb/packages/Python/lldbsuite/test/lang/go/runtime/main.go diff --git a/lldb/test/lang/go/types/TestGoASTContext.py b/lldb/packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py similarity index 100% rename from lldb/test/lang/go/types/TestGoASTContext.py rename to lldb/packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py diff --git a/lldb/test/lang/go/types/main.go b/lldb/packages/Python/lldbsuite/test/lang/go/types/main.go similarity index 100% rename from lldb/test/lang/go/types/main.go rename to lldb/packages/Python/lldbsuite/test/lang/go/types/main.go diff --git a/lldb/test/lang/mixed/Makefile b/lldb/packages/Python/lldbsuite/test/lang/mixed/Makefile similarity index 100% rename from lldb/test/lang/mixed/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/mixed/Makefile diff --git a/lldb/test/lang/mixed/TestMixedLanguages.py b/lldb/packages/Python/lldbsuite/test/lang/mixed/TestMixedLanguages.py similarity index 100% rename from lldb/test/lang/mixed/TestMixedLanguages.py rename to lldb/packages/Python/lldbsuite/test/lang/mixed/TestMixedLanguages.py diff --git a/lldb/test/lang/mixed/foo.cpp b/lldb/packages/Python/lldbsuite/test/lang/mixed/foo.cpp similarity index 100% rename from lldb/test/lang/mixed/foo.cpp rename to lldb/packages/Python/lldbsuite/test/lang/mixed/foo.cpp diff --git a/lldb/test/lang/mixed/main.c b/lldb/packages/Python/lldbsuite/test/lang/mixed/main.c similarity index 100% rename from lldb/test/lang/mixed/main.c rename to lldb/packages/Python/lldbsuite/test/lang/mixed/main.c diff --git a/lldb/test/lang/objc/.categories b/lldb/packages/Python/lldbsuite/test/lang/objc/.categories similarity index 100% rename from lldb/test/lang/objc/.categories rename to lldb/packages/Python/lldbsuite/test/lang/objc/.categories diff --git a/lldb/test/lang/objc/blocks/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/blocks/Makefile similarity index 100% rename from lldb/test/lang/objc/blocks/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/blocks/Makefile diff --git a/lldb/test/lang/objc/blocks/TestObjCIvarsInBlocks.py b/lldb/packages/Python/lldbsuite/test/lang/objc/blocks/TestObjCIvarsInBlocks.py similarity index 100% rename from lldb/test/lang/objc/blocks/TestObjCIvarsInBlocks.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/blocks/TestObjCIvarsInBlocks.py diff --git a/lldb/test/lang/objc/blocks/ivars-in-blocks.h b/lldb/packages/Python/lldbsuite/test/lang/objc/blocks/ivars-in-blocks.h similarity index 100% rename from lldb/test/lang/objc/blocks/ivars-in-blocks.h rename to lldb/packages/Python/lldbsuite/test/lang/objc/blocks/ivars-in-blocks.h diff --git a/lldb/test/lang/objc/blocks/ivars-in-blocks.m b/lldb/packages/Python/lldbsuite/test/lang/objc/blocks/ivars-in-blocks.m similarity index 100% rename from lldb/test/lang/objc/blocks/ivars-in-blocks.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/blocks/ivars-in-blocks.m diff --git a/lldb/test/lang/objc/blocks/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/blocks/main.m similarity index 100% rename from lldb/test/lang/objc/blocks/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/blocks/main.m diff --git a/lldb/test/lang/objc/forward-decl/Container.h b/lldb/packages/Python/lldbsuite/test/lang/objc/forward-decl/Container.h similarity index 100% rename from lldb/test/lang/objc/forward-decl/Container.h rename to lldb/packages/Python/lldbsuite/test/lang/objc/forward-decl/Container.h diff --git a/lldb/test/lang/objc/forward-decl/Container.m b/lldb/packages/Python/lldbsuite/test/lang/objc/forward-decl/Container.m similarity index 100% rename from lldb/test/lang/objc/forward-decl/Container.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/forward-decl/Container.m diff --git a/lldb/test/lang/objc/forward-decl/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/forward-decl/Makefile similarity index 100% rename from lldb/test/lang/objc/forward-decl/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/forward-decl/Makefile diff --git a/lldb/test/lang/objc/forward-decl/TestForwardDecl.py b/lldb/packages/Python/lldbsuite/test/lang/objc/forward-decl/TestForwardDecl.py similarity index 100% rename from lldb/test/lang/objc/forward-decl/TestForwardDecl.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/forward-decl/TestForwardDecl.py diff --git a/lldb/test/lang/objc/forward-decl/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/forward-decl/main.m similarity index 100% rename from lldb/test/lang/objc/forward-decl/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/forward-decl/main.m diff --git a/lldb/test/lang/objc/foundation/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/Makefile similarity index 100% rename from lldb/test/lang/objc/foundation/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/Makefile diff --git a/lldb/test/lang/objc/foundation/TestConstStrings.py b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestConstStrings.py similarity index 100% rename from lldb/test/lang/objc/foundation/TestConstStrings.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestConstStrings.py diff --git a/lldb/test/lang/objc/foundation/TestFoundationDisassembly.py b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py similarity index 100% rename from lldb/test/lang/objc/foundation/TestFoundationDisassembly.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py diff --git a/lldb/test/lang/objc/foundation/TestObjCMethods.py b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods.py similarity index 100% rename from lldb/test/lang/objc/foundation/TestObjCMethods.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods.py diff --git a/lldb/test/lang/objc/foundation/TestObjCMethods2.py b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py similarity index 100% rename from lldb/test/lang/objc/foundation/TestObjCMethods2.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py diff --git a/lldb/test/lang/objc/foundation/TestObjectDescriptionAPI.py b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjectDescriptionAPI.py similarity index 100% rename from lldb/test/lang/objc/foundation/TestObjectDescriptionAPI.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjectDescriptionAPI.py diff --git a/lldb/test/lang/objc/foundation/TestRuntimeTypes.py b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestRuntimeTypes.py similarity index 100% rename from lldb/test/lang/objc/foundation/TestRuntimeTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestRuntimeTypes.py diff --git a/lldb/test/lang/objc/foundation/TestSymbolTable.py b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestSymbolTable.py similarity index 100% rename from lldb/test/lang/objc/foundation/TestSymbolTable.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestSymbolTable.py diff --git a/lldb/test/lang/objc/foundation/const-strings.m b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/const-strings.m similarity index 100% rename from lldb/test/lang/objc/foundation/const-strings.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/const-strings.m diff --git a/lldb/test/lang/objc/foundation/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/main.m similarity index 100% rename from lldb/test/lang/objc/foundation/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/main.m diff --git a/lldb/test/lang/objc/foundation/my-base.h b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/my-base.h similarity index 100% rename from lldb/test/lang/objc/foundation/my-base.h rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/my-base.h diff --git a/lldb/test/lang/objc/foundation/my-base.m b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/my-base.m similarity index 100% rename from lldb/test/lang/objc/foundation/my-base.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/foundation/my-base.m diff --git a/lldb/test/lang/objc/hidden-ivars/InternalDefiner.h b/lldb/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/InternalDefiner.h similarity index 100% rename from lldb/test/lang/objc/hidden-ivars/InternalDefiner.h rename to lldb/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/InternalDefiner.h diff --git a/lldb/test/lang/objc/hidden-ivars/InternalDefiner.m b/lldb/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/InternalDefiner.m similarity index 100% rename from lldb/test/lang/objc/hidden-ivars/InternalDefiner.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/InternalDefiner.m diff --git a/lldb/test/lang/objc/hidden-ivars/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/Makefile similarity index 100% rename from lldb/test/lang/objc/hidden-ivars/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/Makefile diff --git a/lldb/test/lang/objc/hidden-ivars/TestHiddenIvars.py b/lldb/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/TestHiddenIvars.py similarity index 100% rename from lldb/test/lang/objc/hidden-ivars/TestHiddenIvars.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/TestHiddenIvars.py diff --git a/lldb/test/lang/objc/hidden-ivars/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/main.m similarity index 100% rename from lldb/test/lang/objc/hidden-ivars/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/main.m diff --git a/lldb/test/lang/objc/ivar-IMP/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/Makefile similarity index 100% rename from lldb/test/lang/objc/ivar-IMP/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/Makefile diff --git a/lldb/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py b/lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py similarity index 100% rename from lldb/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py diff --git a/lldb/test/lang/objc/ivar-IMP/myclass.h b/lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/myclass.h similarity index 100% rename from lldb/test/lang/objc/ivar-IMP/myclass.h rename to lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/myclass.h diff --git a/lldb/test/lang/objc/ivar-IMP/myclass.m b/lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/myclass.m similarity index 100% rename from lldb/test/lang/objc/ivar-IMP/myclass.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/myclass.m diff --git a/lldb/test/lang/objc/ivar-IMP/repro.m b/lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/repro.m similarity index 100% rename from lldb/test/lang/objc/ivar-IMP/repro.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/repro.m diff --git a/lldb/test/lang/objc/modules-auto-import/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/Makefile similarity index 100% rename from lldb/test/lang/objc/modules-auto-import/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/Makefile diff --git a/lldb/test/lang/objc/modules-auto-import/TestModulesAutoImport.py b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py similarity index 100% rename from lldb/test/lang/objc/modules-auto-import/TestModulesAutoImport.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py diff --git a/lldb/test/lang/objc/modules-auto-import/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/main.m similarity index 100% rename from lldb/test/lang/objc/modules-auto-import/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/main.m diff --git a/lldb/test/lang/objc/modules-incomplete/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/Makefile similarity index 100% rename from lldb/test/lang/objc/modules-incomplete/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/Makefile diff --git a/lldb/test/lang/objc/modules-incomplete/TestIncompleteModules.py b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py similarity index 100% rename from lldb/test/lang/objc/modules-incomplete/TestIncompleteModules.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py diff --git a/lldb/test/lang/objc/modules-incomplete/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/main.m similarity index 100% rename from lldb/test/lang/objc/modules-incomplete/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/main.m diff --git a/lldb/test/lang/objc/modules-incomplete/module.map b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/module.map similarity index 100% rename from lldb/test/lang/objc/modules-incomplete/module.map rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/module.map diff --git a/lldb/test/lang/objc/modules-incomplete/myModule.h b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/myModule.h similarity index 100% rename from lldb/test/lang/objc/modules-incomplete/myModule.h rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/myModule.h diff --git a/lldb/test/lang/objc/modules-incomplete/myModule.m b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/myModule.m similarity index 100% rename from lldb/test/lang/objc/modules-incomplete/myModule.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/myModule.m diff --git a/lldb/test/lang/objc/modules-inline-functions/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/Makefile similarity index 100% rename from lldb/test/lang/objc/modules-inline-functions/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/Makefile diff --git a/lldb/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py similarity index 100% rename from lldb/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py diff --git a/lldb/test/lang/objc/modules-inline-functions/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/main.m similarity index 100% rename from lldb/test/lang/objc/modules-inline-functions/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/main.m diff --git a/lldb/test/lang/objc/modules-inline-functions/module.map b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/module.map similarity index 100% rename from lldb/test/lang/objc/modules-inline-functions/module.map rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/module.map diff --git a/lldb/test/lang/objc/modules-inline-functions/myModule.c b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/myModule.c similarity index 100% rename from lldb/test/lang/objc/modules-inline-functions/myModule.c rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/myModule.c diff --git a/lldb/test/lang/objc/modules-inline-functions/myModule.h b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/myModule.h similarity index 100% rename from lldb/test/lang/objc/modules-inline-functions/myModule.h rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/myModule.h diff --git a/lldb/test/lang/objc/modules/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/modules/Makefile similarity index 100% rename from lldb/test/lang/objc/modules/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules/Makefile diff --git a/lldb/test/lang/objc/modules/TestObjCModules.py b/lldb/packages/Python/lldbsuite/test/lang/objc/modules/TestObjCModules.py similarity index 100% rename from lldb/test/lang/objc/modules/TestObjCModules.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules/TestObjCModules.py diff --git a/lldb/test/lang/objc/modules/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/modules/main.m similarity index 100% rename from lldb/test/lang/objc/modules/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/modules/main.m diff --git a/lldb/test/lang/objc/objc++/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc++/Makefile similarity index 100% rename from lldb/test/lang/objc/objc++/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc++/Makefile diff --git a/lldb/test/lang/objc/objc++/TestObjCXX.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc++/TestObjCXX.py similarity index 100% rename from lldb/test/lang/objc/objc++/TestObjCXX.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc++/TestObjCXX.py diff --git a/lldb/test/lang/objc/objc++/main.mm b/lldb/packages/Python/lldbsuite/test/lang/objc/objc++/main.mm similarity index 100% rename from lldb/test/lang/objc/objc++/main.mm rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc++/main.mm diff --git a/lldb/test/lang/objc/objc-baseclass-sbtype/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-baseclass-sbtype/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/Makefile diff --git a/lldb/test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py similarity index 100% rename from lldb/test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py diff --git a/lldb/test/lang/objc/objc-baseclass-sbtype/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/main.m similarity index 100% rename from lldb/test/lang/objc/objc-baseclass-sbtype/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/main.m diff --git a/lldb/test/lang/objc/objc-builtin-types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-builtin-types/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/Makefile diff --git a/lldb/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py similarity index 100% rename from lldb/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py diff --git a/lldb/test/lang/objc/objc-builtin-types/main.cpp b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/main.cpp similarity index 100% rename from lldb/test/lang/objc/objc-builtin-types/main.cpp rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/main.cpp diff --git a/lldb/test/lang/objc/objc-checker/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-checker/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-checker/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-checker/Makefile diff --git a/lldb/test/lang/objc/objc-checker/TestObjCCheckers.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py similarity index 100% rename from lldb/test/lang/objc/objc-checker/TestObjCCheckers.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py diff --git a/lldb/test/lang/objc/objc-checker/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-checker/main.m similarity index 100% rename from lldb/test/lang/objc/objc-checker/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-checker/main.m diff --git a/lldb/test/lang/objc/objc-class-method/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-class-method/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-class-method/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-class-method/Makefile diff --git a/lldb/test/lang/objc/objc-class-method/TestObjCClassMethod.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-class-method/TestObjCClassMethod.py similarity index 100% rename from lldb/test/lang/objc/objc-class-method/TestObjCClassMethod.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-class-method/TestObjCClassMethod.py diff --git a/lldb/test/lang/objc/objc-class-method/class.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-class-method/class.m similarity index 100% rename from lldb/test/lang/objc/objc-class-method/class.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-class-method/class.m diff --git a/lldb/test/lang/objc/objc-dyn-sbtype/.categories b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/.categories similarity index 100% rename from lldb/test/lang/objc/objc-dyn-sbtype/.categories rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/.categories diff --git a/lldb/test/lang/objc/objc-dyn-sbtype/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-dyn-sbtype/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/Makefile diff --git a/lldb/test/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py similarity index 100% rename from lldb/test/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py diff --git a/lldb/test/lang/objc/objc-dyn-sbtype/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/main.m similarity index 100% rename from lldb/test/lang/objc/objc-dyn-sbtype/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/main.m diff --git a/lldb/test/lang/objc/objc-dynamic-value/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-dynamic-value/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/Makefile diff --git a/lldb/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py similarity index 100% rename from lldb/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py diff --git a/lldb/test/lang/objc/objc-dynamic-value/dynamic-value.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/dynamic-value.m similarity index 100% rename from lldb/test/lang/objc/objc-dynamic-value/dynamic-value.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/dynamic-value.m diff --git a/lldb/test/lang/objc/objc-ivar-offsets/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-ivar-offsets/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/Makefile diff --git a/lldb/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py similarity index 100% rename from lldb/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py diff --git a/lldb/test/lang/objc/objc-ivar-offsets/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/main.m similarity index 100% rename from lldb/test/lang/objc/objc-ivar-offsets/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/main.m diff --git a/lldb/test/lang/objc/objc-ivar-offsets/objc-ivar-offsets.h b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/objc-ivar-offsets.h similarity index 100% rename from lldb/test/lang/objc/objc-ivar-offsets/objc-ivar-offsets.h rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/objc-ivar-offsets.h diff --git a/lldb/test/lang/objc/objc-ivar-offsets/objc-ivar-offsets.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/objc-ivar-offsets.m similarity index 100% rename from lldb/test/lang/objc/objc-ivar-offsets/objc-ivar-offsets.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/objc-ivar-offsets.m diff --git a/lldb/test/lang/objc/objc-ivar-protocols/TestIvarProtocols.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-protocols/TestIvarProtocols.py similarity index 100% rename from lldb/test/lang/objc/objc-ivar-protocols/TestIvarProtocols.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-protocols/TestIvarProtocols.py diff --git a/lldb/test/lang/objc/objc-ivar-protocols/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-protocols/main.m similarity index 100% rename from lldb/test/lang/objc/objc-ivar-protocols/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-protocols/main.m diff --git a/lldb/test/lang/objc/objc-ivar-stripped/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-ivar-stripped/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile diff --git a/lldb/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py similarity index 100% rename from lldb/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py diff --git a/lldb/test/lang/objc/objc-ivar-stripped/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/main.m similarity index 100% rename from lldb/test/lang/objc/objc-ivar-stripped/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/main.m diff --git a/lldb/test/lang/objc/objc-new-syntax/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-new-syntax/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/Makefile diff --git a/lldb/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py similarity index 100% rename from lldb/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py diff --git a/lldb/test/lang/objc/objc-new-syntax/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/main.m similarity index 100% rename from lldb/test/lang/objc/objc-new-syntax/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/main.m diff --git a/lldb/test/lang/objc/objc-optimized/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-optimized/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-optimized/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-optimized/Makefile diff --git a/lldb/test/lang/objc/objc-optimized/TestObjcOptimized.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-optimized/TestObjcOptimized.py similarity index 100% rename from lldb/test/lang/objc/objc-optimized/TestObjcOptimized.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-optimized/TestObjcOptimized.py diff --git a/lldb/test/lang/objc/objc-optimized/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-optimized/main.m similarity index 100% rename from lldb/test/lang/objc/objc-optimized/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-optimized/main.m diff --git a/lldb/test/lang/objc/objc-property/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-property/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-property/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-property/Makefile diff --git a/lldb/test/lang/objc/objc-property/TestObjCProperty.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-property/TestObjCProperty.py similarity index 100% rename from lldb/test/lang/objc/objc-property/TestObjCProperty.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-property/TestObjCProperty.py diff --git a/lldb/test/lang/objc/objc-property/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-property/main.m similarity index 100% rename from lldb/test/lang/objc/objc-property/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-property/main.m diff --git a/lldb/test/lang/objc/objc-runtime-ivars/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-runtime-ivars/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/Makefile diff --git a/lldb/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py similarity index 100% rename from lldb/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py diff --git a/lldb/test/lang/objc/objc-runtime-ivars/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/main.m similarity index 100% rename from lldb/test/lang/objc/objc-runtime-ivars/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/main.m diff --git a/lldb/test/lang/objc/objc-static-method-stripped/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-static-method-stripped/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile diff --git a/lldb/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py similarity index 100% rename from lldb/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py diff --git a/lldb/test/lang/objc/objc-static-method-stripped/static.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/static.m similarity index 100% rename from lldb/test/lang/objc/objc-static-method-stripped/static.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/static.m diff --git a/lldb/test/lang/objc/objc-static-method/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-static-method/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method/Makefile diff --git a/lldb/test/lang/objc/objc-static-method/TestObjCStaticMethod.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method/TestObjCStaticMethod.py similarity index 100% rename from lldb/test/lang/objc/objc-static-method/TestObjCStaticMethod.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method/TestObjCStaticMethod.py diff --git a/lldb/test/lang/objc/objc-static-method/static.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method/static.m similarity index 100% rename from lldb/test/lang/objc/objc-static-method/static.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method/static.m diff --git a/lldb/test/lang/objc/objc-stepping/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-stepping/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-stepping/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-stepping/Makefile diff --git a/lldb/test/lang/objc/objc-stepping/TestObjCStepping.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-stepping/TestObjCStepping.py similarity index 100% rename from lldb/test/lang/objc/objc-stepping/TestObjCStepping.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-stepping/TestObjCStepping.py diff --git a/lldb/test/lang/objc/objc-stepping/stepping-tests.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-stepping/stepping-tests.m similarity index 100% rename from lldb/test/lang/objc/objc-stepping/stepping-tests.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-stepping/stepping-tests.m diff --git a/lldb/test/lang/objc/objc-struct-argument/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-struct-argument/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/Makefile diff --git a/lldb/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py similarity index 100% rename from lldb/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py diff --git a/lldb/test/lang/objc/objc-struct-argument/test.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/test.m similarity index 100% rename from lldb/test/lang/objc/objc-struct-argument/test.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/test.m diff --git a/lldb/test/lang/objc/objc-struct-return/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-struct-return/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/Makefile diff --git a/lldb/test/lang/objc/objc-struct-return/TestObjCStructReturn.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/TestObjCStructReturn.py similarity index 100% rename from lldb/test/lang/objc/objc-struct-return/TestObjCStructReturn.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/TestObjCStructReturn.py diff --git a/lldb/test/lang/objc/objc-struct-return/test.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/test.m similarity index 100% rename from lldb/test/lang/objc/objc-struct-return/test.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/test.m diff --git a/lldb/test/lang/objc/objc-super/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-super/Makefile similarity index 100% rename from lldb/test/lang/objc/objc-super/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-super/Makefile diff --git a/lldb/test/lang/objc/objc-super/TestObjCSuper.py b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-super/TestObjCSuper.py similarity index 100% rename from lldb/test/lang/objc/objc-super/TestObjCSuper.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-super/TestObjCSuper.py diff --git a/lldb/test/lang/objc/objc-super/class.m b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-super/class.m similarity index 100% rename from lldb/test/lang/objc/objc-super/class.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/objc-super/class.m diff --git a/lldb/test/lang/objc/print-obj/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/print-obj/Makefile similarity index 100% rename from lldb/test/lang/objc/print-obj/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/print-obj/Makefile diff --git a/lldb/test/lang/objc/print-obj/TestPrintObj.py b/lldb/packages/Python/lldbsuite/test/lang/objc/print-obj/TestPrintObj.py similarity index 100% rename from lldb/test/lang/objc/print-obj/TestPrintObj.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/print-obj/TestPrintObj.py diff --git a/lldb/test/lang/objc/print-obj/blocked.m b/lldb/packages/Python/lldbsuite/test/lang/objc/print-obj/blocked.m similarity index 100% rename from lldb/test/lang/objc/print-obj/blocked.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/print-obj/blocked.m diff --git a/lldb/test/lang/objc/radar-9691614/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/radar-9691614/Makefile similarity index 100% rename from lldb/test/lang/objc/radar-9691614/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/radar-9691614/Makefile diff --git a/lldb/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py b/lldb/packages/Python/lldbsuite/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py similarity index 100% rename from lldb/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py diff --git a/lldb/test/lang/objc/radar-9691614/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/radar-9691614/main.m similarity index 100% rename from lldb/test/lang/objc/radar-9691614/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/radar-9691614/main.m diff --git a/lldb/test/lang/objc/rdar-10967107/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/rdar-10967107/Makefile similarity index 100% rename from lldb/test/lang/objc/rdar-10967107/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/rdar-10967107/Makefile diff --git a/lldb/test/lang/objc/rdar-10967107/TestRdar10967107.py b/lldb/packages/Python/lldbsuite/test/lang/objc/rdar-10967107/TestRdar10967107.py similarity index 100% rename from lldb/test/lang/objc/rdar-10967107/TestRdar10967107.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/rdar-10967107/TestRdar10967107.py diff --git a/lldb/test/lang/objc/rdar-10967107/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/rdar-10967107/main.m similarity index 100% rename from lldb/test/lang/objc/rdar-10967107/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/rdar-10967107/main.m diff --git a/lldb/test/lang/objc/rdar-11355592/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/rdar-11355592/Makefile similarity index 100% rename from lldb/test/lang/objc/rdar-11355592/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/rdar-11355592/Makefile diff --git a/lldb/test/lang/objc/rdar-11355592/TestRdar11355592.py b/lldb/packages/Python/lldbsuite/test/lang/objc/rdar-11355592/TestRdar11355592.py similarity index 100% rename from lldb/test/lang/objc/rdar-11355592/TestRdar11355592.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/rdar-11355592/TestRdar11355592.py diff --git a/lldb/test/lang/objc/rdar-11355592/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/rdar-11355592/main.m similarity index 100% rename from lldb/test/lang/objc/rdar-11355592/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/rdar-11355592/main.m diff --git a/lldb/test/lang/objc/rdar-12408181/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/rdar-12408181/Makefile similarity index 100% rename from lldb/test/lang/objc/rdar-12408181/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/rdar-12408181/Makefile diff --git a/lldb/test/lang/objc/rdar-12408181/TestRdar12408181.py b/lldb/packages/Python/lldbsuite/test/lang/objc/rdar-12408181/TestRdar12408181.py similarity index 100% rename from lldb/test/lang/objc/rdar-12408181/TestRdar12408181.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/rdar-12408181/TestRdar12408181.py diff --git a/lldb/test/lang/objc/rdar-12408181/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/rdar-12408181/main.m similarity index 100% rename from lldb/test/lang/objc/rdar-12408181/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/rdar-12408181/main.m diff --git a/lldb/test/lang/objc/real-definition/Bar.h b/lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/Bar.h similarity index 100% rename from lldb/test/lang/objc/real-definition/Bar.h rename to lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/Bar.h diff --git a/lldb/test/lang/objc/real-definition/Bar.m b/lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/Bar.m similarity index 100% rename from lldb/test/lang/objc/real-definition/Bar.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/Bar.m diff --git a/lldb/test/lang/objc/real-definition/Foo.h b/lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/Foo.h similarity index 100% rename from lldb/test/lang/objc/real-definition/Foo.h rename to lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/Foo.h diff --git a/lldb/test/lang/objc/real-definition/Foo.m b/lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/Foo.m similarity index 100% rename from lldb/test/lang/objc/real-definition/Foo.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/Foo.m diff --git a/lldb/test/lang/objc/real-definition/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/Makefile similarity index 100% rename from lldb/test/lang/objc/real-definition/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/Makefile diff --git a/lldb/test/lang/objc/real-definition/TestRealDefinition.py b/lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/TestRealDefinition.py similarity index 100% rename from lldb/test/lang/objc/real-definition/TestRealDefinition.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/TestRealDefinition.py diff --git a/lldb/test/lang/objc/real-definition/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/main.m similarity index 100% rename from lldb/test/lang/objc/real-definition/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/real-definition/main.m diff --git a/lldb/test/lang/objc/sample/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/sample/Makefile similarity index 100% rename from lldb/test/lang/objc/sample/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/sample/Makefile diff --git a/lldb/test/lang/objc/sample/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/sample/main.m similarity index 100% rename from lldb/test/lang/objc/sample/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/sample/main.m diff --git a/lldb/test/lang/objc/self/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/self/Makefile similarity index 100% rename from lldb/test/lang/objc/self/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objc/self/Makefile diff --git a/lldb/test/lang/objc/self/TestObjCSelf.py b/lldb/packages/Python/lldbsuite/test/lang/objc/self/TestObjCSelf.py similarity index 100% rename from lldb/test/lang/objc/self/TestObjCSelf.py rename to lldb/packages/Python/lldbsuite/test/lang/objc/self/TestObjCSelf.py diff --git a/lldb/test/lang/objc/self/main.m b/lldb/packages/Python/lldbsuite/test/lang/objc/self/main.m similarity index 100% rename from lldb/test/lang/objc/self/main.m rename to lldb/packages/Python/lldbsuite/test/lang/objc/self/main.m diff --git a/lldb/test/lang/objcxx/objcxx-ivar-vector/TestIvarVector.py b/lldb/packages/Python/lldbsuite/test/lang/objcxx/objcxx-ivar-vector/TestIvarVector.py similarity index 100% rename from lldb/test/lang/objcxx/objcxx-ivar-vector/TestIvarVector.py rename to lldb/packages/Python/lldbsuite/test/lang/objcxx/objcxx-ivar-vector/TestIvarVector.py diff --git a/lldb/test/lang/objcxx/objcxx-ivar-vector/main.mm b/lldb/packages/Python/lldbsuite/test/lang/objcxx/objcxx-ivar-vector/main.mm similarity index 100% rename from lldb/test/lang/objcxx/objcxx-ivar-vector/main.mm rename to lldb/packages/Python/lldbsuite/test/lang/objcxx/objcxx-ivar-vector/main.mm diff --git a/lldb/test/lang/objcxx/sample/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objcxx/sample/Makefile similarity index 100% rename from lldb/test/lang/objcxx/sample/Makefile rename to lldb/packages/Python/lldbsuite/test/lang/objcxx/sample/Makefile diff --git a/lldb/test/lang/objcxx/sample/main.mm b/lldb/packages/Python/lldbsuite/test/lang/objcxx/sample/main.mm similarity index 100% rename from lldb/test/lang/objcxx/sample/main.mm rename to lldb/packages/Python/lldbsuite/test/lang/objcxx/sample/main.mm diff --git a/lldb/test/linux/builtin_trap/Makefile b/lldb/packages/Python/lldbsuite/test/linux/builtin_trap/Makefile similarity index 100% rename from lldb/test/linux/builtin_trap/Makefile rename to lldb/packages/Python/lldbsuite/test/linux/builtin_trap/Makefile diff --git a/lldb/test/linux/builtin_trap/TestBuiltinTrap.py b/lldb/packages/Python/lldbsuite/test/linux/builtin_trap/TestBuiltinTrap.py similarity index 100% rename from lldb/test/linux/builtin_trap/TestBuiltinTrap.py rename to lldb/packages/Python/lldbsuite/test/linux/builtin_trap/TestBuiltinTrap.py diff --git a/lldb/test/linux/builtin_trap/main.cpp b/lldb/packages/Python/lldbsuite/test/linux/builtin_trap/main.cpp similarity index 100% rename from lldb/test/linux/builtin_trap/main.cpp rename to lldb/packages/Python/lldbsuite/test/linux/builtin_trap/main.cpp diff --git a/lldb/test/linux/thread/create_during_instruction_step/Makefile b/lldb/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/Makefile similarity index 100% rename from lldb/test/linux/thread/create_during_instruction_step/Makefile rename to lldb/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/Makefile diff --git a/lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py b/lldb/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py similarity index 100% rename from lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py rename to lldb/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py diff --git a/lldb/test/linux/thread/create_during_instruction_step/main.cpp b/lldb/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/main.cpp similarity index 100% rename from lldb/test/linux/thread/create_during_instruction_step/main.cpp rename to lldb/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/main.cpp diff --git a/lldb/test/lldb_pylint_helper.py b/lldb/packages/Python/lldbsuite/test/lldb_pylint_helper.py similarity index 100% rename from lldb/test/lldb_pylint_helper.py rename to lldb/packages/Python/lldbsuite/test/lldb_pylint_helper.py diff --git a/lldb/test/lldbbench.py b/lldb/packages/Python/lldbsuite/test/lldbbench.py similarity index 100% rename from lldb/test/lldbbench.py rename to lldb/packages/Python/lldbsuite/test/lldbbench.py diff --git a/lldb/test/lldbcurses.py b/lldb/packages/Python/lldbsuite/test/lldbcurses.py similarity index 100% rename from lldb/test/lldbcurses.py rename to lldb/packages/Python/lldbsuite/test/lldbcurses.py diff --git a/lldb/test/lldbinline.py b/lldb/packages/Python/lldbsuite/test/lldbinline.py similarity index 100% rename from lldb/test/lldbinline.py rename to lldb/packages/Python/lldbsuite/test/lldbinline.py diff --git a/lldb/test/lldbpexpect.py b/lldb/packages/Python/lldbsuite/test/lldbpexpect.py similarity index 100% rename from lldb/test/lldbpexpect.py rename to lldb/packages/Python/lldbsuite/test/lldbpexpect.py diff --git a/lldb/test/lldbplatformutil.py b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py similarity index 100% rename from lldb/test/lldbplatformutil.py rename to lldb/packages/Python/lldbsuite/test/lldbplatformutil.py diff --git a/lldb/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py similarity index 100% rename from lldb/test/lldbtest.py rename to lldb/packages/Python/lldbsuite/test/lldbtest.py diff --git a/lldb/test/lldbtest_config.py b/lldb/packages/Python/lldbsuite/test/lldbtest_config.py similarity index 100% rename from lldb/test/lldbtest_config.py rename to lldb/packages/Python/lldbsuite/test/lldbtest_config.py diff --git a/lldb/test/lldbutil.py b/lldb/packages/Python/lldbsuite/test/lldbutil.py similarity index 100% rename from lldb/test/lldbutil.py rename to lldb/packages/Python/lldbsuite/test/lldbutil.py diff --git a/lldb/test/lock.py b/lldb/packages/Python/lldbsuite/test/lock.py similarity index 100% rename from lldb/test/lock.py rename to lldb/packages/Python/lldbsuite/test/lock.py diff --git a/lldb/test/logging/Makefile b/lldb/packages/Python/lldbsuite/test/logging/Makefile similarity index 100% rename from lldb/test/logging/Makefile rename to lldb/packages/Python/lldbsuite/test/logging/Makefile diff --git a/lldb/test/logging/TestLogging.py b/lldb/packages/Python/lldbsuite/test/logging/TestLogging.py similarity index 100% rename from lldb/test/logging/TestLogging.py rename to lldb/packages/Python/lldbsuite/test/logging/TestLogging.py diff --git a/lldb/test/logging/main.cpp b/lldb/packages/Python/lldbsuite/test/logging/main.cpp similarity index 100% rename from lldb/test/logging/main.cpp rename to lldb/packages/Python/lldbsuite/test/logging/main.cpp diff --git a/lldb/test/macosx/add-dsym/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/add-dsym/Makefile similarity index 100% rename from lldb/test/macosx/add-dsym/Makefile rename to lldb/packages/Python/lldbsuite/test/macosx/add-dsym/Makefile diff --git a/lldb/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py b/lldb/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py similarity index 100% rename from lldb/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py rename to lldb/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py diff --git a/lldb/test/macosx/add-dsym/main.c b/lldb/packages/Python/lldbsuite/test/macosx/add-dsym/main.c similarity index 100% rename from lldb/test/macosx/add-dsym/main.c rename to lldb/packages/Python/lldbsuite/test/macosx/add-dsym/main.c diff --git a/lldb/test/macosx/debug-info/apple_types/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/Makefile similarity index 100% rename from lldb/test/macosx/debug-info/apple_types/Makefile rename to lldb/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/Makefile diff --git a/lldb/test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py b/lldb/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py similarity index 100% rename from lldb/test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py rename to lldb/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py diff --git a/lldb/test/macosx/debug-info/apple_types/main.c b/lldb/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/main.c similarity index 100% rename from lldb/test/macosx/debug-info/apple_types/main.c rename to lldb/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/main.c diff --git a/lldb/test/macosx/indirect_symbol/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/Makefile similarity index 100% rename from lldb/test/macosx/indirect_symbol/Makefile rename to lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/Makefile diff --git a/lldb/test/macosx/indirect_symbol/TestIndirectSymbols.py b/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py similarity index 100% rename from lldb/test/macosx/indirect_symbol/TestIndirectSymbols.py rename to lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py diff --git a/lldb/test/macosx/indirect_symbol/alias.list b/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/alias.list similarity index 100% rename from lldb/test/macosx/indirect_symbol/alias.list rename to lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/alias.list diff --git a/lldb/test/macosx/indirect_symbol/indirect.c b/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/indirect.c similarity index 100% rename from lldb/test/macosx/indirect_symbol/indirect.c rename to lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/indirect.c diff --git a/lldb/test/macosx/indirect_symbol/main.c b/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/main.c similarity index 100% rename from lldb/test/macosx/indirect_symbol/main.c rename to lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/main.c diff --git a/lldb/test/macosx/indirect_symbol/reexport.c b/lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/reexport.c similarity index 100% rename from lldb/test/macosx/indirect_symbol/reexport.c rename to lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/reexport.c diff --git a/lldb/test/macosx/order/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/order/Makefile similarity index 100% rename from lldb/test/macosx/order/Makefile rename to lldb/packages/Python/lldbsuite/test/macosx/order/Makefile diff --git a/lldb/test/macosx/order/TestOrderFile.py b/lldb/packages/Python/lldbsuite/test/macosx/order/TestOrderFile.py similarity index 100% rename from lldb/test/macosx/order/TestOrderFile.py rename to lldb/packages/Python/lldbsuite/test/macosx/order/TestOrderFile.py diff --git a/lldb/test/macosx/order/cmds.txt b/lldb/packages/Python/lldbsuite/test/macosx/order/cmds.txt similarity index 100% rename from lldb/test/macosx/order/cmds.txt rename to lldb/packages/Python/lldbsuite/test/macosx/order/cmds.txt diff --git a/lldb/test/macosx/order/main.c b/lldb/packages/Python/lldbsuite/test/macosx/order/main.c similarity index 100% rename from lldb/test/macosx/order/main.c rename to lldb/packages/Python/lldbsuite/test/macosx/order/main.c diff --git a/lldb/test/macosx/order/order-file b/lldb/packages/Python/lldbsuite/test/macosx/order/order-file similarity index 100% rename from lldb/test/macosx/order/order-file rename to lldb/packages/Python/lldbsuite/test/macosx/order/order-file diff --git a/lldb/test/macosx/queues/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/queues/Makefile similarity index 100% rename from lldb/test/macosx/queues/Makefile rename to lldb/packages/Python/lldbsuite/test/macosx/queues/Makefile diff --git a/lldb/test/macosx/queues/TestQueues.py b/lldb/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py similarity index 100% rename from lldb/test/macosx/queues/TestQueues.py rename to lldb/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py diff --git a/lldb/test/macosx/queues/main.c b/lldb/packages/Python/lldbsuite/test/macosx/queues/main.c similarity index 100% rename from lldb/test/macosx/queues/main.c rename to lldb/packages/Python/lldbsuite/test/macosx/queues/main.c diff --git a/lldb/test/macosx/safe-to-func-call/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/safe-to-func-call/Makefile similarity index 100% rename from lldb/test/macosx/safe-to-func-call/Makefile rename to lldb/packages/Python/lldbsuite/test/macosx/safe-to-func-call/Makefile diff --git a/lldb/test/macosx/safe-to-func-call/TestSafeFuncCalls.py b/lldb/packages/Python/lldbsuite/test/macosx/safe-to-func-call/TestSafeFuncCalls.py similarity index 100% rename from lldb/test/macosx/safe-to-func-call/TestSafeFuncCalls.py rename to lldb/packages/Python/lldbsuite/test/macosx/safe-to-func-call/TestSafeFuncCalls.py diff --git a/lldb/test/macosx/safe-to-func-call/main.c b/lldb/packages/Python/lldbsuite/test/macosx/safe-to-func-call/main.c similarity index 100% rename from lldb/test/macosx/safe-to-func-call/main.c rename to lldb/packages/Python/lldbsuite/test/macosx/safe-to-func-call/main.c diff --git a/lldb/test/macosx/universal/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile similarity index 100% rename from lldb/test/macosx/universal/Makefile rename to lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile diff --git a/lldb/test/macosx/universal/TestUniversal.py b/lldb/packages/Python/lldbsuite/test/macosx/universal/TestUniversal.py similarity index 100% rename from lldb/test/macosx/universal/TestUniversal.py rename to lldb/packages/Python/lldbsuite/test/macosx/universal/TestUniversal.py diff --git a/lldb/test/macosx/universal/main.c b/lldb/packages/Python/lldbsuite/test/macosx/universal/main.c similarity index 100% rename from lldb/test/macosx/universal/main.c rename to lldb/packages/Python/lldbsuite/test/macosx/universal/main.c diff --git a/lldb/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules similarity index 100% rename from lldb/test/make/Makefile.rules rename to lldb/packages/Python/lldbsuite/test/make/Makefile.rules diff --git a/lldb/test/make/test_common.h b/lldb/packages/Python/lldbsuite/test/make/test_common.h similarity index 100% rename from lldb/test/make/test_common.h rename to lldb/packages/Python/lldbsuite/test/make/test_common.h diff --git a/lldb/test/plugins/builder_base.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py similarity index 100% rename from lldb/test/plugins/builder_base.py rename to lldb/packages/Python/lldbsuite/test/plugins/builder_base.py diff --git a/lldb/test/plugins/builder_darwin.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py similarity index 100% rename from lldb/test/plugins/builder_darwin.py rename to lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py diff --git a/lldb/test/plugins/builder_freebsd.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_freebsd.py similarity index 100% rename from lldb/test/plugins/builder_freebsd.py rename to lldb/packages/Python/lldbsuite/test/plugins/builder_freebsd.py diff --git a/lldb/test/plugins/builder_linux2.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_linux2.py similarity index 100% rename from lldb/test/plugins/builder_linux2.py rename to lldb/packages/Python/lldbsuite/test/plugins/builder_linux2.py diff --git a/lldb/test/plugins/builder_win32.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_win32.py similarity index 100% rename from lldb/test/plugins/builder_win32.py rename to lldb/packages/Python/lldbsuite/test/plugins/builder_win32.py diff --git a/lldb/test/python_api/.categories b/lldb/packages/Python/lldbsuite/test/python_api/.categories similarity index 100% rename from lldb/test/python_api/.categories rename to lldb/packages/Python/lldbsuite/test/python_api/.categories diff --git a/lldb/test/python_api/breakpoint/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/Makefile similarity index 100% rename from lldb/test/python_api/breakpoint/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/breakpoint/Makefile diff --git a/lldb/test/python_api/breakpoint/TestBreakpointAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py similarity index 100% rename from lldb/test/python_api/breakpoint/TestBreakpointAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py diff --git a/lldb/test/python_api/breakpoint/main.c b/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/main.c similarity index 100% rename from lldb/test/python_api/breakpoint/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/breakpoint/main.c diff --git a/lldb/test/python_api/class_members/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/class_members/Makefile similarity index 100% rename from lldb/test/python_api/class_members/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/class_members/Makefile diff --git a/lldb/test/python_api/class_members/TestSBTypeClassMembers.py b/lldb/packages/Python/lldbsuite/test/python_api/class_members/TestSBTypeClassMembers.py similarity index 100% rename from lldb/test/python_api/class_members/TestSBTypeClassMembers.py rename to lldb/packages/Python/lldbsuite/test/python_api/class_members/TestSBTypeClassMembers.py diff --git a/lldb/test/python_api/class_members/main.mm b/lldb/packages/Python/lldbsuite/test/python_api/class_members/main.mm similarity index 100% rename from lldb/test/python_api/class_members/main.mm rename to lldb/packages/Python/lldbsuite/test/python_api/class_members/main.mm diff --git a/lldb/test/python_api/debugger/TestDebuggerAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py similarity index 100% rename from lldb/test/python_api/debugger/TestDebuggerAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py diff --git a/lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py similarity index 100% rename from lldb/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py diff --git a/lldb/test/python_api/default-constructor/sb_address.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_address.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_address.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_address.py diff --git a/lldb/test/python_api/default-constructor/sb_block.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_block.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_block.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_block.py diff --git a/lldb/test/python_api/default-constructor/sb_breakpoint.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpoint.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_breakpoint.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpoint.py diff --git a/lldb/test/python_api/default-constructor/sb_breakpointlocation.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointlocation.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_breakpointlocation.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointlocation.py diff --git a/lldb/test/python_api/default-constructor/sb_broadcaster.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_broadcaster.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_broadcaster.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_broadcaster.py diff --git a/lldb/test/python_api/default-constructor/sb_communication.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_communication.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_communication.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_communication.py diff --git a/lldb/test/python_api/default-constructor/sb_compileunit.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_compileunit.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_compileunit.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_compileunit.py diff --git a/lldb/test/python_api/default-constructor/sb_debugger.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_debugger.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_debugger.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_debugger.py diff --git a/lldb/test/python_api/default-constructor/sb_error.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_error.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_error.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_error.py diff --git a/lldb/test/python_api/default-constructor/sb_event.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_event.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_event.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_event.py diff --git a/lldb/test/python_api/default-constructor/sb_filespec.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_filespec.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_filespec.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_filespec.py diff --git a/lldb/test/python_api/default-constructor/sb_frame.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_frame.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_frame.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_frame.py diff --git a/lldb/test/python_api/default-constructor/sb_function.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_function.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_function.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_function.py diff --git a/lldb/test/python_api/default-constructor/sb_instruction.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instruction.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_instruction.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instruction.py diff --git a/lldb/test/python_api/default-constructor/sb_instructionlist.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instructionlist.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_instructionlist.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instructionlist.py diff --git a/lldb/test/python_api/default-constructor/sb_lineentry.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_lineentry.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_lineentry.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_lineentry.py diff --git a/lldb/test/python_api/default-constructor/sb_listener.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_listener.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_listener.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_listener.py diff --git a/lldb/test/python_api/default-constructor/sb_module.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_module.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_module.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_module.py diff --git a/lldb/test/python_api/default-constructor/sb_process.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_process.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process.py diff --git a/lldb/test/python_api/default-constructor/sb_section.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_section.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_section.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_section.py diff --git a/lldb/test/python_api/default-constructor/sb_stringlist.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_stringlist.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_stringlist.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_stringlist.py diff --git a/lldb/test/python_api/default-constructor/sb_symbol.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbol.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_symbol.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbol.py diff --git a/lldb/test/python_api/default-constructor/sb_symbolcontext.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbolcontext.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_symbolcontext.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbolcontext.py diff --git a/lldb/test/python_api/default-constructor/sb_target.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_target.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_target.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_target.py diff --git a/lldb/test/python_api/default-constructor/sb_thread.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_thread.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_thread.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_thread.py diff --git a/lldb/test/python_api/default-constructor/sb_type.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_type.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_type.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_type.py diff --git a/lldb/test/python_api/default-constructor/sb_value.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_value.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_value.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_value.py diff --git a/lldb/test/python_api/default-constructor/sb_valuelist.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_valuelist.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_valuelist.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_valuelist.py diff --git a/lldb/test/python_api/default-constructor/sb_watchpoint.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_watchpoint.py similarity index 100% rename from lldb/test/python_api/default-constructor/sb_watchpoint.py rename to lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_watchpoint.py diff --git a/lldb/test/python_api/disassemble-raw-data/TestDisassembleRawData.py b/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassembleRawData.py similarity index 100% rename from lldb/test/python_api/disassemble-raw-data/TestDisassembleRawData.py rename to lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassembleRawData.py diff --git a/lldb/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py b/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py similarity index 100% rename from lldb/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py rename to lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py diff --git a/lldb/test/python_api/event/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/event/Makefile similarity index 100% rename from lldb/test/python_api/event/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/event/Makefile diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py similarity index 100% rename from lldb/test/python_api/event/TestEvents.py rename to lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py diff --git a/lldb/test/python_api/event/main.c b/lldb/packages/Python/lldbsuite/test/python_api/event/main.c similarity index 100% rename from lldb/test/python_api/event/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/event/main.c diff --git a/lldb/test/python_api/exprpath_synthetic/TestExprPathSynthetic.py b/lldb/packages/Python/lldbsuite/test/python_api/exprpath_synthetic/TestExprPathSynthetic.py similarity index 100% rename from lldb/test/python_api/exprpath_synthetic/TestExprPathSynthetic.py rename to lldb/packages/Python/lldbsuite/test/python_api/exprpath_synthetic/TestExprPathSynthetic.py diff --git a/lldb/test/python_api/exprpath_synthetic/main.mm b/lldb/packages/Python/lldbsuite/test/python_api/exprpath_synthetic/main.mm similarity index 100% rename from lldb/test/python_api/exprpath_synthetic/main.mm rename to lldb/packages/Python/lldbsuite/test/python_api/exprpath_synthetic/main.mm diff --git a/lldb/test/python_api/findvalue_duplist/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile similarity index 100% rename from lldb/test/python_api/findvalue_duplist/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile diff --git a/lldb/test/python_api/findvalue_duplist/TestSBFrameFindValue.py b/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py similarity index 100% rename from lldb/test/python_api/findvalue_duplist/TestSBFrameFindValue.py rename to lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py diff --git a/lldb/test/python_api/findvalue_duplist/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/main.cpp similarity index 100% rename from lldb/test/python_api/findvalue_duplist/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/main.cpp diff --git a/lldb/test/python_api/formatters/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile similarity index 100% rename from lldb/test/python_api/formatters/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile diff --git a/lldb/test/python_api/formatters/TestFormattersSBAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py similarity index 100% rename from lldb/test/python_api/formatters/TestFormattersSBAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py diff --git a/lldb/test/python_api/formatters/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/formatters/main.cpp similarity index 100% rename from lldb/test/python_api/formatters/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/formatters/main.cpp diff --git a/lldb/test/python_api/formatters/synth.py b/lldb/packages/Python/lldbsuite/test/python_api/formatters/synth.py similarity index 100% rename from lldb/test/python_api/formatters/synth.py rename to lldb/packages/Python/lldbsuite/test/python_api/formatters/synth.py diff --git a/lldb/test/python_api/frame/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/frame/Makefile similarity index 100% rename from lldb/test/python_api/frame/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/frame/Makefile diff --git a/lldb/test/python_api/frame/TestFrames.py b/lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py similarity index 100% rename from lldb/test/python_api/frame/TestFrames.py rename to lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py diff --git a/lldb/test/python_api/frame/inlines/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/Makefile similarity index 100% rename from lldb/test/python_api/frame/inlines/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/Makefile diff --git a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py b/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py similarity index 100% rename from lldb/test/python_api/frame/inlines/TestInlinedFrame.py rename to lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py diff --git a/lldb/test/python_api/frame/inlines/inlines.c b/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/inlines.c similarity index 100% rename from lldb/test/python_api/frame/inlines/inlines.c rename to lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/inlines.c diff --git a/lldb/test/python_api/frame/inlines/inlines.h b/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/inlines.h similarity index 100% rename from lldb/test/python_api/frame/inlines/inlines.h rename to lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/inlines.h diff --git a/lldb/test/python_api/frame/main.c b/lldb/packages/Python/lldbsuite/test/python_api/frame/main.c similarity index 100% rename from lldb/test/python_api/frame/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/frame/main.c diff --git a/lldb/test/python_api/function_symbol/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/Makefile similarity index 100% rename from lldb/test/python_api/function_symbol/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/function_symbol/Makefile diff --git a/lldb/test/python_api/function_symbol/TestDisasmAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py similarity index 100% rename from lldb/test/python_api/function_symbol/TestDisasmAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py diff --git a/lldb/test/python_api/function_symbol/TestSymbolAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py similarity index 100% rename from lldb/test/python_api/function_symbol/TestSymbolAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py diff --git a/lldb/test/python_api/function_symbol/main.c b/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/main.c similarity index 100% rename from lldb/test/python_api/function_symbol/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/function_symbol/main.c diff --git a/lldb/test/python_api/hello_world/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/hello_world/Makefile similarity index 100% rename from lldb/test/python_api/hello_world/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/hello_world/Makefile diff --git a/lldb/test/python_api/hello_world/TestHelloWorld.py b/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py similarity index 100% rename from lldb/test/python_api/hello_world/TestHelloWorld.py rename to lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py diff --git a/lldb/test/python_api/hello_world/main.c b/lldb/packages/Python/lldbsuite/test/python_api/hello_world/main.c similarity index 100% rename from lldb/test/python_api/hello_world/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/hello_world/main.c diff --git a/lldb/test/python_api/interpreter/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/interpreter/Makefile similarity index 100% rename from lldb/test/python_api/interpreter/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/interpreter/Makefile diff --git a/lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py similarity index 100% rename from lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py diff --git a/lldb/test/python_api/interpreter/main.c b/lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c similarity index 100% rename from lldb/test/python_api/interpreter/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c diff --git a/lldb/test/python_api/lldbutil/frame/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/Makefile similarity index 100% rename from lldb/test/python_api/lldbutil/frame/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/Makefile diff --git a/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py similarity index 100% rename from lldb/test/python_api/lldbutil/frame/TestFrameUtils.py rename to lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py diff --git a/lldb/test/python_api/lldbutil/frame/main.c b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/main.c similarity index 100% rename from lldb/test/python_api/lldbutil/frame/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/main.c diff --git a/lldb/test/python_api/lldbutil/iter/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/Makefile similarity index 100% rename from lldb/test/python_api/lldbutil/iter/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/Makefile diff --git a/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py similarity index 100% rename from lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py rename to lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py diff --git a/lldb/test/python_api/lldbutil/iter/TestRegistersIterator.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py similarity index 100% rename from lldb/test/python_api/lldbutil/iter/TestRegistersIterator.py rename to lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py diff --git a/lldb/test/python_api/lldbutil/iter/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/main.cpp similarity index 100% rename from lldb/test/python_api/lldbutil/iter/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/main.cpp diff --git a/lldb/test/python_api/lldbutil/process/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/Makefile similarity index 100% rename from lldb/test/python_api/lldbutil/process/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/Makefile diff --git a/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py similarity index 100% rename from lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py rename to lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py diff --git a/lldb/test/python_api/lldbutil/process/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/main.cpp similarity index 100% rename from lldb/test/python_api/lldbutil/process/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/main.cpp diff --git a/lldb/test/python_api/module_section/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/module_section/Makefile similarity index 100% rename from lldb/test/python_api/module_section/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/module_section/Makefile diff --git a/lldb/test/python_api/module_section/TestModuleAndSection.py b/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py similarity index 100% rename from lldb/test/python_api/module_section/TestModuleAndSection.py rename to lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py diff --git a/lldb/test/python_api/module_section/b.cpp b/lldb/packages/Python/lldbsuite/test/python_api/module_section/b.cpp similarity index 100% rename from lldb/test/python_api/module_section/b.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/module_section/b.cpp diff --git a/lldb/test/python_api/module_section/c.cpp b/lldb/packages/Python/lldbsuite/test/python_api/module_section/c.cpp similarity index 100% rename from lldb/test/python_api/module_section/c.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/module_section/c.cpp diff --git a/lldb/test/python_api/module_section/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/module_section/main.cpp similarity index 100% rename from lldb/test/python_api/module_section/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/module_section/main.cpp diff --git a/lldb/test/python_api/objc_type/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/objc_type/Makefile similarity index 100% rename from lldb/test/python_api/objc_type/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/objc_type/Makefile diff --git a/lldb/test/python_api/objc_type/TestObjCType.py b/lldb/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py similarity index 100% rename from lldb/test/python_api/objc_type/TestObjCType.py rename to lldb/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py diff --git a/lldb/test/python_api/objc_type/main.m b/lldb/packages/Python/lldbsuite/test/python_api/objc_type/main.m similarity index 100% rename from lldb/test/python_api/objc_type/main.m rename to lldb/packages/Python/lldbsuite/test/python_api/objc_type/main.m diff --git a/lldb/test/python_api/process/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/process/Makefile similarity index 100% rename from lldb/test/python_api/process/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/process/Makefile diff --git a/lldb/test/python_api/process/TestProcessAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py similarity index 100% rename from lldb/test/python_api/process/TestProcessAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py diff --git a/lldb/test/python_api/process/io/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/process/io/Makefile similarity index 100% rename from lldb/test/python_api/process/io/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/process/io/Makefile diff --git a/lldb/test/python_api/process/io/TestProcessIO.py b/lldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py similarity index 100% rename from lldb/test/python_api/process/io/TestProcessIO.py rename to lldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py diff --git a/lldb/test/python_api/process/io/main.c b/lldb/packages/Python/lldbsuite/test/python_api/process/io/main.c similarity index 100% rename from lldb/test/python_api/process/io/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/process/io/main.c diff --git a/lldb/test/python_api/process/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp similarity index 100% rename from lldb/test/python_api/process/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp diff --git a/lldb/test/python_api/rdar-12481949/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Makefile similarity index 100% rename from lldb/test/python_api/rdar-12481949/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Makefile diff --git a/lldb/test/python_api/rdar-12481949/Test-rdar-12481949.py b/lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py similarity index 100% rename from lldb/test/python_api/rdar-12481949/Test-rdar-12481949.py rename to lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py diff --git a/lldb/test/python_api/rdar-12481949/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/main.cpp similarity index 100% rename from lldb/test/python_api/rdar-12481949/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/main.cpp diff --git a/lldb/test/python_api/sbdata/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/sbdata/Makefile similarity index 100% rename from lldb/test/python_api/sbdata/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/sbdata/Makefile diff --git a/lldb/test/python_api/sbdata/TestSBData.py b/lldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py similarity index 100% rename from lldb/test/python_api/sbdata/TestSBData.py rename to lldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py diff --git a/lldb/test/python_api/sbdata/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/sbdata/main.cpp similarity index 100% rename from lldb/test/python_api/sbdata/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/sbdata/main.cpp diff --git a/lldb/test/python_api/sbtype_typeclass/TestSBTypeTypeClass.py b/lldb/packages/Python/lldbsuite/test/python_api/sbtype_typeclass/TestSBTypeTypeClass.py similarity index 100% rename from lldb/test/python_api/sbtype_typeclass/TestSBTypeTypeClass.py rename to lldb/packages/Python/lldbsuite/test/python_api/sbtype_typeclass/TestSBTypeTypeClass.py diff --git a/lldb/test/python_api/sbtype_typeclass/main.m b/lldb/packages/Python/lldbsuite/test/python_api/sbtype_typeclass/main.m similarity index 100% rename from lldb/test/python_api/sbtype_typeclass/main.m rename to lldb/packages/Python/lldbsuite/test/python_api/sbtype_typeclass/main.m diff --git a/lldb/test/python_api/sbvalue_const_addrof/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/Makefile similarity index 100% rename from lldb/test/python_api/sbvalue_const_addrof/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/Makefile diff --git a/lldb/test/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.py b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.py similarity index 100% rename from lldb/test/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.py rename to lldb/packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.py diff --git a/lldb/test/python_api/sbvalue_const_addrof/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/main.cpp similarity index 100% rename from lldb/test/python_api/sbvalue_const_addrof/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/main.cpp diff --git a/lldb/test/python_api/sbvalue_persist/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile similarity index 100% rename from lldb/test/python_api/sbvalue_persist/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile diff --git a/lldb/test/python_api/sbvalue_persist/TestSBValuePersist.py b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py similarity index 100% rename from lldb/test/python_api/sbvalue_persist/TestSBValuePersist.py rename to lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py diff --git a/lldb/test/python_api/sbvalue_persist/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/main.cpp similarity index 100% rename from lldb/test/python_api/sbvalue_persist/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/main.cpp diff --git a/lldb/test/python_api/section/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/section/Makefile similarity index 100% rename from lldb/test/python_api/section/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/section/Makefile diff --git a/lldb/test/python_api/section/TestSectionAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/python_api/section/TestSectionAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py diff --git a/lldb/test/python_api/section/main.c b/lldb/packages/Python/lldbsuite/test/python_api/section/main.c similarity index 100% rename from lldb/test/python_api/section/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/section/main.c diff --git a/lldb/test/python_api/signals/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/signals/Makefile similarity index 100% rename from lldb/test/python_api/signals/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/signals/Makefile diff --git a/lldb/test/python_api/signals/TestSignalsAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py similarity index 100% rename from lldb/test/python_api/signals/TestSignalsAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py diff --git a/lldb/test/python_api/signals/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp similarity index 100% rename from lldb/test/python_api/signals/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp diff --git a/lldb/test/python_api/symbol-context/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/Makefile similarity index 100% rename from lldb/test/python_api/symbol-context/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/symbol-context/Makefile diff --git a/lldb/test/python_api/symbol-context/TestSymbolContext.py b/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py similarity index 100% rename from lldb/test/python_api/symbol-context/TestSymbolContext.py rename to lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py diff --git a/lldb/test/python_api/symbol-context/main.c b/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/main.c similarity index 100% rename from lldb/test/python_api/symbol-context/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/symbol-context/main.c diff --git a/lldb/test/python_api/target/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/target/Makefile similarity index 100% rename from lldb/test/python_api/target/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/target/Makefile diff --git a/lldb/test/python_api/target/TestTargetAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py similarity index 100% rename from lldb/test/python_api/target/TestTargetAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py diff --git a/lldb/test/python_api/target/main.c b/lldb/packages/Python/lldbsuite/test/python_api/target/main.c similarity index 100% rename from lldb/test/python_api/target/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/target/main.c diff --git a/lldb/test/python_api/thread/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/thread/Makefile similarity index 100% rename from lldb/test/python_api/thread/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/thread/Makefile diff --git a/lldb/test/python_api/thread/TestThreadAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py similarity index 100% rename from lldb/test/python_api/thread/TestThreadAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py diff --git a/lldb/test/python_api/thread/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp similarity index 100% rename from lldb/test/python_api/thread/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp diff --git a/lldb/test/python_api/thread/main2.cpp b/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp similarity index 100% rename from lldb/test/python_api/thread/main2.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp diff --git a/lldb/test/python_api/type/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/type/Makefile similarity index 100% rename from lldb/test/python_api/type/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/type/Makefile diff --git a/lldb/test/python_api/type/TestTypeList.py b/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py similarity index 100% rename from lldb/test/python_api/type/TestTypeList.py rename to lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py diff --git a/lldb/test/python_api/type/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/type/main.cpp similarity index 100% rename from lldb/test/python_api/type/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/type/main.cpp diff --git a/lldb/test/python_api/value/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/value/Makefile similarity index 100% rename from lldb/test/python_api/value/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/value/Makefile diff --git a/lldb/test/python_api/value/TestValueAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py similarity index 100% rename from lldb/test/python_api/value/TestValueAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py diff --git a/lldb/test/python_api/value/change_values/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/Makefile similarity index 100% rename from lldb/test/python_api/value/change_values/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/value/change_values/Makefile diff --git a/lldb/test/python_api/value/change_values/TestChangeValueAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py similarity index 100% rename from lldb/test/python_api/value/change_values/TestChangeValueAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py diff --git a/lldb/test/python_api/value/change_values/main.c b/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/main.c similarity index 100% rename from lldb/test/python_api/value/change_values/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/value/change_values/main.c diff --git a/lldb/test/python_api/value/linked_list/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/Makefile similarity index 100% rename from lldb/test/python_api/value/linked_list/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/Makefile diff --git a/lldb/test/python_api/value/linked_list/TestValueAPILinkedList.py b/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py similarity index 100% rename from lldb/test/python_api/value/linked_list/TestValueAPILinkedList.py rename to lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py diff --git a/lldb/test/python_api/value/linked_list/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/main.cpp similarity index 100% rename from lldb/test/python_api/value/linked_list/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/main.cpp diff --git a/lldb/test/python_api/value/main.c b/lldb/packages/Python/lldbsuite/test/python_api/value/main.c similarity index 100% rename from lldb/test/python_api/value/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/value/main.c diff --git a/lldb/test/python_api/value_var_update/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/value_var_update/Makefile similarity index 100% rename from lldb/test/python_api/value_var_update/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/value_var_update/Makefile diff --git a/lldb/test/python_api/value_var_update/TestValueVarUpdate.py b/lldb/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py similarity index 100% rename from lldb/test/python_api/value_var_update/TestValueVarUpdate.py rename to lldb/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py diff --git a/lldb/test/python_api/value_var_update/main.c b/lldb/packages/Python/lldbsuite/test/python_api/value_var_update/main.c similarity index 100% rename from lldb/test/python_api/value_var_update/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/value_var_update/main.c diff --git a/lldb/test/python_api/watchpoint/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/Makefile similarity index 100% rename from lldb/test/python_api/watchpoint/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/Makefile diff --git a/lldb/test/python_api/watchpoint/TestSetWatchpoint.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py similarity index 100% rename from lldb/test/python_api/watchpoint/TestSetWatchpoint.py rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py diff --git a/lldb/test/python_api/watchpoint/TestWatchpointIgnoreCount.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py similarity index 100% rename from lldb/test/python_api/watchpoint/TestWatchpointIgnoreCount.py rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py diff --git a/lldb/test/python_api/watchpoint/TestWatchpointIter.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py similarity index 100% rename from lldb/test/python_api/watchpoint/TestWatchpointIter.py rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py diff --git a/lldb/test/python_api/watchpoint/condition/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/Makefile similarity index 100% rename from lldb/test/python_api/watchpoint/condition/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/Makefile diff --git a/lldb/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py similarity index 100% rename from lldb/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py diff --git a/lldb/test/python_api/watchpoint/condition/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/main.cpp similarity index 100% rename from lldb/test/python_api/watchpoint/condition/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/main.cpp diff --git a/lldb/test/python_api/watchpoint/main.c b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/main.c similarity index 100% rename from lldb/test/python_api/watchpoint/main.c rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/main.c diff --git a/lldb/test/python_api/watchpoint/watchlocation/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/Makefile similarity index 100% rename from lldb/test/python_api/watchpoint/watchlocation/Makefile rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/Makefile diff --git a/lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py similarity index 100% rename from lldb/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py diff --git a/lldb/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py similarity index 100% rename from lldb/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py diff --git a/lldb/test/python_api/watchpoint/watchlocation/main.cpp b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/main.cpp similarity index 100% rename from lldb/test/python_api/watchpoint/watchlocation/main.cpp rename to lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/main.cpp diff --git a/lldb/test/redo.py b/lldb/packages/Python/lldbsuite/test/redo.py old mode 100755 new mode 100644 similarity index 100% rename from lldb/test/redo.py rename to lldb/packages/Python/lldbsuite/test/redo.py diff --git a/lldb/test/settings/Makefile b/lldb/packages/Python/lldbsuite/test/settings/Makefile similarity index 100% rename from lldb/test/settings/Makefile rename to lldb/packages/Python/lldbsuite/test/settings/Makefile diff --git a/lldb/test/settings/TestSettings.py b/lldb/packages/Python/lldbsuite/test/settings/TestSettings.py similarity index 100% rename from lldb/test/settings/TestSettings.py rename to lldb/packages/Python/lldbsuite/test/settings/TestSettings.py diff --git a/lldb/test/settings/main.cpp b/lldb/packages/Python/lldbsuite/test/settings/main.cpp similarity index 100% rename from lldb/test/settings/main.cpp rename to lldb/packages/Python/lldbsuite/test/settings/main.cpp diff --git a/lldb/test/settings/quoting/Makefile b/lldb/packages/Python/lldbsuite/test/settings/quoting/Makefile similarity index 100% rename from lldb/test/settings/quoting/Makefile rename to lldb/packages/Python/lldbsuite/test/settings/quoting/Makefile diff --git a/lldb/test/settings/quoting/TestQuoting.py b/lldb/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py similarity index 100% rename from lldb/test/settings/quoting/TestQuoting.py rename to lldb/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py diff --git a/lldb/test/settings/quoting/main.c b/lldb/packages/Python/lldbsuite/test/settings/quoting/main.c similarity index 100% rename from lldb/test/settings/quoting/main.c rename to lldb/packages/Python/lldbsuite/test/settings/quoting/main.c diff --git a/lldb/test/source-manager/Makefile b/lldb/packages/Python/lldbsuite/test/source-manager/Makefile similarity index 100% rename from lldb/test/source-manager/Makefile rename to lldb/packages/Python/lldbsuite/test/source-manager/Makefile diff --git a/lldb/test/source-manager/TestSourceManager.py b/lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py similarity index 100% rename from lldb/test/source-manager/TestSourceManager.py rename to lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py diff --git a/lldb/test/source-manager/hidden/.keep b/lldb/packages/Python/lldbsuite/test/source-manager/hidden/.keep similarity index 100% rename from lldb/test/source-manager/hidden/.keep rename to lldb/packages/Python/lldbsuite/test/source-manager/hidden/.keep diff --git a/lldb/test/source-manager/main.c b/lldb/packages/Python/lldbsuite/test/source-manager/main.c similarity index 100% rename from lldb/test/source-manager/main.c rename to lldb/packages/Python/lldbsuite/test/source-manager/main.c diff --git a/lldb/test/terminal/TestSTTYBeforeAndAfter.py b/lldb/packages/Python/lldbsuite/test/terminal/TestSTTYBeforeAndAfter.py similarity index 100% rename from lldb/test/terminal/TestSTTYBeforeAndAfter.py rename to lldb/packages/Python/lldbsuite/test/terminal/TestSTTYBeforeAndAfter.py diff --git a/lldb/test/test_categories.py b/lldb/packages/Python/lldbsuite/test/test_categories.py similarity index 100% rename from lldb/test/test_categories.py rename to lldb/packages/Python/lldbsuite/test/test_categories.py diff --git a/lldb/test/test_results.py b/lldb/packages/Python/lldbsuite/test/test_results.py similarity index 100% rename from lldb/test/test_results.py rename to lldb/packages/Python/lldbsuite/test/test_results.py diff --git a/lldb/test/test_runner/README.txt b/lldb/packages/Python/lldbsuite/test/test_runner/README.txt similarity index 100% rename from lldb/test/test_runner/README.txt rename to lldb/packages/Python/lldbsuite/test/test_runner/README.txt diff --git a/lldb/test/test_runner/lib/lldb_utils.py b/lldb/packages/Python/lldbsuite/test/test_runner/lib/lldb_utils.py similarity index 100% rename from lldb/test/test_runner/lib/lldb_utils.py rename to lldb/packages/Python/lldbsuite/test/test_runner/lib/lldb_utils.py diff --git a/lldb/test/test_runner/lib/process_control.py b/lldb/packages/Python/lldbsuite/test/test_runner/lib/process_control.py similarity index 100% rename from lldb/test/test_runner/lib/process_control.py rename to lldb/packages/Python/lldbsuite/test/test_runner/lib/process_control.py diff --git a/lldb/test/test_runner/test/inferior.py b/lldb/packages/Python/lldbsuite/test/test_runner/test/inferior.py similarity index 100% rename from lldb/test/test_runner/test/inferior.py rename to lldb/packages/Python/lldbsuite/test/test_runner/test/inferior.py diff --git a/lldb/test/test_runner/test/process_control_tests.py b/lldb/packages/Python/lldbsuite/test/test_runner/test/process_control_tests.py similarity index 100% rename from lldb/test/test_runner/test/process_control_tests.py rename to lldb/packages/Python/lldbsuite/test/test_runner/test/process_control_tests.py diff --git a/lldb/test/tools/lldb-mi/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/Makefile diff --git a/lldb/test/tools/lldb-mi/TestMiExit.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiExit.py similarity index 100% rename from lldb/test/tools/lldb-mi/TestMiExit.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiExit.py diff --git a/lldb/test/tools/lldb-mi/TestMiFile.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiFile.py similarity index 100% rename from lldb/test/tools/lldb-mi/TestMiFile.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiFile.py diff --git a/lldb/test/tools/lldb-mi/TestMiGdbSetShow.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiGdbSetShow.py similarity index 100% rename from lldb/test/tools/lldb-mi/TestMiGdbSetShow.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiGdbSetShow.py diff --git a/lldb/test/tools/lldb-mi/TestMiLibraryLoaded.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiLibraryLoaded.py similarity index 100% rename from lldb/test/tools/lldb-mi/TestMiLibraryLoaded.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiLibraryLoaded.py diff --git a/lldb/test/tools/lldb-mi/TestMiPrompt.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiPrompt.py similarity index 100% rename from lldb/test/tools/lldb-mi/TestMiPrompt.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiPrompt.py diff --git a/lldb/test/tools/lldb-mi/breakpoint/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/breakpoint/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/Makefile diff --git a/lldb/test/tools/lldb-mi/breakpoint/TestMiBreak.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/TestMiBreak.py similarity index 100% rename from lldb/test/tools/lldb-mi/breakpoint/TestMiBreak.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/TestMiBreak.py diff --git a/lldb/test/tools/lldb-mi/breakpoint/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/breakpoint/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/main.cpp diff --git a/lldb/test/tools/lldb-mi/control/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/control/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/Makefile diff --git a/lldb/test/tools/lldb-mi/control/TestMiExec.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py similarity index 100% rename from lldb/test/tools/lldb-mi/control/TestMiExec.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py diff --git a/lldb/test/tools/lldb-mi/control/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/control/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/main.cpp diff --git a/lldb/test/tools/lldb-mi/data/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/data/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/data/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/data/Makefile diff --git a/lldb/test/tools/lldb-mi/data/TestMiData.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/data/TestMiData.py similarity index 100% rename from lldb/test/tools/lldb-mi/data/TestMiData.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/data/TestMiData.py diff --git a/lldb/test/tools/lldb-mi/data/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/data/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/data/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/data/main.cpp diff --git a/lldb/test/tools/lldb-mi/interpreter/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/interpreter/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/Makefile diff --git a/lldb/test/tools/lldb-mi/interpreter/TestMiCliSupport.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/TestMiCliSupport.py similarity index 100% rename from lldb/test/tools/lldb-mi/interpreter/TestMiCliSupport.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/TestMiCliSupport.py diff --git a/lldb/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py similarity index 100% rename from lldb/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py diff --git a/lldb/test/tools/lldb-mi/interpreter/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/interpreter/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/main.cpp diff --git a/lldb/test/tools/lldb-mi/lldbmi_testcase.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py similarity index 100% rename from lldb/test/tools/lldb-mi/lldbmi_testcase.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py diff --git a/lldb/test/tools/lldb-mi/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/main.cpp diff --git a/lldb/test/tools/lldb-mi/signal/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/signal/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/signal/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/signal/Makefile diff --git a/lldb/test/tools/lldb-mi/signal/TestMiSignal.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/signal/TestMiSignal.py similarity index 100% rename from lldb/test/tools/lldb-mi/signal/TestMiSignal.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/signal/TestMiSignal.py diff --git a/lldb/test/tools/lldb-mi/signal/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/signal/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/signal/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/signal/main.cpp diff --git a/lldb/test/tools/lldb-mi/stack/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/stack/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/stack/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/stack/Makefile diff --git a/lldb/test/tools/lldb-mi/stack/TestMiStack.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/stack/TestMiStack.py similarity index 100% rename from lldb/test/tools/lldb-mi/stack/TestMiStack.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/stack/TestMiStack.py diff --git a/lldb/test/tools/lldb-mi/stack/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/stack/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/stack/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/stack/main.cpp diff --git a/lldb/test/tools/lldb-mi/startup_options/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/startup_options/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/Makefile diff --git a/lldb/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py similarity index 100% rename from lldb/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py diff --git a/lldb/test/tools/lldb-mi/startup_options/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/startup_options/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/main.cpp diff --git a/lldb/test/tools/lldb-mi/startup_options/start_script b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/start_script similarity index 100% rename from lldb/test/tools/lldb-mi/startup_options/start_script rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/start_script diff --git a/lldb/test/tools/lldb-mi/startup_options/start_script_error b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/start_script_error similarity index 100% rename from lldb/test/tools/lldb-mi/startup_options/start_script_error rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/start_script_error diff --git a/lldb/test/tools/lldb-mi/startup_options/start_script_exit b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/start_script_exit similarity index 100% rename from lldb/test/tools/lldb-mi/startup_options/start_script_exit rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/start_script_exit diff --git a/lldb/test/tools/lldb-mi/symbol/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/symbol/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/Makefile diff --git a/lldb/test/tools/lldb-mi/symbol/TestMiSymbol.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/TestMiSymbol.py similarity index 100% rename from lldb/test/tools/lldb-mi/symbol/TestMiSymbol.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/TestMiSymbol.py diff --git a/lldb/test/tools/lldb-mi/symbol/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/symbol/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/main.cpp diff --git a/lldb/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.cpp diff --git a/lldb/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.h b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.h similarity index 100% rename from lldb/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.h rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.h diff --git a/lldb/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test2.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test2.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test2.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test2.cpp diff --git a/lldb/test/tools/lldb-mi/syntax/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/syntax/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/syntax/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/syntax/Makefile diff --git a/lldb/test/tools/lldb-mi/syntax/TestMiSyntax.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/syntax/TestMiSyntax.py similarity index 100% rename from lldb/test/tools/lldb-mi/syntax/TestMiSyntax.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/syntax/TestMiSyntax.py diff --git a/lldb/test/tools/lldb-mi/syntax/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/syntax/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/syntax/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/syntax/main.cpp diff --git a/lldb/test/tools/lldb-mi/target/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/target/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/target/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/target/Makefile diff --git a/lldb/test/tools/lldb-mi/target/TestMiTarget.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/target/TestMiTarget.py similarity index 100% rename from lldb/test/tools/lldb-mi/target/TestMiTarget.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/target/TestMiTarget.py diff --git a/lldb/test/tools/lldb-mi/target/test_attach.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/target/test_attach.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/target/test_attach.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/target/test_attach.cpp diff --git a/lldb/test/tools/lldb-mi/variable/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/variable/Makefile similarity index 100% rename from lldb/test/tools/lldb-mi/variable/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/variable/Makefile diff --git a/lldb/test/tools/lldb-mi/variable/TestMiGdbSetShowPrint.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/variable/TestMiGdbSetShowPrint.py similarity index 100% rename from lldb/test/tools/lldb-mi/variable/TestMiGdbSetShowPrint.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/variable/TestMiGdbSetShowPrint.py diff --git a/lldb/test/tools/lldb-mi/variable/TestMiVar.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/variable/TestMiVar.py similarity index 100% rename from lldb/test/tools/lldb-mi/variable/TestMiVar.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/variable/TestMiVar.py diff --git a/lldb/test/tools/lldb-mi/variable/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/variable/main.cpp similarity index 100% rename from lldb/test/tools/lldb-mi/variable/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-mi/variable/main.cpp diff --git a/lldb/test/tools/lldb-server/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/Makefile similarity index 100% rename from lldb/test/tools/lldb-server/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/Makefile diff --git a/lldb/test/tools/lldb-server/TestGDBRemoteMemoryRead.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGDBRemoteMemoryRead.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGDBRemoteMemoryRead.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGDBRemoteMemoryRead.py diff --git a/lldb/test/tools/lldb-server/TestGdbRemoteAttach.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAttach.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGdbRemoteAttach.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAttach.py diff --git a/lldb/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py diff --git a/lldb/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py diff --git a/lldb/test/tools/lldb-server/TestGdbRemoteKill.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGdbRemoteKill.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py diff --git a/lldb/test/tools/lldb-server/TestGdbRemoteProcessInfo.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGdbRemoteProcessInfo.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py diff --git a/lldb/test/tools/lldb-server/TestGdbRemoteRegisterState.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGdbRemoteRegisterState.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py diff --git a/lldb/test/tools/lldb-server/TestGdbRemoteSingleStep.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteSingleStep.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGdbRemoteSingleStep.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteSingleStep.py diff --git a/lldb/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py diff --git a/lldb/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py diff --git a/lldb/test/tools/lldb-server/TestGdbRemote_vCont.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_vCont.py similarity index 100% rename from lldb/test/tools/lldb-server/TestGdbRemote_vCont.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_vCont.py diff --git a/lldb/test/tools/lldb-server/TestLldbGdbServer.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py similarity index 100% rename from lldb/test/tools/lldb-server/TestLldbGdbServer.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py diff --git a/lldb/test/tools/lldb-server/commandline/TestStubReverseConnect.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubReverseConnect.py similarity index 100% rename from lldb/test/tools/lldb-server/commandline/TestStubReverseConnect.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubReverseConnect.py diff --git a/lldb/test/tools/lldb-server/commandline/TestStubSetSID.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubSetSID.py similarity index 100% rename from lldb/test/tools/lldb-server/commandline/TestStubSetSID.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubSetSID.py diff --git a/lldb/test/tools/lldb-server/gdbremote_testcase.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py similarity index 100% rename from lldb/test/tools/lldb-server/gdbremote_testcase.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py diff --git a/lldb/test/tools/lldb-server/inferior-crash/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/Makefile similarity index 100% rename from lldb/test/tools/lldb-server/inferior-crash/Makefile rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/Makefile diff --git a/lldb/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py similarity index 100% rename from lldb/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py diff --git a/lldb/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py similarity index 100% rename from lldb/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py diff --git a/lldb/test/tools/lldb-server/inferior-crash/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/main.cpp similarity index 100% rename from lldb/test/tools/lldb-server/inferior-crash/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/main.cpp diff --git a/lldb/test/tools/lldb-server/lldbgdbserverutils.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py similarity index 100% rename from lldb/test/tools/lldb-server/lldbgdbserverutils.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py diff --git a/lldb/test/tools/lldb-server/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/main.cpp similarity index 100% rename from lldb/test/tools/lldb-server/main.cpp rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/main.cpp diff --git a/lldb/test/tools/lldb-server/socket_packet_pump.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py similarity index 100% rename from lldb/test/tools/lldb-server/socket_packet_pump.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py diff --git a/lldb/test/tools/lldb-server/test/test_lldbgdbserverutils.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/test/test_lldbgdbserverutils.py similarity index 100% rename from lldb/test/tools/lldb-server/test/test_lldbgdbserverutils.py rename to lldb/packages/Python/lldbsuite/test/tools/lldb-server/test/test_lldbgdbserverutils.py diff --git a/lldb/test/types/AbstractBase.py b/lldb/packages/Python/lldbsuite/test/types/AbstractBase.py similarity index 100% rename from lldb/test/types/AbstractBase.py rename to lldb/packages/Python/lldbsuite/test/types/AbstractBase.py diff --git a/lldb/test/types/HideTestFailures.py b/lldb/packages/Python/lldbsuite/test/types/HideTestFailures.py similarity index 100% rename from lldb/test/types/HideTestFailures.py rename to lldb/packages/Python/lldbsuite/test/types/HideTestFailures.py diff --git a/lldb/test/types/Makefile b/lldb/packages/Python/lldbsuite/test/types/Makefile similarity index 100% rename from lldb/test/types/Makefile rename to lldb/packages/Python/lldbsuite/test/types/Makefile diff --git a/lldb/test/types/TestFloatTypes.py b/lldb/packages/Python/lldbsuite/test/types/TestFloatTypes.py similarity index 100% rename from lldb/test/types/TestFloatTypes.py rename to lldb/packages/Python/lldbsuite/test/types/TestFloatTypes.py diff --git a/lldb/test/types/TestFloatTypesExpr.py b/lldb/packages/Python/lldbsuite/test/types/TestFloatTypesExpr.py similarity index 100% rename from lldb/test/types/TestFloatTypesExpr.py rename to lldb/packages/Python/lldbsuite/test/types/TestFloatTypesExpr.py diff --git a/lldb/test/types/TestIntegerTypes.py b/lldb/packages/Python/lldbsuite/test/types/TestIntegerTypes.py similarity index 100% rename from lldb/test/types/TestIntegerTypes.py rename to lldb/packages/Python/lldbsuite/test/types/TestIntegerTypes.py diff --git a/lldb/test/types/TestIntegerTypesExpr.py b/lldb/packages/Python/lldbsuite/test/types/TestIntegerTypesExpr.py similarity index 100% rename from lldb/test/types/TestIntegerTypesExpr.py rename to lldb/packages/Python/lldbsuite/test/types/TestIntegerTypesExpr.py diff --git a/lldb/test/types/TestRecursiveTypes.py b/lldb/packages/Python/lldbsuite/test/types/TestRecursiveTypes.py similarity index 100% rename from lldb/test/types/TestRecursiveTypes.py rename to lldb/packages/Python/lldbsuite/test/types/TestRecursiveTypes.py diff --git a/lldb/test/types/basic_type.cpp b/lldb/packages/Python/lldbsuite/test/types/basic_type.cpp similarity index 100% rename from lldb/test/types/basic_type.cpp rename to lldb/packages/Python/lldbsuite/test/types/basic_type.cpp diff --git a/lldb/test/types/char.cpp b/lldb/packages/Python/lldbsuite/test/types/char.cpp similarity index 100% rename from lldb/test/types/char.cpp rename to lldb/packages/Python/lldbsuite/test/types/char.cpp diff --git a/lldb/test/types/double.cpp b/lldb/packages/Python/lldbsuite/test/types/double.cpp similarity index 100% rename from lldb/test/types/double.cpp rename to lldb/packages/Python/lldbsuite/test/types/double.cpp diff --git a/lldb/test/types/float.cpp b/lldb/packages/Python/lldbsuite/test/types/float.cpp similarity index 100% rename from lldb/test/types/float.cpp rename to lldb/packages/Python/lldbsuite/test/types/float.cpp diff --git a/lldb/test/types/int.cpp b/lldb/packages/Python/lldbsuite/test/types/int.cpp similarity index 100% rename from lldb/test/types/int.cpp rename to lldb/packages/Python/lldbsuite/test/types/int.cpp diff --git a/lldb/test/types/long.cpp b/lldb/packages/Python/lldbsuite/test/types/long.cpp similarity index 100% rename from lldb/test/types/long.cpp rename to lldb/packages/Python/lldbsuite/test/types/long.cpp diff --git a/lldb/test/types/long_long.cpp b/lldb/packages/Python/lldbsuite/test/types/long_long.cpp similarity index 100% rename from lldb/test/types/long_long.cpp rename to lldb/packages/Python/lldbsuite/test/types/long_long.cpp diff --git a/lldb/test/types/recursive_type_1.cpp b/lldb/packages/Python/lldbsuite/test/types/recursive_type_1.cpp similarity index 100% rename from lldb/test/types/recursive_type_1.cpp rename to lldb/packages/Python/lldbsuite/test/types/recursive_type_1.cpp diff --git a/lldb/test/types/recursive_type_2.cpp b/lldb/packages/Python/lldbsuite/test/types/recursive_type_2.cpp similarity index 100% rename from lldb/test/types/recursive_type_2.cpp rename to lldb/packages/Python/lldbsuite/test/types/recursive_type_2.cpp diff --git a/lldb/test/types/recursive_type_main.cpp b/lldb/packages/Python/lldbsuite/test/types/recursive_type_main.cpp similarity index 100% rename from lldb/test/types/recursive_type_main.cpp rename to lldb/packages/Python/lldbsuite/test/types/recursive_type_main.cpp diff --git a/lldb/test/types/short.cpp b/lldb/packages/Python/lldbsuite/test/types/short.cpp similarity index 100% rename from lldb/test/types/short.cpp rename to lldb/packages/Python/lldbsuite/test/types/short.cpp diff --git a/lldb/test/types/unsigned_char.cpp b/lldb/packages/Python/lldbsuite/test/types/unsigned_char.cpp similarity index 100% rename from lldb/test/types/unsigned_char.cpp rename to lldb/packages/Python/lldbsuite/test/types/unsigned_char.cpp diff --git a/lldb/test/types/unsigned_int.cpp b/lldb/packages/Python/lldbsuite/test/types/unsigned_int.cpp similarity index 100% rename from lldb/test/types/unsigned_int.cpp rename to lldb/packages/Python/lldbsuite/test/types/unsigned_int.cpp diff --git a/lldb/test/types/unsigned_long.cpp b/lldb/packages/Python/lldbsuite/test/types/unsigned_long.cpp similarity index 100% rename from lldb/test/types/unsigned_long.cpp rename to lldb/packages/Python/lldbsuite/test/types/unsigned_long.cpp diff --git a/lldb/test/types/unsigned_long_long.cpp b/lldb/packages/Python/lldbsuite/test/types/unsigned_long_long.cpp similarity index 100% rename from lldb/test/types/unsigned_long_long.cpp rename to lldb/packages/Python/lldbsuite/test/types/unsigned_long_long.cpp diff --git a/lldb/test/types/unsigned_short.cpp b/lldb/packages/Python/lldbsuite/test/types/unsigned_short.cpp similarity index 100% rename from lldb/test/types/unsigned_short.cpp rename to lldb/packages/Python/lldbsuite/test/types/unsigned_short.cpp diff --git a/lldb/packages/Python/lldbsuite/test/use_lldb_suite.py b/lldb/packages/Python/lldbsuite/test/use_lldb_suite.py new file mode 100644 index 0000000000000000000000000000000000000000..3dbcbb917005420753a20fd5d2a35fedcd819004 --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/use_lldb_suite.py @@ -0,0 +1,22 @@ +import inspect +import os +import sys + +def find_lldb_root(): + lldb_root = os.path.dirname(inspect.getfile(inspect.currentframe())) + while True: + lldb_root = os.path.dirname(lldb_root) + if lldb_root is None: + return None + + test_path = os.path.join(lldb_root, "lldb.root") + if os.path.isfile(test_path): + return lldb_root + return None + +lldb_root = find_lldb_root() +if lldb_root is not None: + import imp + module = imp.find_module("use_lldb_suite_root", [lldb_root]) + if module is not None: + imp.load_module("use_lldb_suite_root", *module) diff --git a/lldb/test/warnings/uuid/Makefile b/lldb/packages/Python/lldbsuite/test/warnings/uuid/Makefile similarity index 100% rename from lldb/test/warnings/uuid/Makefile rename to lldb/packages/Python/lldbsuite/test/warnings/uuid/Makefile diff --git a/lldb/test/warnings/uuid/TestAddDsymCommand.py b/lldb/packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.py similarity index 100% rename from lldb/test/warnings/uuid/TestAddDsymCommand.py rename to lldb/packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.py diff --git a/lldb/test/warnings/uuid/main.cpp.template b/lldb/packages/Python/lldbsuite/test/warnings/uuid/main.cpp.template similarity index 100% rename from lldb/test/warnings/uuid/main.cpp.template rename to lldb/packages/Python/lldbsuite/test/warnings/uuid/main.cpp.template diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py index 2571af20127c9c90ce07de350228743745b24b65..d5ebe41d43279d0b36d6e606db0b65d22e4d5d2d 100755 --- a/lldb/test/dotest.py +++ b/lldb/test/dotest.py @@ -1,2039 +1,4 @@ -#!/usr/bin/env python - -""" -A simple testing framework for lldb using python's unit testing framework. - -Tests for lldb are written as python scripts which take advantage of the script -bridging provided by LLDB.framework to interact with lldb core. - -A specific naming pattern is followed by the .py script to be recognized as -a module which implements a test scenario, namely, Test*.py. - -To specify the directories where "Test*.py" python test scripts are located, -you need to pass in a list of directory names. By default, the current -working directory is searched if nothing is specified on the command line. - -Type: - -./dotest.py -h - -for available options. -""" - -from __future__ import print_function - import use_lldb_suite -import atexit -import commands -import importlib -import os -import dotest_args -import errno -import platform -import progress -import signal -import socket -import subprocess -import sys -import test_results -from test_results import EventBuilder -import inspect -import unittest2 -import lldbtest_config -import test_categories - -import six - -def is_exe(fpath): - """Returns true if fpath is an executable.""" - return os.path.isfile(fpath) and os.access(fpath, os.X_OK) - -def which(program): - """Returns the full path to a program; None otherwise.""" - fpath, fname = os.path.split(program) - if fpath: - if is_exe(program): - return program - else: - for path in os.environ["PATH"].split(os.pathsep): - exe_file = os.path.join(path, program) - if is_exe(exe_file): - return exe_file - return None - -class _WritelnDecorator(object): - """Used to decorate file-like objects with a handy 'writeln' method""" - def __init__(self,stream): - self.stream = stream - - def __getattr__(self, attr): - if attr in ('stream', '__getstate__'): - raise AttributeError(attr) - return getattr(self.stream,attr) - - def writeln(self, arg=None): - if arg: - self.write(arg) - self.write('\n') # text-mode streams translate to \r\n if needed - -# -# Global variables: -# - -# The test suite. -suite = unittest2.TestSuite() - -# By default, benchmarks tests are not run. -just_do_benchmarks_test = False - -dont_do_dsym_test = False -dont_do_dwarf_test = False -dont_do_dwo_test = False - -# The blacklist is optional (-b blacklistFile) and allows a central place to skip -# testclass's and/or testclass.testmethod's. -blacklist = None - -# The dictionary as a result of sourcing blacklistFile. -blacklistConfig = {} - -# The list of categories we said we care about -categoriesList = None -# set to true if we are going to use categories for cherry-picking test cases -useCategories = False -# Categories we want to skip -skipCategories = [] -# use this to track per-category failures -failuresPerCategory = {} - -# The path to LLDB.framework is optional. -lldbFrameworkPath = None - -# The config file is optional. -configFile = None - -# Test suite repeat count. Can be overwritten with '-# count'. -count = 1 - -# The dictionary as a result of sourcing configFile. -config = {} -# The pre_flight and post_flight functions come from reading a config file. -pre_flight = None -post_flight = None -# So do the lldbtest_remote_sandbox and lldbtest_remote_shell_template variables. -lldbtest_remote_sandbox = None -lldbtest_remote_shell_template = None - -# The 'archs' and 'compilers' can be specified via either command line or configFile, -# with the command line overriding the configFile. The corresponding options can be -# specified more than once. For example, "-A x86_64 -A i386" => archs=['x86_64', 'i386'] -# and "-C gcc -C clang" => compilers=['gcc', 'clang']. -archs = None # Must be initialized after option parsing -compilers = None # Must be initialized after option parsing - -# The arch might dictate some specific CFLAGS to be passed to the toolchain to build -# the inferior programs. The global variable cflags_extras provides a hook to do -# just that. -cflags_extras = '' - -# Dump the Python sys.path variable. Use '-D' to dump sys.path. -dumpSysPath = False - -# Full path of the benchmark executable, as specified by the '-e' option. -bmExecutable = None -# The breakpoint specification of bmExecutable, as specified by the '-x' option. -bmBreakpointSpec = None -# The benchmark iteration count, as specified by the '-y' option. -bmIterationCount = -1 - -# By default, don't exclude any directories. Use '-X' to add one excluded directory. -excluded = set(['.svn', '.git']) - -# By default, failfast is False. Use '-F' to overwrite it. -failfast = False - -# The filters (testclass.testmethod) used to admit tests into our test suite. -filters = [] - -# The runhooks is a list of lldb commands specifically for the debugger. -# Use '-k' to specify a runhook. -runHooks = [] - -# If '-g' is specified, the filterspec is not exclusive. If a test module does -# not contain testclass.testmethod which matches the filterspec, the whole test -# module is still admitted into our test suite. fs4all flag defaults to True. -fs4all = True - -# Ignore the build search path relative to this script to locate the lldb.py module. -ignore = False - -# By default, we do not skip build and cleanup. Use '-S' option to override. -skip_build_and_cleanup = False - -# By default, we skip long running test case. Use '-l' option to override. -skip_long_running_test = True - -# By default, we print the build dir, lldb version, and svn info. Use '-n' option to -# turn it off. -noHeaders = False - -# Parsable mode silences headers, and any other output this script might generate, and instead -# prints machine-readable output similar to what clang tests produce. -parsable = False - -# The regular expression pattern to match against eligible filenames as our test cases. -regexp = None - -# By default, tests are executed in place and cleanups are performed afterwards. -# Use '-r dir' option to relocate the tests and their intermediate files to a -# different directory and to forgo any cleanups. The directory specified must -# not exist yet. -rdir = None - -# By default, recorded session info for errored/failed test are dumped into its -# own file under a session directory named after the timestamp of the test suite -# run. Use '-s session-dir-name' to specify a specific dir name. -sdir_name = None - -# Set this flag if there is any session info dumped during the test run. -sdir_has_content = False - -# svn_info stores the output from 'svn info lldb.base.dir'. -svn_info = '' - -# svn_silent means do not try to obtain svn status -svn_silent = True - -# Default verbosity is 0. -verbose = 1 - -# Set to True only if verbose is 0 and LLDB trace mode is off. -progress_bar = False - -# By default, search from the script directory. -# We can't use sys.path[0] to determine the script directory -# because it doesn't work under a debugger -testdirs = [ os.path.dirname(os.path.realpath(__file__)) ] - -# Separator string. -separator = '-' * 70 - -failed = False - -# LLDB Remote platform setting -lldb_platform_name = None -lldb_platform_url = None -lldb_platform_working_dir = None - -# Parallel execution settings -is_inferior_test_runner = False -multiprocess_test_subdir = None -num_threads = None -output_on_success = False -no_multiprocess_test_runner = False -test_runner_name = None - -# Test results handling globals -results_filename = None -results_port = None -results_file_object = None -results_formatter_name = None -results_formatter_object = None -results_formatter_options = None - -# The names of all tests. Used to assert we don't have two tests with the same base name. -all_tests = set() - -def usage(parser): - parser.print_help() - if verbose > 0: - print(""" -Examples: - -This is an example of using the -f option to pinpoint to a specific test class -and test method to be run: - -$ ./dotest.py -f ClassTypesTestCase.test_with_dsym_and_run_command ----------------------------------------------------------------------- -Collected 1 test - -test_with_dsym_and_run_command (TestClassTypes.ClassTypesTestCase) -Test 'frame variable this' when stopped on a class constructor. ... ok - ----------------------------------------------------------------------- -Ran 1 test in 1.396s - -OK - -And this is an example of using the -p option to run a single file (the filename -matches the pattern 'ObjC' and it happens to be 'TestObjCMethods.py'): - -$ ./dotest.py -v -p ObjC ----------------------------------------------------------------------- -Collected 4 tests - -test_break_with_dsym (TestObjCMethods.FoundationTestCase) -Test setting objc breakpoints using '_regexp-break' and 'breakpoint set'. ... ok -test_break_with_dwarf (TestObjCMethods.FoundationTestCase) -Test setting objc breakpoints using '_regexp-break' and 'breakpoint set'. ... ok -test_data_type_and_expr_with_dsym (TestObjCMethods.FoundationTestCase) -Lookup objective-c data types and evaluate expressions. ... ok -test_data_type_and_expr_with_dwarf (TestObjCMethods.FoundationTestCase) -Lookup objective-c data types and evaluate expressions. ... ok - ----------------------------------------------------------------------- -Ran 4 tests in 16.661s - -OK - -Running of this script also sets up the LLDB_TEST environment variable so that -individual test cases can locate their supporting files correctly. The script -tries to set up Python's search paths for modules by looking at the build tree -relative to this script. See also the '-i' option in the following example. - -Finally, this is an example of using the lldb.py module distributed/installed by -Xcode4 to run against the tests under the 'forward' directory, and with the '-w' -option to add some delay between two tests. It uses ARCH=x86_64 to specify that -as the architecture and CC=clang to specify the compiler used for the test run: - -$ PYTHONPATH=/Xcode4/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/Python ARCH=x86_64 CC=clang ./dotest.py -v -w -i forward - -Session logs for test failures/errors will go into directory '2010-11-11-13_56_16' ----------------------------------------------------------------------- -Collected 2 tests - -test_with_dsym_and_run_command (TestForwardDeclaration.ForwardDeclarationTestCase) -Display *bar_ptr when stopped on a function with forward declaration of struct bar. ... ok -test_with_dwarf_and_run_command (TestForwardDeclaration.ForwardDeclarationTestCase) -Display *bar_ptr when stopped on a function with forward declaration of struct bar. ... ok - ----------------------------------------------------------------------- -Ran 2 tests in 5.659s - -OK - -The 'Session ...' verbiage is recently introduced (see also the '-s' option) to -notify the directory containing the session logs for test failures or errors. -In case there is any test failure/error, a similar message is appended at the -end of the stderr output for your convenience. - -ENABLING LOGS FROM TESTS - -Option 1: - -Writing logs into different files per test case:: - -This option is particularly useful when multiple dotest instances are created -by dosep.py - -$ ./dotest.py --channel "lldb all" - -$ ./dotest.py --channel "lldb all" --channel "gdb-remote packets" - -These log files are written to: - -/-host.log (logs from lldb host process) -/-server.log (logs from debugserver/lldb-server) -/-.log (console logs) - -By default, logs from successful runs are deleted. Use the --log-success flag -to create reference logs for debugging. - -$ ./dotest.py --log-success - -Option 2: (DEPRECATED) - -The following options can only enable logs from the host lldb process. -Only categories from the "lldb" or "gdb-remote" channels can be enabled -They also do not automatically enable logs in locally running debug servers. -Also, logs from all test case are written into each log file - -o LLDB_LOG: if defined, specifies the log file pathname for the 'lldb' subsystem - with a default option of 'event process' if LLDB_LOG_OPTION is not defined. - -o GDB_REMOTE_LOG: if defined, specifies the log file pathname for the - 'process.gdb-remote' subsystem with a default option of 'packets' if - GDB_REMOTE_LOG_OPTION is not defined. - -""") - sys.exit(0) - - -def setCrashInfoHook_Mac(text): - import crashinfo - crashinfo.setCrashReporterDescription(text) - -# implement this in some suitable way for your platform, and then bind it -# to setCrashInfoHook -def setCrashInfoHook_NonMac(text): - pass - -setCrashInfoHook = None - -def deleteCrashInfoDylib(dylib_path): - try: - # Need to modify this to handle multiple tests running at the same time. If we move this - # to the test's real dir, all should be we run sequentially within a test directory. - # os.remove(dylib_path) - None - finally: - pass - -def setupCrashInfoHook(): - global setCrashInfoHook - setCrashInfoHook = setCrashInfoHook_NonMac # safe default - if platform.system() == "Darwin": - import lock - test_dir = os.environ['LLDB_TEST'] - if not test_dir or not os.path.exists(test_dir): - return - dylib_lock = os.path.join(test_dir,"crashinfo.lock") - dylib_src = os.path.join(test_dir,"crashinfo.c") - dylib_dst = os.path.join(test_dir,"crashinfo.so") - try: - compile_lock = lock.Lock(dylib_lock) - compile_lock.acquire() - if not os.path.isfile(dylib_dst) or os.path.getmtime(dylib_dst) < os.path.getmtime(dylib_src): - # we need to compile - cmd = "SDKROOT= xcrun clang %s -o %s -framework Python -Xlinker -dylib -iframework /System/Library/Frameworks/ -Xlinker -F /System/Library/Frameworks/" % (dylib_src,dylib_dst) - if subprocess.call(cmd,shell=True) != 0 or not os.path.isfile(dylib_dst): - raise Exception('command failed: "{}"'.format(cmd)) - finally: - compile_lock.release() - del compile_lock - - setCrashInfoHook = setCrashInfoHook_Mac - - else: - pass - -def shouldSkipBecauseOfCategories(test_categories): - global useCategories, categoriesList, skipCategories - - if useCategories: - if len(test_categories) == 0 or len(categoriesList & set(test_categories)) == 0: - return True - - for category in skipCategories: - if category in test_categories: - return True - - return False - -def parseOptionsAndInitTestdirs(): - """Initialize the list of directories containing our unittest scripts. - - '-h/--help as the first option prints out usage info and exit the program. - """ - - global just_do_benchmarks_test - global dont_do_dsym_test - global dont_do_dwarf_test - global dont_do_dwo_test - global blacklist - global blacklistConfig - global categoriesList - global validCategories - global useCategories - global skipCategories - global lldbFrameworkPath - global configFile - global archs - global compilers - global count - global dumpSysPath - global bmExecutable - global bmBreakpointSpec - global bmIterationCount - global failfast - global filters - global fs4all - global ignore - global progress_bar - global runHooks - global skip_build_and_cleanup - global skip_long_running_test - global noHeaders - global parsable - global regexp - global rdir - global sdir_name - global svn_silent - global verbose - global testdirs - global lldb_platform_name - global lldb_platform_url - global lldb_platform_working_dir - global setCrashInfoHook - global is_inferior_test_runner - global multiprocess_test_subdir - global num_threads - global output_on_success - global no_multiprocess_test_runner - global test_runner_name - global results_filename - global results_formatter_name - global results_formatter_options - global results_port - - do_help = False - - platform_system = platform.system() - platform_machine = platform.machine() - - parser = dotest_args.create_parser() - args = dotest_args.parse_args(parser, sys.argv[1:]) - - if args.unset_env_varnames: - for env_var in args.unset_env_varnames: - if env_var in os.environ: - # From Python Doc: When unsetenv() is supported, deletion of items in os.environ - # is automatically translated into a corresponding call to unsetenv(). - del os.environ[env_var] - #os.unsetenv(env_var) - - if args.set_env_vars: - for env_var in args.set_env_vars: - parts = env_var.split('=', 1) - if len(parts) == 1: - os.environ[parts[0]] = "" - else: - os.environ[parts[0]] = parts[1] - - # only print the args if being verbose (and parsable is off) - if args.v and not args.q: - print(sys.argv) - - if args.h: - do_help = True - - if args.compilers: - compilers = args.compilers - else: - # Use a compiler appropriate appropriate for the Apple SDK if one was specified - if platform_system == 'Darwin' and args.apple_sdk: - compilers = [commands.getoutput('xcrun -sdk "%s" -find clang 2> /dev/null' % (args.apple_sdk))] - else: - # 'clang' on ubuntu 14.04 is 3.4 so we try clang-3.5 first - candidateCompilers = ['clang-3.5', 'clang', 'gcc'] - for candidate in candidateCompilers: - if which(candidate): - compilers = [candidate] - break - - if args.channels: - lldbtest_config.channels = args.channels - - if args.log_success: - lldbtest_config.log_success = args.log_success - - # Set SDKROOT if we are using an Apple SDK - if platform_system == 'Darwin' and args.apple_sdk: - os.environ['SDKROOT'] = commands.getoutput('xcrun --sdk "%s" --show-sdk-path 2> /dev/null' % (args.apple_sdk)) - - if args.archs: - archs = args.archs - for arch in archs: - if arch.startswith('arm') and platform_system == 'Darwin' and not args.apple_sdk: - os.environ['SDKROOT'] = commands.getoutput('xcrun --sdk iphoneos.internal --show-sdk-path 2> /dev/null') - if not os.path.exists(os.environ['SDKROOT']): - os.environ['SDKROOT'] = commands.getoutput('xcrun --sdk iphoneos --show-sdk-path 2> /dev/null') - else: - archs = [platform_machine] - - if args.categoriesList: - categoriesList = set(test_categories.validate(args.categoriesList, False)) - useCategories = True - else: - categoriesList = [] - - if args.skipCategories: - skipCategories = test_categories.validate(args.skipCategories, False) - - if args.D: - dumpSysPath = True - - if args.E: - cflags_extras = args.E - os.environ['CFLAGS_EXTRAS'] = cflags_extras - - # argparse makes sure we have correct options - if args.N == 'dwarf': - dont_do_dwarf_test = True - elif args.N == 'dwo': - dont_do_dwo_test = True - elif args.N == 'dsym': - dont_do_dsym_test = True - - if args.a or args.plus_a: - print("Options '-a' and '+a' have been deprecated. Please use the test category\n" - "functionality (-G pyapi, --skip-category pyapi) instead.") - sys.exit(1) - - if args.m or args.plus_m: - print("Options '-m' and '+m' have been deprecated. Please use the test category\n" - "functionality (-G lldb-mi, --skip-category lldb-mi) instead.") - sys.exit(1) - - if args.plus_b: - just_do_benchmarks_test = True - - if args.b: - if args.b.startswith('-'): - usage(parser) - blacklistFile = args.b - if not os.path.isfile(blacklistFile): - print('Blacklist file:', blacklistFile, 'does not exist!') - usage(parser) - # Now read the blacklist contents and assign it to blacklist. - execfile(blacklistFile, globals(), blacklistConfig) - blacklist = blacklistConfig.get('blacklist') - - if args.c: - if args.c.startswith('-'): - usage(parser) - configFile = args.c - if not os.path.isfile(configFile): - print('Config file:', configFile, 'does not exist!') - usage(parser) - - if args.d: - sys.stdout.write("Suspending the process %d to wait for debugger to attach...\n" % os.getpid()) - sys.stdout.flush() - os.kill(os.getpid(), signal.SIGSTOP) - - if args.e: - if args.e.startswith('-'): - usage(parser) - bmExecutable = args.e - if not is_exe(bmExecutable): - usage(parser) - - if args.F: - failfast = True - - if args.f: - if any([x.startswith('-') for x in args.f]): - usage(parser) - filters.extend(args.f) - # Shut off multiprocessing mode when additional filters are specified. - # The rational is that the user is probably going after a very specific - # test and doesn't need a bunch of parallel test runners all looking for - # it in a frenzy. Also, '-v' now spits out all test run output even - # on success, so the standard recipe for redoing a failing test (with -v - # and a -f to filter to the specific test) now causes all test scanning - # (in parallel) to print results for do-nothing runs in a very distracting - # manner. If we really need filtered parallel runs in the future, consider - # adding a --no-output-on-success that prevents -v from setting - # output-on-success. - no_multiprocess_test_runner = True - - if args.g: - fs4all = False - - if args.i: - ignore = True - - if args.k: - runHooks.extend(args.k) - - if args.l: - skip_long_running_test = False - - if args.framework: - lldbFrameworkPath = args.framework - - if args.executable: - lldbtest_config.lldbExec = args.executable - - if args.libcxx: - os.environ["LIBCXX_PATH"] = args.libcxx - - if args.n: - noHeaders = True - - if args.p: - if args.p.startswith('-'): - usage(parser) - regexp = args.p - - if args.q: - noHeaders = True - parsable = True - - if args.P and not args.v: - progress_bar = True - verbose = 0 - - if args.R: - if args.R.startswith('-'): - usage(parser) - rdir = os.path.abspath(args.R) - if os.path.exists(rdir): - import shutil - print('Removing tree:', rdir) - shutil.rmtree(rdir) - - if args.r: - if args.r.startswith('-'): - usage(parser) - rdir = os.path.abspath(args.r) - if os.path.exists(rdir): - print('Relocated directory:', rdir, 'must not exist!') - usage(parser) - - if args.S: - skip_build_and_cleanup = True - - if args.s: - if args.s.startswith('-'): - usage(parser) - sdir_name = args.s - - if args.t: - os.environ['LLDB_COMMAND_TRACE'] = 'YES' - - if args.T: - svn_silent = False - - if args.v: - verbose = 2 - - if args.w: - os.environ['LLDB_WAIT_BETWEEN_TEST_CASES'] = 'YES' - - if args.X: - if args.X.startswith('-'): - usage(parser) - excluded.add(args.X) - - if args.x: - if args.x.startswith('-'): - usage(parser) - bmBreakpointSpec = args.x - - # argparse makes sure we have a number - if args.y: - bmIterationCount = args.y - - # argparse makes sure we have a number - if args.sharp: - count = args.sharp - - if sys.platform.startswith('win32'): - os.environ['LLDB_DISABLE_CRASH_DIALOG'] = str(args.disable_crash_dialog) - os.environ['LLDB_LAUNCH_INFERIORS_WITHOUT_CONSOLE'] = str(args.hide_inferior_console) - - if do_help == True: - usage(parser) - - if args.no_multiprocess: - no_multiprocess_test_runner = True - - if args.inferior: - is_inferior_test_runner = True - - # Turn on output_on_sucess if either explicitly added or -v specified. - if args.output_on_success or args.v: - output_on_success = True - - if args.num_threads: - num_threads = args.num_threads - - if args.test_subdir: - multiprocess_test_subdir = args.test_subdir - - if args.test_runner_name: - test_runner_name = args.test_runner_name - - # Capture test results-related args. - if args.results_file: - results_filename = args.results_file - - if args.results_port: - results_port = args.results_port - - if args.results_file and args.results_port: - sys.stderr.write( - "only one of --results-file and --results-port should " - "be specified\n") - usage(args) - - if args.results_formatter: - results_formatter_name = args.results_formatter - if args.results_formatter_options: - results_formatter_options = args.results_formatter_options - - if args.lldb_platform_name: - lldb_platform_name = args.lldb_platform_name - if args.lldb_platform_url: - lldb_platform_url = args.lldb_platform_url - if args.lldb_platform_working_dir: - lldb_platform_working_dir = args.lldb_platform_working_dir - - if args.event_add_entries and len(args.event_add_entries) > 0: - entries = {} - # Parse out key=val pairs, separated by comma - for keyval in args.event_add_entries.split(","): - key_val_entry = keyval.split("=") - if len(key_val_entry) == 2: - (key, val) = key_val_entry - val_parts = val.split(':') - if len(val_parts) > 1: - (val, val_type) = val_parts - if val_type == 'int': - val = int(val) - entries[key] = val - # Tell the event builder to create all events with these - # key/val pairs in them. - if len(entries) > 0: - test_results.EventBuilder.add_entries_to_all_events(entries) - - # Gather all the dirs passed on the command line. - if len(args.args) > 0: - testdirs = list(map(os.path.abspath, args.args)) - # Shut off multiprocessing mode when test directories are specified. - no_multiprocess_test_runner = True - - # If '-r dir' is specified, the tests should be run under the relocated - # directory. Let's copy the testdirs over. - if rdir: - from shutil import copytree, ignore_patterns - - tmpdirs = [] - orig_testdirs = testdirs[:] - for srcdir in testdirs: - # For example, /Volumes/data/lldb/svn/ToT/test/functionalities/watchpoint/hello_watchpoint - # shall be split into ['/Volumes/data/lldb/svn/ToT/', 'functionalities/watchpoint/hello_watchpoint']. - # Utilize the relative path to the 'test' directory to make our destination dir path. - if ("test" + os.sep) in srcdir: - to_split_on = "test" + os.sep - else: - to_split_on = "test" - dstdir = os.path.join(rdir, srcdir.split(to_split_on)[1]) - dstdir = dstdir.rstrip(os.sep) - # Don't copy the *.pyc and .svn stuffs. - copytree(srcdir, dstdir, ignore=ignore_patterns('*.pyc', '.svn')) - tmpdirs.append(dstdir) - - # This will be our modified testdirs. - testdirs = tmpdirs - - # With '-r dir' specified, there's no cleanup of intermediate test files. - os.environ["LLDB_DO_CLEANUP"] = 'NO' - - # If the original testdirs is ['test'], the make directory has already been copied - # recursively and is contained within the rdir/test dir. For anything - # else, we would need to copy over the make directory and its contents, - # so that, os.listdir(rdir) looks like, for example: - # - # array_types conditional_break make - # - # where the make directory contains the Makefile.rules file. - if len(testdirs) != 1 or os.path.basename(orig_testdirs[0]) != 'test': - scriptdir = os.path.dirname(__file__) - # Don't copy the .svn stuffs. - copytree(os.path.join(scriptdir, 'make'), os.path.join(rdir, 'make'), - ignore=ignore_patterns('.svn')) - - #print("testdirs:", testdirs) - - # Source the configFile if specified. - # The side effect, if any, will be felt from this point on. An example - # config file may be these simple two lines: - # - # sys.stderr = open("/tmp/lldbtest-stderr", "w") - # sys.stdout = open("/tmp/lldbtest-stdout", "w") - # - # which will reassign the two file objects to sys.stderr and sys.stdout, - # respectively. - # - # See also lldb-trunk/examples/test/usage-config. - global config, pre_flight, post_flight, lldbtest_remote_sandbox, lldbtest_remote_shell_template - if configFile: - # Pass config (a dictionary) as the locals namespace for side-effect. - execfile(configFile, globals(), config) - #print("config:", config) - if "pre_flight" in config: - pre_flight = config["pre_flight"] - if not six.callable(pre_flight): - print("fatal error: pre_flight is not callable, exiting.") - sys.exit(1) - if "post_flight" in config: - post_flight = config["post_flight"] - if not six.callable(post_flight): - print("fatal error: post_flight is not callable, exiting.") - sys.exit(1) - if "lldbtest_remote_sandbox" in config: - lldbtest_remote_sandbox = config["lldbtest_remote_sandbox"] - if "lldbtest_remote_shell_template" in config: - lldbtest_remote_shell_template = config["lldbtest_remote_shell_template"] - #print("sys.stderr:", sys.stderr) - #print("sys.stdout:", sys.stdout) - -def getXcodeOutputPaths(lldbRootDirectory): - result = [] - - # These are for xcode build directories. - xcode3_build_dir = ['build'] - xcode4_build_dir = ['build', 'lldb', 'Build', 'Products'] - - configurations = [['Debug'], ['DebugClang'], ['Release'], ['BuildAndIntegration']] - xcode_build_dirs = [xcode3_build_dir, xcode4_build_dir] - for configuration in configurations: - for xcode_build_dir in xcode_build_dirs: - outputPath = os.path.join(lldbRootDirectory, *(xcode_build_dir+configuration) ) - result.append(outputPath) - - return result - - -def createSocketToLocalPort(port): - def socket_closer(s): - """Close down an opened socket properly.""" - s.shutdown(socket.SHUT_RDWR) - s.close() - - sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - sock.connect(("localhost", port)) - return (sock, lambda: socket_closer(sock)) - - -def setupTestResults(): - """Sets up test results-related objects based on arg settings.""" - global results_filename - global results_file_object - global results_formatter_name - global results_formatter_object - global results_formatter_options - global results_port - - default_formatter_name = None - cleanup_func = None - - if results_filename: - # Open the results file for writing. - if results_filename == 'stdout': - results_file_object = sys.stdout - cleanup_func = None - elif results_filename == 'stderr': - results_file_object = sys.stderr - cleanup_func = None - else: - results_file_object = open(results_filename, "w") - cleanup_func = results_file_object.close - default_formatter_name = "test_results.XunitFormatter" - elif results_port: - # Connect to the specified localhost port. - results_file_object, cleanup_func = createSocketToLocalPort( - results_port) - default_formatter_name = "test_results.RawPickledFormatter" - - if results_file_object: - # We care about the formatter. Choose user-specified or, if - # none specified, use the default for the output type. - if results_formatter_name: - formatter_name = results_formatter_name - else: - formatter_name = default_formatter_name - - # Create an instance of the class. First figure out the package/module. - components = formatter_name.split(".") - module = importlib.import_module(".".join(components[:-1])) - - # Create the class name we need to load. - clazz = getattr(module, components[-1]) - - # Handle formatter options for the results formatter class. - formatter_arg_parser = clazz.arg_parser() - if results_formatter_options and len(results_formatter_options) > 0: - command_line_options = results_formatter_options - else: - command_line_options = [] - - formatter_options = formatter_arg_parser.parse_args( - command_line_options) - - # Create the TestResultsFormatter given the processed options. - results_formatter_object = clazz(results_file_object, formatter_options) - - # Start the results formatter session - we'll only have one - # during a given dotest process invocation. - initialize_event = EventBuilder.bare_event("initialize") - if isMultiprocessTestRunner(): - if test_runner_name is not None and test_runner_name == "serial": - # Only one worker queue here. - worker_count = 1 - else: - # Workers will be the number of threads specified. - worker_count = num_threads - else: - worker_count = 1 - initialize_event["worker_count"] = worker_count - - results_formatter_object.handle_event(initialize_event) - - def shutdown_formatter(): - # Tell the formatter to write out anything it may have - # been saving until the very end (e.g. xUnit results - # can't complete its output until this point). - results_formatter_object.send_terminate_as_needed() - - # And now close out the output file-like object. - if cleanup_func is not None: - cleanup_func() - - atexit.register(shutdown_formatter) - - -def getOutputPaths(lldbRootDirectory): - """ - Returns typical build output paths for the lldb executable - - lldbDirectory - path to the root of the lldb svn/git repo - """ - result = [] - - if sys.platform == 'darwin': - result.extend(getXcodeOutputPaths(lldbRootDirectory)) - - # cmake builds? look for build or build/host folder next to llvm directory - # lldb is located in llvm/tools/lldb so we need to go up three levels - llvmParentDir = os.path.abspath(os.path.join(lldbRootDirectory, os.pardir, os.pardir, os.pardir)) - result.append(os.path.join(llvmParentDir, 'build', 'bin')) - result.append(os.path.join(llvmParentDir, 'build', 'host', 'bin')) - - # some cmake developers keep their build directory beside their lldb directory - lldbParentDir = os.path.abspath(os.path.join(lldbRootDirectory, os.pardir)) - result.append(os.path.join(lldbParentDir, 'build', 'bin')) - result.append(os.path.join(lldbParentDir, 'build', 'host', 'bin')) - - return result - -def setupSysPath(): - """ - Add LLDB.framework/Resources/Python to the search paths for modules. - As a side effect, we also discover the 'lldb' executable and export it here. - """ - - global rdir - global testdirs - global dumpSysPath - global noHeaders - global svn_info - global svn_silent - global lldbFrameworkPath - - # Get the directory containing the current script. - if "DOTEST_PROFILE" in os.environ and "DOTEST_SCRIPT_DIR" in os.environ: - scriptPath = os.environ["DOTEST_SCRIPT_DIR"] - else: - scriptPath = os.path.dirname(os.path.realpath(__file__)) - if not scriptPath.endswith('test'): - print("This script expects to reside in lldb's test directory.") - sys.exit(-1) - - if rdir: - # Set up the LLDB_TEST environment variable appropriately, so that the - # individual tests can be located relatively. - # - # See also lldbtest.TestBase.setUpClass(cls). - if len(testdirs) == 1 and os.path.basename(testdirs[0]) == 'test': - os.environ["LLDB_TEST"] = os.path.join(rdir, 'test') - else: - os.environ["LLDB_TEST"] = rdir - else: - os.environ["LLDB_TEST"] = scriptPath - - # Set up the LLDB_SRC environment variable, so that the tests can locate - # the LLDB source code. - # When this changes over to a package instead of a standalone script, this - # will be `lldbsuite.lldb_root` - os.environ["LLDB_SRC"] = os.path.join(scriptPath, os.pardir) - - pluginPath = os.path.join(scriptPath, 'plugins') - toolsLLDBMIPath = os.path.join(scriptPath, 'tools', 'lldb-mi') - toolsLLDBServerPath = os.path.join(scriptPath, 'tools', 'lldb-server') - - # Insert script dir, plugin dir, lldb-mi dir and lldb-server dir to the sys.path. - sys.path.insert(0, scriptPath) - sys.path.insert(0, pluginPath) - sys.path.insert(0, toolsLLDBMIPath) # Adding test/tools/lldb-mi to the path makes it easy - # to "import lldbmi_testcase" from the MI tests - sys.path.insert(0, toolsLLDBServerPath) # Adding test/tools/lldb-server to the path makes it easy - # to "import lldbgdbserverutils" from the lldb-server tests - - # This is the root of the lldb git/svn checkout - # When this changes over to a package instead of a standalone script, this - # will be `lldbsuite.lldb_root` - lldbRootDirectory = os.path.abspath(os.path.join(scriptPath, os.pardir)) - - # Some of the tests can invoke the 'lldb' command directly. - # We'll try to locate the appropriate executable right here. - - # The lldb executable can be set from the command line - # if it's not set, we try to find it now - # first, we try the environment - if not lldbtest_config.lldbExec: - # First, you can define an environment variable LLDB_EXEC specifying the - # full pathname of the lldb executable. - if "LLDB_EXEC" in os.environ: - lldbtest_config.lldbExec = os.environ["LLDB_EXEC"] - - if not lldbtest_config.lldbExec: - outputPaths = getOutputPaths(lldbRootDirectory) - for outputPath in outputPaths: - candidatePath = os.path.join(outputPath, 'lldb') - if is_exe(candidatePath): - lldbtest_config.lldbExec = candidatePath - break - - if not lldbtest_config.lldbExec: - # Last, check the path - lldbtest_config.lldbExec = which('lldb') - - if lldbtest_config.lldbExec and not is_exe(lldbtest_config.lldbExec): - print("'{}' is not a path to a valid executable".format(lldbtest_config.lldbExec)) - lldbtest_config.lldbExec = None - - if not lldbtest_config.lldbExec: - print("The 'lldb' executable cannot be located. Some of the tests may not be run as a result.") - sys.exit(-1) - - lldbLibDir = os.path.dirname(lldbtest_config.lldbExec) # confusingly, this is the "bin" directory - os.environ["LLDB_LIB_DIR"] = lldbLibDir - lldbImpLibDir = os.path.join(lldbLibDir, '..', 'lib') if sys.platform.startswith('win32') else lldbLibDir - os.environ["LLDB_IMPLIB_DIR"] = lldbImpLibDir - if not noHeaders: - print("LLDB library dir:", os.environ["LLDB_LIB_DIR"]) - print("LLDB import library dir:", os.environ["LLDB_IMPLIB_DIR"]) - os.system('%s -v' % lldbtest_config.lldbExec) - - # Assume lldb-mi is in same place as lldb - # If not found, disable the lldb-mi tests - lldbMiExec = None - if lldbtest_config.lldbExec and is_exe(lldbtest_config.lldbExec + "-mi"): - lldbMiExec = lldbtest_config.lldbExec + "-mi" - if not lldbMiExec: - if not shouldSkipBecauseOfCategories(["lldb-mi"]): - print("The 'lldb-mi' executable cannot be located. The lldb-mi tests can not be run as a result.") - skipCategories.append("lldb-mi") - else: - os.environ["LLDBMI_EXEC"] = lldbMiExec - - # Skip printing svn/git information when running in parsable (lit-test compatibility) mode - if not svn_silent and not parsable: - if os.path.isdir(os.path.join(lldbRootDirectory, '.svn')) and which("svn") is not None: - pipe = subprocess.Popen([which("svn"), "info", lldbRootDirectory], stdout = subprocess.PIPE) - svn_info = pipe.stdout.read() - elif os.path.isdir(os.path.join(lldbRootDirectory, '.git')) and which("git") is not None: - pipe = subprocess.Popen([which("git"), "svn", "info", lldbRootDirectory], stdout = subprocess.PIPE) - svn_info = pipe.stdout.read() - if not noHeaders: - print(svn_info) - - global ignore - - lldbPythonDir = None # The directory that contains 'lldb/__init__.py' - if lldbFrameworkPath: - candidatePath = os.path.join(lldbFrameworkPath, 'Resources', 'Python') - if os.path.isfile(os.path.join(candidatePath, 'lldb/__init__.py')): - lldbPythonDir = candidatePath - if not lldbPythonDir: - print('Resources/Python/lldb/__init__.py was not found in ' + lldbFrameworkPath) - sys.exit(-1) - else: - # The '-i' option is used to skip looking for lldb.py in the build tree. - if ignore: - return - - # If our lldb supports the -P option, use it to find the python path: - init_in_python_dir = os.path.join('lldb', '__init__.py') - - lldb_dash_p_result = subprocess.check_output([lldbtest_config.lldbExec, "-P"], stderr=subprocess.STDOUT) - - if lldb_dash_p_result and not lldb_dash_p_result.startswith(("<", "lldb: invalid option:")) \ - and not lldb_dash_p_result.startswith("Traceback"): - lines = lldb_dash_p_result.splitlines() - - # Workaround for readline vs libedit issue on FreeBSD. If stdout - # is not a terminal Python executes - # rl_variable_bind ("enable-meta-key", "off"); - # This produces a warning with FreeBSD's libedit because the - # enable-meta-key variable is unknown. Not an issue on Apple - # because cpython commit f0ab6f9f0603 added a #ifndef __APPLE__ - # around the call. See http://bugs.python.org/issue19884 for more - # information. For now we just discard the warning output. - if len(lines) >= 1 and lines[0].startswith("bind: Invalid command"): - lines.pop(0) - - # Taking the last line because lldb outputs - # 'Cannot read termcap database;\nusing dumb terminal settings.\n' - # before the path - if len(lines) >= 1 and os.path.isfile(os.path.join(lines[-1], init_in_python_dir)): - lldbPythonDir = lines[-1] - if "freebsd" in sys.platform or "linux" in sys.platform: - os.environ['LLDB_LIB_DIR'] = os.path.join(lldbPythonDir, '..', '..') - - if not lldbPythonDir: - if platform.system() == "Darwin": - python_resource_dir = ['LLDB.framework', 'Resources', 'Python'] - outputPaths = getXcodeOutputPaths() - for outputPath in outputPaths: - candidatePath = os.path.join(outputPath, python_resource_dir) - if os.path.isfile(os.path.join(candidatePath, init_in_python_dir)): - lldbPythonDir = candidatePath - break - - if not lldbPythonDir: - print('This script requires lldb.py to be in either ' + dbgPath + ',', end=' ') - print(relPath + ', or ' + baiPath + '. Some tests might fail.') - else: - print("Unable to load lldb extension module. Possible reasons for this include:") - print(" 1) LLDB was built with LLDB_DISABLE_PYTHON=1") - print(" 2) PYTHONPATH and PYTHONHOME are not set correctly. PYTHONHOME should refer to") - print(" the version of Python that LLDB built and linked against, and PYTHONPATH") - print(" should contain the Lib directory for the same python distro, as well as the") - print(" location of LLDB\'s site-packages folder.") - print(" 3) A different version of Python than that which was built against is exported in") - print(" the system\'s PATH environment variable, causing conflicts.") - print(" 4) The executable '%s' could not be found. Please check " % lldbExecutable) - print(" that it exists and is executable.") - - if lldbPythonDir: - lldbPythonDir = os.path.normpath(lldbPythonDir) - # Some of the code that uses this path assumes it hasn't resolved the Versions... link. - # If the path we've constructed looks like that, then we'll strip out the Versions/A part. - (before, frameWithVersion, after) = lldbPythonDir.rpartition("LLDB.framework/Versions/A") - if frameWithVersion != "" : - lldbPythonDir = before + "LLDB.framework" + after - - lldbPythonDir = os.path.abspath(lldbPythonDir) - - # If tests need to find LLDB_FRAMEWORK, now they can do it - os.environ["LLDB_FRAMEWORK"] = os.path.dirname(os.path.dirname(lldbPythonDir)) - - # This is to locate the lldb.py module. Insert it right after sys.path[0]. - sys.path[1:1] = [lldbPythonDir] - if dumpSysPath: - print("sys.path:", sys.path) - -def visit(prefix, dir, names): - """Visitor function for os.path.walk(path, visit, arg).""" - - global suite - global regexp - global filters - global fs4all - global excluded - global all_tests - - if set(dir.split(os.sep)).intersection(excluded): - #print("Detected an excluded dir component: %s" % dir) - return - - for name in names: - if os.path.isdir(os.path.join(dir, name)): - continue - - if '.py' == os.path.splitext(name)[1] and name.startswith(prefix): - - if name in all_tests: - raise Exception("Found multiple tests with the name %s" % name) - all_tests.add(name) - - # Try to match the regexp pattern, if specified. - if regexp: - import re - if re.search(regexp, name): - #print("Filename: '%s' matches pattern: '%s'" % (name, regexp)) - pass - else: - #print("Filename: '%s' does not match pattern: '%s'" % (name, regexp)) - continue - - # We found a match for our test. Add it to the suite. - - # Update the sys.path first. - if not sys.path.count(dir): - sys.path.insert(0, dir) - base = os.path.splitext(name)[0] - - # Thoroughly check the filterspec against the base module and admit - # the (base, filterspec) combination only when it makes sense. - filterspec = None - for filterspec in filters: - # Optimistically set the flag to True. - filtered = True - module = __import__(base) - parts = filterspec.split('.') - obj = module - for part in parts: - try: - parent, obj = obj, getattr(obj, part) - except AttributeError: - # The filterspec has failed. - filtered = False - break - - # If filtered, we have a good filterspec. Add it. - if filtered: - #print("adding filter spec %s to module %s" % (filterspec, module)) - suite.addTests( - unittest2.defaultTestLoader.loadTestsFromName(filterspec, module)) - continue - - # Forgo this module if the (base, filterspec) combo is invalid - # and no '-g' option is specified - if filters and fs4all and not filtered: - continue - - # Add either the filtered test case(s) (which is done before) or the entire test class. - if not filterspec or not filtered: - # A simple case of just the module name. Also the failover case - # from the filterspec branch when the (base, filterspec) combo - # doesn't make sense. - suite.addTests(unittest2.defaultTestLoader.loadTestsFromName(base)) - - -def disabledynamics(): - import lldb - ci = lldb.DBG.GetCommandInterpreter() - res = lldb.SBCommandReturnObject() - ci.HandleCommand("setting set target.prefer-dynamic-value no-dynamic-values", res, False) - if not res.Succeeded(): - raise Exception('disabling dynamic type support failed') - -def lldbLoggings(): - import lldb - """Check and do lldb loggings if necessary.""" - - # Turn on logging for debugging purposes if ${LLDB_LOG} environment variable is - # defined. Use ${LLDB_LOG} to specify the log file. - ci = lldb.DBG.GetCommandInterpreter() - res = lldb.SBCommandReturnObject() - if ("LLDB_LOG" in os.environ): - open(os.environ["LLDB_LOG"], 'w').close() - if ("LLDB_LOG_OPTION" in os.environ): - lldb_log_option = os.environ["LLDB_LOG_OPTION"] - else: - lldb_log_option = "event process expr state api" - ci.HandleCommand( - "log enable -n -f " + os.environ["LLDB_LOG"] + " lldb " + lldb_log_option, - res) - if not res.Succeeded(): - raise Exception('log enable failed (check LLDB_LOG env variable)') - - if ("LLDB_LINUX_LOG" in os.environ): - open(os.environ["LLDB_LINUX_LOG"], 'w').close() - if ("LLDB_LINUX_LOG_OPTION" in os.environ): - lldb_log_option = os.environ["LLDB_LINUX_LOG_OPTION"] - else: - lldb_log_option = "event process expr state api" - ci.HandleCommand( - "log enable -n -f " + os.environ["LLDB_LINUX_LOG"] + " linux " + lldb_log_option, - res) - if not res.Succeeded(): - raise Exception('log enable failed (check LLDB_LINUX_LOG env variable)') - - # Ditto for gdb-remote logging if ${GDB_REMOTE_LOG} environment variable is defined. - # Use ${GDB_REMOTE_LOG} to specify the log file. - if ("GDB_REMOTE_LOG" in os.environ): - if ("GDB_REMOTE_LOG_OPTION" in os.environ): - gdb_remote_log_option = os.environ["GDB_REMOTE_LOG_OPTION"] - else: - gdb_remote_log_option = "packets process" - ci.HandleCommand( - "log enable -n -f " + os.environ["GDB_REMOTE_LOG"] + " gdb-remote " - + gdb_remote_log_option, - res) - if not res.Succeeded(): - raise Exception('log enable failed (check GDB_REMOTE_LOG env variable)') - -def getMyCommandLine(): - return ' '.join(sys.argv) - -# ======================================== # -# # -# Execution of the test driver starts here # -# # -# ======================================== # - -def checkDsymForUUIDIsNotOn(): - cmd = ["defaults", "read", "com.apple.DebugSymbols"] - pipe = subprocess.Popen(cmd, stdout = subprocess.PIPE, stderr = subprocess.STDOUT) - cmd_output = pipe.stdout.read() - if cmd_output and "DBGFileMappedPaths = " in cmd_output: - print("%s =>" % ' '.join(cmd)) - print(cmd_output) - print("Disable automatic lookup and caching of dSYMs before running the test suite!") - print("Exiting...") - sys.exit(0) - -def exitTestSuite(exitCode = None): - import lldb - lldb.SBDebugger.Terminate() - if exitCode: - sys.exit(exitCode) - - -def isMultiprocessTestRunner(): - # We're not multiprocess when we're either explicitly - # the inferior (as specified by the multiprocess test - # runner) OR we've been told to skip using the multiprocess - # test runner - return not (is_inferior_test_runner or no_multiprocess_test_runner) - -def run_suite(): - global just_do_benchmarks_test - global dont_do_dsym_test - global dont_do_dwarf_test - global dont_do_dwo_test - global blacklist - global blacklistConfig - global categoriesList - global validCategories - global useCategories - global skipCategories - global lldbFrameworkPath - global configFile - global archs - global compilers - global count - global dumpSysPath - global bmExecutable - global bmBreakpointSpec - global bmIterationCount - global failed - global failfast - global filters - global fs4all - global ignore - global progress_bar - global runHooks - global skip_build_and_cleanup - global skip_long_running_test - global noHeaders - global parsable - global regexp - global rdir - global sdir_name - global svn_silent - global verbose - global testdirs - global lldb_platform_name - global lldb_platform_url - global lldb_platform_working_dir - global setCrashInfoHook - global is_inferior_test_runner - global multiprocess_test_subdir - global num_threads - global output_on_success - global no_multiprocess_test_runner - global test_runner_name - global results_filename - global results_formatter_name - global results_formatter_options - global results_port - - # On MacOS X, check to make sure that domain for com.apple.DebugSymbols defaults - # does not exist before proceeding to running the test suite. - if sys.platform.startswith("darwin"): - checkDsymForUUIDIsNotOn() - - # - # Start the actions by first parsing the options while setting up the test - # directories, followed by setting up the search paths for lldb utilities; - # then, we walk the directory trees and collect the tests into our test suite. - # - parseOptionsAndInitTestdirs() - - # Setup test results (test results formatter and output handling). - setupTestResults() - - # If we are running as the multiprocess test runner, kick off the - # multiprocess test runner here. - if isMultiprocessTestRunner(): - import dosep - dosep.main(output_on_success, num_threads, multiprocess_test_subdir, - test_runner_name, results_formatter_object) - raise Exception("should never get here") - elif is_inferior_test_runner: - # Shut off Ctrl-C processing in inferiors. The parallel - # test runner handles this more holistically. - signal.signal(signal.SIGINT, signal.SIG_IGN) - - setupSysPath() - setupCrashInfoHook() - - # - # If '-l' is specified, do not skip the long running tests. - if not skip_long_running_test: - os.environ["LLDB_SKIP_LONG_RUNNING_TEST"] = "NO" - - # For the time being, let's bracket the test runner within the - # lldb.SBDebugger.Initialize()/Terminate() pair. - import lldb - - # Create a singleton SBDebugger in the lldb namespace. - lldb.DBG = lldb.SBDebugger.Create() - - if lldb_platform_name: - print("Setting up remote platform '%s'" % (lldb_platform_name)) - lldb.remote_platform = lldb.SBPlatform(lldb_platform_name) - if not lldb.remote_platform.IsValid(): - print("error: unable to create the LLDB platform named '%s'." % (lldb_platform_name)) - exitTestSuite(1) - if lldb_platform_url: - # We must connect to a remote platform if a LLDB platform URL was specified - print("Connecting to remote platform '%s' at '%s'..." % (lldb_platform_name, lldb_platform_url)) - lldb.platform_url = lldb_platform_url - platform_connect_options = lldb.SBPlatformConnectOptions(lldb_platform_url) - err = lldb.remote_platform.ConnectRemote(platform_connect_options) - if err.Success(): - print("Connected.") - else: - print("error: failed to connect to remote platform using URL '%s': %s" % (lldb_platform_url, err)) - exitTestSuite(1) - else: - lldb.platform_url = None - - if lldb_platform_working_dir: - print("Setting remote platform working directory to '%s'..." % (lldb_platform_working_dir)) - lldb.remote_platform.SetWorkingDirectory(lldb_platform_working_dir) - - lldb.remote_platform_working_dir = lldb_platform_working_dir - lldb.DBG.SetSelectedPlatform(lldb.remote_platform) - else: - lldb.remote_platform = None - lldb.remote_platform_working_dir = None - lldb.platform_url = None - - target_platform = lldb.DBG.GetSelectedPlatform().GetTriple().split('-')[2] - - # By default, both dsym, dwarf and dwo tests are performed. - # Use @dsym_test, @dwarf_test or @dwo_test decorators, defined in lldbtest.py, to mark a test as - # a dsym, dwarf or dwo test. Use '-N dsym', '-N dwarf' or '-N dwo' to exclude dsym, dwarf or - # dwo tests from running. - dont_do_dsym_test = dont_do_dsym_test or any(platform in target_platform for platform in ["linux", "freebsd", "windows"]) - dont_do_dwo_test = dont_do_dwo_test or any(platform in target_platform for platform in ["darwin", "macosx", "ios"]) - - # Don't do debugserver tests on everything except OS X. - dont_do_debugserver_test = "linux" in target_platform or "freebsd" in target_platform or "windows" in target_platform - - # Don't do lldb-server (llgs) tests on anything except Linux. - dont_do_llgs_test = not ("linux" in target_platform) - - # - # Walk through the testdirs while collecting tests. - # - for testdir in testdirs: - os.path.walk(testdir, visit, 'Test') - - # - # Now that we have loaded all the test cases, run the whole test suite. - # - - # Put the blacklist in the lldb namespace, to be used by lldb.TestBase. - lldb.blacklist = blacklist - - # The pre_flight and post_flight come from reading a config file. - lldb.pre_flight = pre_flight - lldb.post_flight = post_flight - def getsource_if_available(obj): - """ - Return the text of the source code for an object if available. Otherwise, - a print representation is returned. - """ - import inspect - try: - return inspect.getsource(obj) - except: - return repr(obj) - - if not noHeaders: - print("lldb.pre_flight:", getsource_if_available(lldb.pre_flight)) - print("lldb.post_flight:", getsource_if_available(lldb.post_flight)) - - # If either pre_flight or post_flight is defined, set lldb.test_remote to True. - if lldb.pre_flight or lldb.post_flight: - lldb.test_remote = True - else: - lldb.test_remote = False - - # So do the lldbtest_remote_sandbox and lldbtest_remote_shell_template variables. - lldb.lldbtest_remote_sandbox = lldbtest_remote_sandbox - lldb.lldbtest_remote_sandboxed_executable = None - lldb.lldbtest_remote_shell_template = lldbtest_remote_shell_template - - # Put all these test decorators in the lldb namespace. - lldb.just_do_benchmarks_test = just_do_benchmarks_test - lldb.dont_do_dsym_test = dont_do_dsym_test - lldb.dont_do_dwarf_test = dont_do_dwarf_test - lldb.dont_do_dwo_test = dont_do_dwo_test - lldb.dont_do_debugserver_test = dont_do_debugserver_test - lldb.dont_do_llgs_test = dont_do_llgs_test - - # Do we need to skip build and cleanup? - lldb.skip_build_and_cleanup = skip_build_and_cleanup - - # Put bmExecutable, bmBreakpointSpec, and bmIterationCount into the lldb namespace, too. - lldb.bmExecutable = bmExecutable - lldb.bmBreakpointSpec = bmBreakpointSpec - lldb.bmIterationCount = bmIterationCount - - # And don't forget the runHooks! - lldb.runHooks = runHooks - - # Turn on lldb loggings if necessary. - lldbLoggings() - - # Disable default dynamic types for testing purposes - disabledynamics() - - # Install the control-c handler. - unittest2.signals.installHandler() - - # If sdir_name is not specified through the '-s sdir_name' option, get a - # timestamp string and export it as LLDB_SESSION_DIR environment var. This will - # be used when/if we want to dump the session info of individual test cases - # later on. - # - # See also TestBase.dumpSessionInfo() in lldbtest.py. - import datetime - # The windows platforms don't like ':' in the pathname. - timestamp_started = datetime.datetime.now().strftime("%Y-%m-%d-%H_%M_%S") - if not sdir_name: - sdir_name = timestamp_started - os.environ["LLDB_SESSION_DIRNAME"] = os.path.join(os.getcwd(), sdir_name) - - if not noHeaders: - sys.stderr.write("\nSession logs for test failures/errors/unexpected successes" - " will go into directory '%s'\n" % sdir_name) - sys.stderr.write("Command invoked: %s\n" % getMyCommandLine()) - - if not os.path.isdir(sdir_name): - try: - os.mkdir(sdir_name) - except OSError as exception: - if exception.errno != errno.EEXIST: - raise - where_to_save_session = os.getcwd() - fname = os.path.join(sdir_name, "TestStarted-%d" % os.getpid()) - with open(fname, "w") as f: - print("Test started at: %s\n" % timestamp_started, file=f) - print(svn_info, file=f) - print("Command invoked: %s\n" % getMyCommandLine(), file=f) - - # - # Invoke the default TextTestRunner to run the test suite, possibly iterating - # over different configurations. - # - - iterArchs = False - iterCompilers = False - - if not archs and "archs" in config: - archs = config["archs"] - - if isinstance(archs, list) and len(archs) >= 1: - iterArchs = True - - if not compilers and "compilers" in config: - compilers = config["compilers"] - - # - # Add some intervention here to sanity check that the compilers requested are sane. - # If found not to be an executable program, the invalid one is dropped from the list. - for i in range(len(compilers)): - c = compilers[i] - if which(c): - continue - else: - if sys.platform.startswith("darwin"): - pipe = subprocess.Popen(['xcrun', '-find', c], stdout = subprocess.PIPE, stderr = subprocess.STDOUT) - cmd_output = pipe.stdout.read() - if cmd_output: - if "not found" in cmd_output: - print("dropping %s from the compilers used" % c) - compilers.remove(i) - else: - compilers[i] = cmd_output.split('\n')[0] - print("'xcrun -find %s' returning %s" % (c, compilers[i])) - - if not parsable: - print("compilers=%s" % str(compilers)) - - if not compilers or len(compilers) == 0: - print("No eligible compiler found, exiting.") - exitTestSuite(1) - - if isinstance(compilers, list) and len(compilers) >= 1: - iterCompilers = True - - # Make a shallow copy of sys.path, we need to manipulate the search paths later. - # This is only necessary if we are relocated and with different configurations. - if rdir: - old_sys_path = sys.path[:] - # If we iterate on archs or compilers, there is a chance we want to split stderr/stdout. - if iterArchs or iterCompilers: - old_stderr = sys.stderr - old_stdout = sys.stdout - new_stderr = None - new_stdout = None - - # Iterating over all possible architecture and compiler combinations. - for ia in range(len(archs) if iterArchs else 1): - archConfig = "" - if iterArchs: - os.environ["ARCH"] = archs[ia] - archConfig = "arch=%s" % archs[ia] - for ic in range(len(compilers) if iterCompilers else 1): - if iterCompilers: - os.environ["CC"] = compilers[ic] - configString = "%s compiler=%s" % (archConfig, compilers[ic]) - else: - configString = archConfig - - if iterArchs or iterCompilers: - # Translate ' ' to '-' for pathname component. - from string import maketrans - tbl = maketrans(' ', '-') - configPostfix = configString.translate(tbl) - - # Check whether we need to split stderr/stdout into configuration - # specific files. - if old_stderr.name != '' and config.get('split_stderr'): - if new_stderr: - new_stderr.close() - new_stderr = open("%s.%s" % (old_stderr.name, configPostfix), "w") - sys.stderr = new_stderr - if old_stdout.name != '' and config.get('split_stdout'): - if new_stdout: - new_stdout.close() - new_stdout = open("%s.%s" % (old_stdout.name, configPostfix), "w") - sys.stdout = new_stdout - - # If we specified a relocated directory to run the test suite, do - # the extra housekeeping to copy the testdirs to a configStringified - # directory and to update sys.path before invoking the test runner. - # The purpose is to separate the configuration-specific directories - # from each other. - if rdir: - from shutil import copytree, rmtree, ignore_patterns - - newrdir = "%s.%s" % (rdir, configPostfix) - - # Copy the tree to a new directory with postfix name configPostfix. - if os.path.exists(newrdir): - rmtree(newrdir) - copytree(rdir, newrdir, ignore=ignore_patterns('*.pyc', '*.o', '*.d')) - - # Update the LLDB_TEST environment variable to reflect new top - # level test directory. - # - # See also lldbtest.TestBase.setUpClass(cls). - if len(testdirs) == 1 and os.path.basename(testdirs[0]) == 'test': - os.environ["LLDB_TEST"] = os.path.join(newrdir, 'test') - else: - os.environ["LLDB_TEST"] = newrdir - - # And update the Python search paths for modules. - sys.path = [x.replace(rdir, newrdir, 1) for x in old_sys_path] - - # Output the configuration. - if not parsable: - sys.stderr.write("\nConfiguration: " + configString + "\n") - - #print("sys.stderr name is", sys.stderr.name) - #print("sys.stdout name is", sys.stdout.name) - - # First, write out the number of collected test cases. - if not parsable: - sys.stderr.write(separator + "\n") - sys.stderr.write("Collected %d test%s\n\n" - % (suite.countTestCases(), - suite.countTestCases() != 1 and "s" or "")) - - class LLDBTestResult(unittest2.TextTestResult): - """ - Enforce a singleton pattern to allow introspection of test progress. - - Overwrite addError(), addFailure(), and addExpectedFailure() methods - to enable each test instance to track its failure/error status. It - is used in the LLDB test framework to emit detailed trace messages - to a log file for easier human inspection of test failures/errors. - """ - __singleton__ = None - __ignore_singleton__ = False - - @staticmethod - def getTerminalSize(): - import os - env = os.environ - def ioctl_GWINSZ(fd): - try: - import fcntl, termios, struct, os - cr = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ, - '1234')) - except: - return - return cr - cr = ioctl_GWINSZ(0) or ioctl_GWINSZ(1) or ioctl_GWINSZ(2) - if not cr: - try: - fd = os.open(os.ctermid(), os.O_RDONLY) - cr = ioctl_GWINSZ(fd) - os.close(fd) - except: - pass - if not cr: - cr = (env.get('LINES', 25), env.get('COLUMNS', 80)) - return int(cr[1]), int(cr[0]) - - def __init__(self, *args): - if not LLDBTestResult.__ignore_singleton__ and LLDBTestResult.__singleton__: - raise Exception("LLDBTestResult instantiated more than once") - super(LLDBTestResult, self).__init__(*args) - LLDBTestResult.__singleton__ = self - # Now put this singleton into the lldb module namespace. - lldb.test_result = self - # Computes the format string for displaying the counter. - global suite - counterWidth = len(str(suite.countTestCases())) - self.fmt = "%" + str(counterWidth) + "d: " - self.indentation = ' ' * (counterWidth + 2) - # This counts from 1 .. suite.countTestCases(). - self.counter = 0 - (width, height) = LLDBTestResult.getTerminalSize() - self.progressbar = None - global progress_bar - if width > 10 and not parsable and progress_bar: - try: - self.progressbar = progress.ProgressWithEvents(stdout=self.stream,start=0,end=suite.countTestCases(),width=width-10) - except: - self.progressbar = None - self.results_formatter = results_formatter_object - - def _config_string(self, test): - compiler = getattr(test, "getCompiler", None) - arch = getattr(test, "getArchitecture", None) - return "%s-%s" % (compiler() if compiler else "", arch() if arch else "") - - def _exc_info_to_string(self, err, test): - """Overrides superclass TestResult's method in order to append - our test config info string to the exception info string.""" - if hasattr(test, "getArchitecture") and hasattr(test, "getCompiler"): - return '%sConfig=%s-%s' % (super(LLDBTestResult, self)._exc_info_to_string(err, test), - test.getArchitecture(), - test.getCompiler()) - else: - return super(LLDBTestResult, self)._exc_info_to_string(err, test) - - def getDescription(self, test): - doc_first_line = test.shortDescription() - if self.descriptions and doc_first_line: - return '\n'.join((str(test), self.indentation + doc_first_line)) - else: - return str(test) - - def getCategoriesForTest(self,test): - if hasattr(test,"_testMethodName"): - test_method = getattr(test,"_testMethodName") - test_method = getattr(test,test_method) - else: - test_method = None - if test_method != None and hasattr(test_method,"getCategories"): - test_categories = test_method.getCategories(test) - elif hasattr(test,"getCategories"): - test_categories = test.getCategories() - elif inspect.ismethod(test) and test.__self__ != None and hasattr(test.__self__,"getCategories"): - test_categories = test.__self__.getCategories() - else: - test_categories = [] - if test_categories == None: - test_categories = [] - return test_categories - - def hardMarkAsSkipped(self,test): - getattr(test, test._testMethodName).__func__.__unittest_skip__ = True - getattr(test, test._testMethodName).__func__.__unittest_skip_why__ = "test case does not fall in any category of interest for this run" - test.__class__.__unittest_skip__ = True - test.__class__.__unittest_skip_why__ = "test case does not fall in any category of interest for this run" - - def startTest(self, test): - if shouldSkipBecauseOfCategories(self.getCategoriesForTest(test)): - self.hardMarkAsSkipped(test) - global setCrashInfoHook - setCrashInfoHook("%s at %s" % (str(test),inspect.getfile(test.__class__))) - self.counter += 1 - #if self.counter == 4: - # import crashinfo - # crashinfo.testCrashReporterDescription(None) - test.test_number = self.counter - if self.showAll: - self.stream.write(self.fmt % self.counter) - super(LLDBTestResult, self).startTest(test) - if self.results_formatter: - self.results_formatter.handle_event( - EventBuilder.event_for_start(test)) - - def addSuccess(self, test): - global parsable - super(LLDBTestResult, self).addSuccess(test) - if parsable: - self.stream.write("PASS: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) - if self.results_formatter: - self.results_formatter.handle_event( - EventBuilder.event_for_success(test)) - - def addError(self, test, err): - global sdir_has_content - global parsable - sdir_has_content = True - super(LLDBTestResult, self).addError(test, err) - method = getattr(test, "markError", None) - if method: - method() - if parsable: - self.stream.write("FAIL: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) - if self.results_formatter: - self.results_formatter.handle_event( - EventBuilder.event_for_error(test, err)) - - def addCleanupError(self, test, err): - global sdir_has_content - global parsable - sdir_has_content = True - super(LLDBTestResult, self).addCleanupError(test, err) - method = getattr(test, "markCleanupError", None) - if method: - method() - if parsable: - self.stream.write("CLEANUP ERROR: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) - if self.results_formatter: - self.results_formatter.handle_event( - EventBuilder.event_for_cleanup_error( - test, err)) - - def addFailure(self, test, err): - global sdir_has_content - global failuresPerCategory - global parsable - sdir_has_content = True - super(LLDBTestResult, self).addFailure(test, err) - method = getattr(test, "markFailure", None) - if method: - method() - if parsable: - self.stream.write("FAIL: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) - if useCategories: - test_categories = self.getCategoriesForTest(test) - for category in test_categories: - if category in failuresPerCategory: - failuresPerCategory[category] = failuresPerCategory[category] + 1 - else: - failuresPerCategory[category] = 1 - if self.results_formatter: - self.results_formatter.handle_event( - EventBuilder.event_for_failure(test, err)) - - - def addExpectedFailure(self, test, err, bugnumber): - global sdir_has_content - global parsable - sdir_has_content = True - super(LLDBTestResult, self).addExpectedFailure(test, err, bugnumber) - method = getattr(test, "markExpectedFailure", None) - if method: - method(err, bugnumber) - if parsable: - self.stream.write("XFAIL: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) - if self.results_formatter: - self.results_formatter.handle_event( - EventBuilder.event_for_expected_failure( - test, err, bugnumber)) - - def addSkip(self, test, reason): - global sdir_has_content - global parsable - sdir_has_content = True - super(LLDBTestResult, self).addSkip(test, reason) - method = getattr(test, "markSkippedTest", None) - if method: - method() - if parsable: - self.stream.write("UNSUPPORTED: LLDB (%s) :: %s (%s) \n" % (self._config_string(test), str(test), reason)) - if self.results_formatter: - self.results_formatter.handle_event( - EventBuilder.event_for_skip(test, reason)) - - def addUnexpectedSuccess(self, test, bugnumber): - global sdir_has_content - global parsable - sdir_has_content = True - super(LLDBTestResult, self).addUnexpectedSuccess(test, bugnumber) - method = getattr(test, "markUnexpectedSuccess", None) - if method: - method(bugnumber) - if parsable: - self.stream.write("XPASS: LLDB (%s) :: %s\n" % (self._config_string(test), str(test))) - if self.results_formatter: - self.results_formatter.handle_event( - EventBuilder.event_for_unexpected_success( - test, bugnumber)) - - - if parsable: - v = 0 - elif progress_bar: - v = 1 - else: - v = verbose - - # Invoke the test runner. - if count == 1: - result = unittest2.TextTestRunner(stream=sys.stderr, - verbosity=v, - failfast=failfast, - resultclass=LLDBTestResult).run(suite) - else: - # We are invoking the same test suite more than once. In this case, - # mark __ignore_singleton__ flag as True so the signleton pattern is - # not enforced. - LLDBTestResult.__ignore_singleton__ = True - for i in range(count): - - result = unittest2.TextTestRunner(stream=sys.stderr, - verbosity=v, - failfast=failfast, - resultclass=LLDBTestResult).run(suite) - - failed = failed or not result.wasSuccessful() - - if sdir_has_content and not parsable: - sys.stderr.write("Session logs for test failures/errors/unexpected successes" - " can be found in directory '%s'\n" % sdir_name) - - if useCategories and len(failuresPerCategory) > 0: - sys.stderr.write("Failures per category:\n") - for category in failuresPerCategory: - sys.stderr.write("%s - %d\n" % (category,failuresPerCategory[category])) - - os.chdir(where_to_save_session) - fname = os.path.join(sdir_name, "TestFinished-%d" % os.getpid()) - with open(fname, "w") as f: - print("Test finished at: %s\n" % datetime.datetime.now().strftime("%Y-%m-%d-%H_%M_%S"), file=f) - - # Terminate the test suite if ${LLDB_TESTSUITE_FORCE_FINISH} is defined. - # This should not be necessary now. - if ("LLDB_TESTSUITE_FORCE_FINISH" in os.environ): - print("Terminating Test suite...") - subprocess.Popen(["/bin/sh", "-c", "kill %s; exit 0" % (os.getpid())]) - - # Exiting. - exitTestSuite(failed) - -if __name__ == "__main__": - run_suite() \ No newline at end of file +import lldbsuite.test +lldbsuite.test.run_suite()