[Lldb-commits] [PATCH] D42281: WIP: compile the LLDB tests out-of-tree

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 25 17:38:25 PST 2018


aprantl updated this revision to Diff 131525.
aprantl marked 7 inline comments as done.
aprantl added a comment.

This version actually passes all tests on Darwin. Time to give this a thorough review now!
@zturner: Would you be able to give this a try on Windows and let me know if there are any big problems that I overlooked?

thanks!


https://reviews.llvm.org/D42281

Files:
  packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py
  packages/Python/lldbsuite/test/api/multiple-debuggers/TestMultipleDebuggers.py
  packages/Python/lldbsuite/test/api/multiple-targets/TestMultipleTargets.py
  packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py
  packages/Python/lldbsuite/test/arm/emulation/TestEmulations.py
  packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py
  packages/Python/lldbsuite/test/configuration.py
  packages/Python/lldbsuite/test/darwin_log.py
  packages/Python/lldbsuite/test/dotest.py
  packages/Python/lldbsuite/test/dotest_args.py
  packages/Python/lldbsuite/test/expression_command/call-overridden-method/TestCallOverriddenMethod.py
  packages/Python/lldbsuite/test/expression_command/save_jit_objects/TestSaveJITObjects.py
  packages/Python/lldbsuite/test/expression_command/top-level/Makefile
  packages/Python/lldbsuite/test/expression_command/top-level/TestTopLevelExprs.py
  packages/Python/lldbsuite/test/functionalities/attach_resume/TestAttachResume.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
  packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
  packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py
  packages/Python/lldbsuite/test/functionalities/exec/TestExec.py
  packages/Python/lldbsuite/test/functionalities/fat_archives/Makefile
  packages/Python/lldbsuite/test/functionalities/frame-language/Makefile
  packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py
  packages/Python/lldbsuite/test/functionalities/load_unload/Makefile
  packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py
  packages/Python/lldbsuite/test/functionalities/load_unload/a.mk
  packages/Python/lldbsuite/test/functionalities/plugins/commands/TestPluginCommands.py
  packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
  packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py
  packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py
  packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/TestAttachDenied.py
  packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py
  packages/Python/lldbsuite/test/functionalities/process_launch/my_working_dir/.keep
  packages/Python/lldbsuite/test/functionalities/process_save_core/TestProcessSaveCore.py
  packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py
  packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
  packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/path with '09/.keep
  packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/Makefile
  packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
  packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/breakpoint_delay_breakpoint_one_signal/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/breakpoint_one_delay_breakpoint_threads/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/breakpoints_delayed_breakpoint_one_watchpoint/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/crash_with_break/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/crash_with_signal/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/crash_with_watchpoint/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/crash_with_watchpoint_breakpoint_signal/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/delay_signal_break/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/delay_signal_watch/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/delay_watch_break/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/delayed_crash_with_breakpoint_signal/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/delayed_crash_with_breakpoint_watchpoint/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/many_breakpoints/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/many_crash/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/many_signals/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/many_watchpoints/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/n_watch_n_break/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/signal_break/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/signal_delay_break/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/signal_delay_watch/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/signal_n_watch_n_break/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/signal_watch/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/signal_watch_break/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_breakpoint_threads/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_breakpoints_one_delay_signal/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_breakpoints_one_signal/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_breakpoints_one_watchpoint/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_watchpoint_threads/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_watchpoints_one_breakpoint/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_watchpoints_one_delay_breakpoint/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_watchpoints_one_signal/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/watch_break/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/watch_break_delay/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/watchpoint_delay_watchpoint_one_breakpoint/Makefile
  packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/watchpoint_with_delay_watchpoint_threads/Makefile
  packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py
  packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
  packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/TestWatchpointMultipleSlots.py
  packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
  packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
  packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
  packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
  packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
  packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_disable/TestWatchpointDisable.py
  packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_size/TestWatchpointSizes.py
  packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile
  packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One.mk
  packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two.mk
  packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py
  packages/Python/lldbsuite/test/lang/c/unions/TestUnionMembers.py
  packages/Python/lldbsuite/test/lang/cpp/chained-calls/TestCppChainedCalls.py
  packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py
  packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py
  packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py
  packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile
  packages/Python/lldbsuite/test/lang/cpp/incomplete-types/TestCppIncompleteTypes.py
  packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
  packages/Python/lldbsuite/test/lang/cpp/namespace_definitions/Makefile
  packages/Python/lldbsuite/test/lang/cpp/nsimport/TestCppNsImport.py
  packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py
  packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Makefile
  packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Test.mk
  packages/Python/lldbsuite/test/lang/objc/conflicting-definition/TestExt/TestExt.mk
  packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods.py
  packages/Python/lldbsuite/test/lang/objc/foundation/TestObjectDescriptionAPI.py
  packages/Python/lldbsuite/test/lang/objc/hidden-ivars/TestHiddenIvars.py
  packages/Python/lldbsuite/test/lang/objc/ivar-IMP/Makefile
  packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py
  packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py
  packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py
  packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile
  packages/Python/lldbsuite/test/lang/objc/print-obj/TestPrintObj.py
  packages/Python/lldbsuite/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
  packages/Python/lldbsuite/test/lang/objc/rdar-10967107/TestRdar10967107.py
  packages/Python/lldbsuite/test/lang/objc/rdar-11355592/TestRdar11355592.py
  packages/Python/lldbsuite/test/lang/objc/rdar-12408181/TestRdar12408181.py
  packages/Python/lldbsuite/test/lldbinline.py
  packages/Python/lldbsuite/test/lldbtest.py
  packages/Python/lldbsuite/test/logging/TestLogging.py
  packages/Python/lldbsuite/test/macosx/add-dsym/Makefile
  packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
  packages/Python/lldbsuite/test/macosx/find-app-in-bundle/TestFindAppInBundle.py
  packages/Python/lldbsuite/test/macosx/find-dsym/bundle-with-dot-in-filename/Makefile
  packages/Python/lldbsuite/test/macosx/find-dsym/bundle-with-dot-in-filename/TestBundleWithDotInFilename.py
  packages/Python/lldbsuite/test/macosx/find-dsym/deep-bundle/Makefile
  packages/Python/lldbsuite/test/macosx/find-dsym/deep-bundle/TestDeepBundle.py
  packages/Python/lldbsuite/test/macosx/find-dsym/deep-bundle/main.c
  packages/Python/lldbsuite/test/macosx/indirect_symbol/Makefile
  packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
  packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
  packages/Python/lldbsuite/test/macosx/order/Makefile
  packages/Python/lldbsuite/test/macosx/queues/Makefile
  packages/Python/lldbsuite/test/macosx/safe-to-func-call/Makefile
  packages/Python/lldbsuite/test/macosx/thread-names/Makefile
  packages/Python/lldbsuite/test/macosx/universal/Makefile
  packages/Python/lldbsuite/test/macosx/universal/TestUniversal.py
  packages/Python/lldbsuite/test/make/Makefile.rules
  packages/Python/lldbsuite/test/plugins/builder_base.py
  packages/Python/lldbsuite/test/plugins/builder_darwin.py
  packages/Python/lldbsuite/test/plugins/builder_freebsd.py
  packages/Python/lldbsuite/test/plugins/builder_linux.py
  packages/Python/lldbsuite/test/plugins/builder_netbsd.py
  packages/Python/lldbsuite/test/plugins/builder_win32.py
  packages/Python/lldbsuite/test/python_api/class_members/TestSBTypeClassMembers.py
  packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py
  packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
  packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py
  packages/Python/lldbsuite/test/python_api/process/read-mem-cstring/TestReadMemCString.py
  packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
  packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
  packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py
  packages/Python/lldbsuite/test/python_api/type/TestTypeList.py
  packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
  packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py
  packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py
  packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py
  packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
  packages/Python/lldbsuite/test/settings/TestSettings.py
  packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py
  packages/Python/lldbsuite/test/settings/quoting/main.c
  packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
  packages/Python/lldbsuite/test/tools/lldb-mi/TestMiLibraryLoaded.py
  packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/TestMiBreak.py
  packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py
  packages/Python/lldbsuite/test/tools/lldb-mi/symbol/TestMiSymbol.py
  packages/Python/lldbsuite/test/tools/lldb-mi/target/TestMiTarget.py
  packages/Python/lldbsuite/test/types/AbstractBase.py
  packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.py
  source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42281.131525.patch
Type: text/x-patch
Size: 167302 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180126/4f46207d/attachment-0001.bin>


More information about the lldb-commits mailing list