Initial patchset to get the testsuite running against armv7 and arm64 iOS devices.
authorJason Molenda <jmolenda@apple.com>
Thu, 21 Sep 2017 23:00:19 +0000 (23:00 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 21 Sep 2017 23:00:19 +0000 (23:00 +0000)
commit182a8083c1e26577dfc52e78dbd95d221daed20d
treec713e1a2f372a60fa5c91a4c5e56e5de5229d245
parent8f094c94fd62aaf82e5e6abb1cd8eaa1bd03284e
Initial patchset to get the testsuite running against armv7 and arm64 iOS devices.
Normal customer devices won't be able to run these devices, we're hoping to get
a public facing bot set up at some point.

There will be some smaller follow-on patches.  The changes to tools/lldb-server are
verbose and I'm not thrilled with having to skip all of these tests manually.
There are a few places where I'm making the assumption that "armv7", "armv7k", "arm64"
means it's an ios device, and I need to review & clean these up with an OS check
as well.  (Android will show up as "arm" and "aarch64" so by pure luck they shouldn't
cause problems, but it's not an assumption I want to rely on).

I'll be watching the bots for the rest of today; if any problems are introduced by
this patch I'll revert it - if anyone sees a problem with their bot that I don't
see, please do the same.  I know it's a rather large patch.

One change I had to make specifically for iOS devices was that debugserver can't
create files.  There were several tests that launch the inferior process redirecting
its output to a file, then they retrieve the file.  They were not trying to test
file redirection in these tests, so I rewrote those to write their output to a file
directly.

llvm-svn: 313932
88 files changed:
lldb/packages/Python/lldbsuite/test/decorators.py
lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py
lldb/packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py
lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py
lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/Makefile
lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/main.m
lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py
lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py
lldb/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py
lldb/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py
lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/TestArray.py
lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/bad-reference/TestBadReference.py
lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/complicated-expression/TestComplicatedExpression.py
lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py
lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py
lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-this/TestDiagnoseDereferenceThis.py
lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/inheritance/TestDiagnoseInheritance.py
lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/local-variable/TestLocalVariable.py
lldb/packages/Python/lldbsuite/test/functionalities/frame-diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py
lldb/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py
lldb/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile
lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py
lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py
lldb/packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/TestAttachDenied.py
lldb/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py
lldb/packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py
lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py
lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py
lldb/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py
lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py
lldb/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py
lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/TestWatchpointMultipleSlots.py
lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py
lldb/packages/Python/lldbsuite/test/lang/c/inlines/main.c
lldb/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py
lldb/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Makefile
lldb/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/TestConflictingDefinition.py
lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/Makefile
lldb/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py
lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py
lldb/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/test.m
lldb/packages/Python/lldbsuite/test/lang/objc/rdar-11355592/TestRdar11355592.py
lldb/packages/Python/lldbsuite/test/lldbplatform.py
lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/packages/Python/lldbsuite/test/macosx/add-dsym/Makefile
lldb/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
lldb/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py
lldb/packages/Python/lldbsuite/test/macosx/universal/TestUniversal.py
lldb/packages/Python/lldbsuite/test/make/Makefile.rules
lldb/packages/Python/lldbsuite/test/python_api/exprpath_synthetic/main.mm
lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
lldb/packages/Python/lldbsuite/test/python_api/hello_world/main.c
lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
lldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py
lldb/packages/Python/lldbsuite/test/python_api/sbtype_typeclass/main.m
lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py
lldb/packages/Python/lldbsuite/test/settings/TestSettings.py
lldb/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py
lldb/packages/Python/lldbsuite/test/settings/quoting/main.c
lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py
lldb/packages/Python/lldbsuite/test/tools/lldb-mi/data/TestMiData.py
lldb/packages/Python/lldbsuite/test/tools/lldb-mi/signal/TestMiSignal.py
lldb/packages/Python/lldbsuite/test/tools/lldb-mi/stack/TestMiStack.py
lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAttach.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteHostInfo.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteSingleStep.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_vCont.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubReverseConnect.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/exit-code/TestGdbRemoteExitCode.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py
lldb/packages/Python/lldbsuite/test/types/AbstractBase.py
lldb/packages/Python/lldbsuite/test/types/basic_type.cpp