[Lldb-commits] [lldb] r323007 - Wrap all references to build artifacts in the LLDB testsuite (NFC)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 23 08:45:09 PST 2018



> On Jan 22, 2018, at 3:21 AM, Pavel Labath <labath at google.com> wrote:
> 
> Hi Adrian,
> 
> I noticed that this makes all lldb-mi tests inherit from TestBase
> (instead of Base). One of the side-effects of this is that all lldb-mi
> tests get duplicated based on the debug-info versions. I don't think
> this is necessary, as liblldb should be hiding all differences in the
> debug info and we shouldn't be relying on lldb-mi to test details of
> dwarf parsing.
> 
> One of the ways to fix this is to add NO_DEBUG_INFO_TEST_CASE = True
> to class MiFileTestCase. However, looking at the TestBase and Base
> classes, I get the impression that the functionality added by TestBase
> does not really apply to lldb-mi tests, so I think it would be better
> to keep inherit from Base (not that it's a particularly happy choice
> of name, but anyway...). This would require moving getBuildArtifact()
> (and subsequent out-of-tree building logic) into Base. Do you see any
> problems with that approach?

No, that was a good idea. I have done so in r323219.

thanks!
adrian

> 
> pavel
> 
> On 19 January 2018 at 23:24, Adrian Prantl via lldb-commits
> <lldb-commits at lists.llvm.org> wrote:
>> Author: adrian
>> Date: Fri Jan 19 15:24:35 2018
>> New Revision: 323007
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=323007&view=rev
>> Log:
>> Wrap all references to build artifacts in the LLDB testsuite (NFC)
>> 
>> in TestBase::getBuildArtifact(). This NFC commit is in preparation for
>> https://reviews.llvm.org/D42281 (compile the LLDB tests out-of-tree).
>> 
>> Differential Revision: https://reviews.llvm.org/D42280
>> 
>> Modified:
>>    lldb/trunk/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py
>>    lldb/trunk/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py
>>    lldb/trunk/packages/Python/lldbsuite/test/api/listeners/TestListener.py
>>    lldb/trunk/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py
>>    lldb/trunk/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py
>>    lldb/trunk/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py
>>    lldb/trunk/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py
>>    lldb/trunk/packages/Python/lldbsuite/test/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py
>>    lldb/trunk/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py
>>    lldb/trunk/packages/Python/lldbsuite/test/concurrent_base.py
>>    lldb/trunk/packages/Python/lldbsuite/test/darwin_log.py
>>    lldb/trunk/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/anonymous-struct/TestCallUserAnonTypedef.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/multiline/TestMultilineExpressions.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/top-level/TestTopLevelExprs.py
>>    lldb/trunk/packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/apropos_with_process/TestAproposWithProcess.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/archives/TestBSDArchives.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity-chain/TestDarwinLogFilterMatchActivityChain.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity/TestDarwinLogFilterMatchActivity.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/category/TestDarwinLogFilterMatchCategory.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/message/TestDarwinLogFilterMatchMessage.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/subsystem/TestDarwinLogFilterMatchSubsystem.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity-chain/TestDarwinLogFilterRegexActivityChain.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity/TestDarwinLogFilterRegexActivity.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/category/TestDarwinLogFilterRegexCategory.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/subsystem/TestDarwinLogFilterRegexSubsystem.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/format/TestDarwinLogMessageFormat.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/source/debug/TestDarwinLogSourceDebug.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/source/info/TestDarwinLogSourceInfo.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/TestCompactVectors.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthtype/TestDataFormatterSynthType.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/parray/TestPrintArray.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/poarray/TestPrintObjectArray.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_script/TestTypeSummaryListScript.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/dead-strip/TestDeadStrip.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/disassembly/TestFrameDisassemble.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/format/TestFormats.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/TestArray.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/bad-reference/TestBadReference.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/complicated-expression/TestComplicatedExpression.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-this/TestDiagnoseDereferenceThis.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/inheritance/TestDiagnoseInheritance.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/local-variable/TestLocalVariable.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-language/TestGuessLanguage.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame_var/TestFrameVar.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashing.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/inline-stepping/TestInlineStepping.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/cache/TestMemoryCache.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/nested_alias/TestNestedAlias.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/nosucharch/TestNoSuchArch.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/pre_run_dylibs/TestPreRunDylibs.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_save_core/TestProcessSaveCore.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/ptr_refs/TestPtrRefs.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/recursion/TestValueObjectRecursion.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestYMMRegister.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/TestMPXRegisters.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/mpx_bound_violation/TestBoundViolation.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/rerun/TestRerun.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/set-data/TestSetData.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/TestSendSignal.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/raise/TestRaise.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookCmd.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/backtrace_all/TestBacktraceAll.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/TestCreateDuringStep.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/num_threads/TestNumThreads.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/step_until/TestStepUntil.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/basic/TestTsanBasic.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/global_location/TestTsanGlobalLocation.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/multiple/TestTsanMultiple.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/thread_leak/TestTsanThreadLeak.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/tty/TestTerminal.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/type_completion/TestTypeCompletion.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/type_lookup/TestTypeLookup.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/user-expression/TestUbsanUserExpression.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/ehframe/TestEhFrameUnwind.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/standard/TestStandardUnwind.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/value_md5_crash/TestValueMD5Crash.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/TestWatchpointMultipleSlots.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_hits/TestMultipleHits.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_disable/TestWatchpointDisable.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
>>    lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_size/TestWatchpointSizes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/array_types/TestArrayTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/const_variables/TestConstVariables.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/find_struct_type/TestFindStructTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/forward/TestForwardDeclaration.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/function_types/TestFunctionTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/set_values/TestSetValues.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/shared_lib/TestSharedLib.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/step-target/TestStepTarget.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/stepping/TestThreadStepping.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/c/unions/TestUnionMembers.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/bool/TestCPPBool.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/chained-calls/TestCppChainedCalls.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/diamond/TestDiamond.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/inlines/TestInlines.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/nsimport/TestCppNsImport.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/TestRvalueReferences.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/static_methods/TestCPPStaticMethods.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/template/TestTemplateArgs.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/this/TestCPPThis.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/TestUnicodeLiterals.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/virtual/TestVirtual.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/go/formatters/TestGoFormatters.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/go/runtime/TestGoLanguageRuntime
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/mixed/TestMixedLanguages.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/blocks/TestObjCIvarsInBlocks.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/TestConflictingDefinition.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/forward-decl/TestForwardDecl.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestConstStrings.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestRuntimeTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestSymbolTable.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/global_ptrs/TestGlobalObjects.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/TestHiddenIvars.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules/TestObjCModules.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc++/TestObjCXX.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-class-method/TestObjCClassMethod.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-optimized/TestObjcOptimized.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-property/TestObjCProperty.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-method/TestObjCStaticMethod.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-stepping/TestObjCStepping.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/TestObjCStructReturn.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-super/TestObjCSuper.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/ptr_refs/TestPtrRefsObjC.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/real-definition/TestRealDefinition.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/self/TestObjCSelf.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py
>>    lldb/trunk/packages/Python/lldbsuite/test/linux/add-symbols/TestTargetSymbolsAddCommand.py
>>    lldb/trunk/packages/Python/lldbsuite/test/linux/builtin_trap/TestBuiltinTrap.py
>>    lldb/trunk/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py
>>    lldb/trunk/packages/Python/lldbsuite/test/lldbutil.py
>>    lldb/trunk/packages/Python/lldbsuite/test/logging/TestLogging.py
>>    lldb/trunk/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py
>>    lldb/trunk/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py
>>    lldb/trunk/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
>>    lldb/trunk/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
>>    lldb/trunk/packages/Python/lldbsuite/test/macosx/order/TestOrderFile.py
>>    lldb/trunk/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py
>>    lldb/trunk/packages/Python/lldbsuite/test/macosx/safe-to-func-call/TestSafeFuncCalls.py
>>    lldb/trunk/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/event/TestEvents.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/value/empty_class/TestValueAPIEmptyClass.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
>>    lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
>>    lldb/trunk/packages/Python/lldbsuite/test/settings/TestSettings.py
>>    lldb/trunk/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py
>>    lldb/trunk/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
>>    lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiFile.py
>>    lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiLibraryLoaded.py
>>    lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py
>>    lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py
>>    lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
>>    lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
>>    lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py
>>    lldb/trunk/packages/Python/lldbsuite/test/types/TestRecursiveTypes.py
>>    lldb/trunk/packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.py
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class DefaultCacheLineSizeTestCase(TestB
>>     @skipUnlessPlatform(['android'])
>>     def test_cache_line_size(self):
>>         self.build(dictionary=self.getBuildFlags())
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target and target.IsValid(), "Target is valid")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py Fri Jan 19 15:24:35 2018
>> @@ -20,7 +20,7 @@ class SBDirCheckerCase(TestBase):
>>     def setUp(self):
>>         TestBase.setUp(self)
>>         self.source = 'main.cpp'
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.generateSource(self.source)
>> 
>>     @skipIfNoSBHeaders
>> @@ -39,7 +39,7 @@ class SBDirCheckerCase(TestBase):
>> 
>>     def sanity_check_executable(self, exe_name):
>>         """Sanity check executable compiled from the auto-generated program."""
>> -        exe = os.path.join(os.getcwd(), exe_name)
>> +        exe = self.getBuildArtifact(exe_name)
>>         self.runCmd("file %s" % exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.line_to_break = line_number(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/api/listeners/TestListener.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/api/listeners/TestListener.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/api/listeners/TestListener.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/api/listeners/TestListener.py Fri Jan 19 15:24:35 2018
>> @@ -35,7 +35,7 @@ class ListenToModuleLoadedEvents (TestBa
>>             lldb.SBTarget.GetBroadcasterClassName(),
>>             lldb.SBTarget.eBroadcastBitBreakpointChanged)
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class TestBreakpointIt(TestBase):
>>     @skipIf(archs=no_match(["arm"]))
>>     def test_false(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         self.runCmd("target create %s" % exe)
>>         lldbutil.run_break_set_by_symbol(self, "bkpt_false",
>> @@ -34,7 +34,7 @@ class TestBreakpointIt(TestBase):
>>     @skipIf(archs=no_match(["arm"]))
>>     def test_true(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         self.runCmd("target create %s" % exe)
>>         bpid = lldbutil.run_break_set_by_symbol(self, "bkpt_true",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,8 @@ class TestBenchmarkContinue(BenchBase):
>> 
>>     def data_formatter_commands(self):
>>         """Benchmark different ways to continue a process"""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file "+self.getBuildArtifact("a.out"),
>> +                    CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py Fri Jan 19 15:24:35 2018
>> @@ -39,7 +39,7 @@ class ExpressionEvaluationCase(BenchBase
>> 
>>     def run_lldb_repeated_exprs(self, exe_name, count):
>>         import pexpect
>> -        exe = os.path.join(os.getcwd(), exe_name)
>> +        exe = self.getBuildArtifact(exe_name)
>> 
>>         # Set self.child_prompt, which is "(lldb) ".
>>         self.child_prompt = '(lldb) '
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py Fri Jan 19 15:24:35 2018
>> @@ -44,7 +44,7 @@ class RepeatedExprsCase(BenchBase):
>> 
>>     def run_lldb_repeated_exprs(self, exe_name, count):
>>         import pexpect
>> -        exe = os.path.join(os.getcwd(), exe_name)
>> +        exe = self.getBuildArtifact(exe_name)
>> 
>>         # Set self.child_prompt, which is "(lldb) ".
>>         self.child_prompt = '(lldb) '
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,8 @@ class TestBenchmarkLibcxxList(BenchBase)
>> 
>>     def data_formatter_commands(self):
>>         """Benchmark the std::list data formatter (libc++)"""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"),
>> +                    CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,8 @@ class TestBenchmarkLibcxxMap(BenchBase):
>> 
>>     def data_formatter_commands(self):
>>         """Benchmark the std::map data formatter (libc++)"""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " +self.getBuildArtifact("a.out"),
>> +                    CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/concurrent_base.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/concurrent_base.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/concurrent_base.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/concurrent_base.py Fri Jan 19 15:24:35 2018
>> @@ -114,7 +114,7 @@ class ConcurrentEventsBase(TestBase):
>>             watchpoint_func. The inferior is continued until exit or a crash takes place, and the number of events seen by LLDB
>>             is verified to match the expected number of events.
>>         """
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Get the target
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/darwin_log.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/darwin_log.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/darwin_log.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/darwin_log.py Fri Jan 19 15:24:35 2018
>> @@ -346,7 +346,7 @@ class DarwinLogEventBasedTestBase(lldbte
>>         self.build(dictionary=self.d)
>>         self.setTearDownCleanup(dictionary=self.d)
>> 
>> -        exe = os.path.join(os.getcwd(), self.exe_name)
>> +        exe = self.getBuildArtifact(self.exe_name)
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py Fri Jan 19 15:24:35 2018
>> @@ -46,7 +46,7 @@ class DriverBatchModeTest (TestBase):
>>         self.setTearDownCleanup()
>> 
>>         import pexpect
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         prompt = "(lldb) "
>> 
>>         # Pass CRASH so the process will crash and stop in batch mode.
>> @@ -86,7 +86,7 @@ class DriverBatchModeTest (TestBase):
>>         self.setTearDownCleanup()
>> 
>>         import pexpect
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         prompt = "(lldb) "
>> 
>>         # Now do it again, and make sure if we don't crash, we quit:
>> @@ -129,7 +129,7 @@ class DriverBatchModeTest (TestBase):
>>         self.setTearDownCleanup()
>> 
>>         import pexpect
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         prompt = "(lldb) "
>> 
>>         # Finally, start up the process by hand, attach to it, and wait for its completion.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/anonymous-struct/TestCallUserAnonTypedef.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/anonymous-struct/TestCallUserAnonTypedef.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/anonymous-struct/TestCallUserAnonTypedef.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/anonymous-struct/TestCallUserAnonTypedef.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,8 @@ class TestExprLookupAnonStructTypedef(Te
>>         """Test typedeffed untagged struct arguments for function call expressions"""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file "+self.getBuildArtifact("a.out"),
>> +                    CURRENT_EXECUTABLE_SET)
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>>             "main.cpp",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,8 @@ class ExprCommandCallFunctionTestCase(Te
>>     def test_with(self):
>>         """Test calling std::String member function."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"),
>> +                    CURRENT_EXECUTABLE_SET)
>> 
>>         # Some versions of GCC encode two locations for the 'return' statement
>>         # in main.cpp
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class ExprCommandCallStopContinueTestCas
>>     def test(self):
>>         """Test gathering result from interrupted function call."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         # Some versions of GCC encode two locations for the 'return' statement
>>         # in main.cpp
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py Fri Jan 19 15:24:35 2018
>> @@ -37,7 +37,7 @@ class ExprCommandCallUserDefinedFunction
>>         self.build()
>> 
>>         # Set breakpoint in main and run exe
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=-1, loc_exact=True)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class ExprSyscallTestCase(TestBase):
>>         self.expr_syscall()
>> 
>>     def expr_syscall(self):
>> -        exe = os.path.join(os.getcwd(), 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py Fri Jan 19 15:24:35 2018
>> @@ -43,7 +43,7 @@ class ExprFormattersTestCase(TestBase):
>>         self.addTearDownHook(cleanup)
>> 
>>         """Test expr + formatters for good interoperability."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/ir-interpreter-phi-nodes/TestIRInterpreterPHINodes.py Fri Jan 19 15:24:35 2018
>> @@ -17,7 +17,7 @@ class IRInterpreterPHINodesTestCase(Test
>>         """Test support for PHI nodes in the IR interpreter."""
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd('file ' + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break on the first assignment to i
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py Fri Jan 19 15:24:35 2018
>> @@ -34,7 +34,7 @@ class IRInterpreterTestCase(TestBase):
>>         """Test the IR interpreter"""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.c", self.line, num_expected_locations=1, loc_exact=False)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/multiline/TestMultilineExpressions.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/multiline/TestMultilineExpressions.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/multiline/TestMultilineExpressions.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/multiline/TestMultilineExpressions.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class MultilineExpressionsTestCase(TestB
>>         """Test that multiline expressions work correctly"""
>>         self.build()
>>         import pexpect
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         prompt = "(lldb) "
>> 
>>         # So that the child gets torn down after the test.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class ExprOptionsTestCase(TestBase):
>>         self.main_source = "main.cpp"
>>         self.main_source_spec = lldb.SBFileSpec(self.main_source)
>>         self.line = line_number('main.cpp', '// breakpoint_in_main')
>> -        self.exe = os.path.join(os.getcwd(), "a.out")
>> +        self.exe = self.getBuildArtifact("a.out")
>> 
>>     def test_expr_options(self):
>>         """These expression command options should work as expected."""
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py Fri Jan 19 15:24:35 2018
>> @@ -34,7 +34,7 @@ class PersistObjCPointeeType(TestBase):
>>         # Execute the cleanup function during test case tear down.
>>         self.addTearDownHook(cleanup)
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class PersistentPtrUpdateTestCase(TestBa
>>         # Execute the cleanup function during test case tear down.
>>         self.addTearDownHook(cleanup)
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd('break set -p here')
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class NestedPersistentTypesTestCase(Test
>>         """Test that nested persistent types work."""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("breakpoint set --name main")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class PersistenttypesTestCase(TestBase):
>>         """Test that lldb persistent types works correctly."""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("breakpoint set --name main")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class PersistentVariablesTestCase(TestBa
>>         """Test that lldb persistent variables works correctly."""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("breakpoint set --source-pattern-regexp break")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py Fri Jan 19 15:24:35 2018
>> @@ -37,7 +37,7 @@ class PoVerbosityTestCase(TestBase):
>>         self.addTearDownHook(cleanup)
>> 
>>         """Test expr + formatters for good interoperability."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class Radar8638051TestCase(TestBase):
>>         """The following expression commands should not crash."""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("breakpoint set -n c")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py Fri Jan 19 15:24:35 2018
>> @@ -23,7 +23,7 @@ class Radar9531204TestCase(TestBase):
>>         """The evaluating printf(...) after break stop and then up a stack frame."""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_symbol(
>>             self, 'foo', sym_exact=True, num_expected_locations=1)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class Radar9673644TestCase(TestBase):
>>         """The following expression commands should just work."""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py Fri Jan 19 15:24:35 2018
>> @@ -45,7 +45,7 @@ class BasicExprCommandsTestCase(TestBase
>>         """These basic expression commands should work as expected."""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=False)
>> @@ -107,7 +107,7 @@ class BasicExprCommandsTestCase(TestBase
>>         """Test SBFrame.EvaluateExpression() API for evaluating an expression."""
>>         self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -208,7 +208,7 @@ class BasicExprCommandsTestCase(TestBase
>>         """Throw some expression commands with quotes at lldb."""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=False)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class ExprCommands2TestCase(TestBase):
>>         """Test some more expression commands."""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=False)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/top-level/TestTopLevelExprs.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/top-level/TestTopLevelExprs.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/top-level/TestTopLevelExprs.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/top-level/TestTopLevelExprs.py Fri Jan 19 15:24:35 2018
>> @@ -37,7 +37,7 @@ class TopLevelExpressionsTestCase(TestBa
>>         """Test top-level expressions."""
>>         self.build()
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=False)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class ObjCTypeQueryTestCase(TestBase):
>>     def test(self):
>>         """The expression parser's type search should be wider than the current compilation unit."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/apropos_with_process/TestAproposWithProcess.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/apropos_with_process/TestAproposWithProcess.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/apropos_with_process/TestAproposWithProcess.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/apropos_with_process/TestAproposWithProcess.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class AproposWithProcessTestCase(TestBas
>>     def test_apropos_with_process(self):
>>         """Test that apropos env doesn't crash trying to touch the process plugin commmand."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break in main() aftre the variables are assigned values.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/archives/TestBSDArchives.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/archives/TestBSDArchives.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/archives/TestBSDArchives.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/archives/TestBSDArchives.py Fri Jan 19 15:24:35 2018
>> @@ -35,7 +35,7 @@ class BSDArchivesTestCase(TestBase):
>>         """Break inside a() and b() defined within libfoo.a."""
>>         self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside a() by file and line first.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py Fri Jan 19 15:24:35 2018
>> @@ -37,7 +37,7 @@ class AsanTestCase(TestBase):
>>         self.line_breakpoint = line_number('main.c', '// break line')
>> 
>>     def asan_tests(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect(
>>             "file " + exe,
>>             patterns=["Current executable set to .*a.out"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py Fri Jan 19 15:24:35 2018
>> @@ -39,7 +39,7 @@ class AsanTestReportDataCase(TestBase):
>>         self.line_crash = line_number('main.c', '// BOOM line')
>> 
>>     def asan_tests(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect(
>>             "file " + exe,
>>             patterns=["Current executable set to .*a.out"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py Fri Jan 19 15:24:35 2018
>> @@ -52,7 +52,7 @@ class AvoidsFdLeakTestCase(TestBase):
>> 
>>     def do_test(self, commands):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         for c in commands:
>>             self.runCmd(c)
>> @@ -81,7 +81,7 @@ class AvoidsFdLeakTestCase(TestBase):
>>     @skipIfDarwinEmbedded # <rdar://problem/33888742>  # debugserver on ios has an extra fd open on launch
>>     def test_fd_leak_multitarget(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         breakpoint = target.BreakpointCreateBySourceRegex(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class AddressBreakpointTestCase(TestBase
>> 
>>     def address_breakpoints(self):
>>         """Test address breakpoints set with shared library of SBAddress work correctly."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py Fri Jan 19 15:24:35 2018
>> @@ -36,7 +36,7 @@ class BreakpointAutoContinue(TestBase):
>> 
>>     def make_target_and_bkpt(self, additional_options=None, num_expected_loc=1,
>>                              pattern="Set a breakpoint here"):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(self.target.IsValid(), "Target is not valid")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py Fri Jan 19 15:24:35 2018
>> @@ -39,7 +39,7 @@ class BreakpointCaseSensitivityTestCase(
>>         if case_insensitive:
>>             exe = exe.upper()
>> 
>> -        exe = os.path.join(os.getcwd(), exe)
>> +        exe = self.getBuildArtifact(exe)
>> 
>>         # Create a target by the debugger.
>>         self.target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py Fri Jan 19 15:24:35 2018
>> @@ -51,7 +51,7 @@ class BreakpointCommandTestCase(TestBase
>> 
>>     def breakpoint_command_sequence(self):
>>         """Test a sequence of breakpoint command add, list, and delete."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Add three breakpoints on the same line.  The first time we don't specify the file,
>> @@ -237,7 +237,7 @@ class BreakpointCommandTestCase(TestBase
>> 
>>     def breakpoint_command_script_parameters(self):
>>         """Test that the frame and breakpoint location are being properly passed to the script breakpoint command function."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Add a breakpoint.
>> @@ -280,7 +280,7 @@ class BreakpointCommandTestCase(TestBase
>> 
>>     def breakpoint_commands_on_creation(self):
>>         """Test that setting breakpoint commands when creating the breakpoint works"""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target.IsValid(), "Created an invalid target.")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class PythonBreakpointCommandSettingTest
>>         self.main_source_spec = lldb.SBFileSpec(self.main_source)
>> 
>>     def do_set_python_command_from_python(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         error = lldb.SBError()
>> 
>>         self.target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class RegexpBreakCommandTestCase(TestBas
>> 
>>     def regexp_break_command(self):
>>         """Test the super consie "b" command, which is analias for _regexp-break."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         break_results = lldbutil.run_break_set_command(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py Fri Jan 19 15:24:35 2018
>> @@ -59,7 +59,7 @@ class BreakpointConditionsTestCase(TestB
>> 
>>     def breakpoint_conditions(self, inline=False):
>>         """Exercise breakpoint condition with 'breakpoint modify -c <expr> id'."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         if inline:
>> @@ -132,7 +132,7 @@ class BreakpointConditionsTestCase(TestB
>> 
>>     def breakpoint_conditions_python(self):
>>         """Use Python APIs to set breakpoint conditions."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -200,7 +200,7 @@ class BreakpointConditionsTestCase(TestB
>> 
>>     def breakpoint_invalid_conditions_python(self):
>>         """Use Python APIs to set breakpoint conditions."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class BreakpointHitCountTestCase(TestBas
>> 
>>     def do_test_breakpoint_location_hit_count(self):
>>         """Use Python APIs to check breakpoint hit count."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class BreakpointIDTestCase(TestBase):
>>     def test(self):
>>         self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect("file " + exe,
>>                     patterns=["Current executable set to .*a.out"])
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py Fri Jan 19 15:24:35 2018
>> @@ -46,7 +46,7 @@ class BreakpointIgnoreCountTestCase(Test
>> 
>>     def breakpoint_ignore_count(self):
>>         """Exercise breakpoint ignore count with 'breakpoint set -i <count>'."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Create a breakpoint in main.c at line1.
>> @@ -101,7 +101,7 @@ class BreakpointIgnoreCountTestCase(Test
>> 
>>     def breakpoint_ignore_count_python(self):
>>         """Use Python APIs to set breakpoint ignore count."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class AvoidBreakpointInDelaySlotAPITestC
>>     @skipIf(archs=no_match(re.compile('mips*')))
>>     def test(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect("file " + exe,
>>                     patterns=["Current executable set to .*a.out.*"])
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py Fri Jan 19 15:24:35 2018
>> @@ -36,7 +36,7 @@ class TestBreakpointLanguage(TestBase):
>> 
>>         self.build()
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         error = lldb.SBError()
>>         # Don't read in dependencies so we don't come across false matches that
>>         # add unwanted breakpoint hits.
>> @@ -77,7 +77,7 @@ class TestBreakpointLanguage(TestBase):
>> 
>>         self.build()
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         error = lldb.SBError()
>>         # Don't read in dependencies so we don't come across false matches that
>>         # add unwanted breakpoint hits.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py Fri Jan 19 15:24:35 2018
>> @@ -41,7 +41,7 @@ class BreakpointLocationsTestCase(TestBa
>>         self.line = line_number('main.c', '// Set break point at this line.')
>> 
>>     def set_breakpoint (self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, "Target %s is not valid"%(exe))
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py Fri Jan 19 15:24:35 2018
>> @@ -58,7 +58,7 @@ class BreakpointNames(TestBase):
>>         self.do_check_configuring_permissions_cli()
>> 
>>     def setup_target(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a targets we are making breakpoint in and copying to:
>>         self.target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class BreakpointOptionsTestCase(TestBase
>> 
>>     def breakpoint_options_test(self):
>>         """Test breakpoint command for different options."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint with 1 locations.
>> @@ -78,7 +78,7 @@ class BreakpointOptionsTestCase(TestBase
>> 
>>     def breakpoint_options_language_test(self):
>>         """Test breakpoint command for language option."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint with 1 locations.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py Fri Jan 19 15:24:35 2018
>> @@ -16,7 +16,7 @@ class BreakpointSetRestart(TestBase):
>>         self.build()
>> 
>>         cwd = os.getcwd()
>> -        exe = os.path.join(cwd, 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py Fri Jan 19 15:24:35 2018
>> @@ -45,7 +45,7 @@ class TestCPPBreakpointLocations(TestBas
>>     def breakpoint_id_tests(self):
>> 
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>>         bp_dicts = [
>> @@ -69,7 +69,7 @@ class TestCPPBreakpointLocations(TestBas
>>     @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24764")
>>     def test_destructors(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>> 
>>         # Don't skip prologue, so we can check the breakpoint address more
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class TestCPPExceptionBreakpoint (TestBa
>>         self.main_source_spec = lldb.SBFileSpec(self.main_source)
>> 
>>     def do_cpp_exception_bkpt(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         error = lldb.SBError()
>> 
>>         self.target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py Fri Jan 19 15:24:35 2018
>> @@ -20,7 +20,7 @@ class DebugBreakTestCase(TestBase):
>>     def test_asm_int_3(self):
>>         """Test that intrinsics like `__debugbreak();` and `asm {"int3"}` are treated like breakpoints."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Run the program.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py Fri Jan 19 15:24:35 2018
>> @@ -46,7 +46,7 @@ class BreakpointInDummyTarget (TestBase)
>>         # Execute the cleanup function during test case tear down.
>>         self.addTearDownHook(cleanup)
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # The breakpoint list should show 3 locations.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class TestBreakpointInGlobalConstructors
>>         self.line_foo = line_number('foo.cpp', '// !BR_foo')
>>         self.line_main = line_number('main.cpp', '// !BR_main')
>> 
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         env= self.registerSharedLibrariesWithTarget(target, ["foo"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py Fri Jan 19 15:24:35 2018
>> @@ -47,12 +47,8 @@ class HardwareBreakpointMultiThreadTestC
>> 
>>     def break_multi_thread(self, removal_type):
>>         """Test that lldb hardware breakpoints work for multiple threads."""
>> -        self.runCmd(
>> -            "file %s" %
>> -            os.path.join(
>> -                os.getcwd(),
>> -                'a.out'),
>> -            CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"),
>> +                    CURRENT_EXECUTABLE_SET)
>> 
>>         # Stop in main before creating any threads.
>>         lldbutil.run_break_set_by_file_and_line(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class InlinedBreakpointsTestCase(TestBas
>> 
>>     def inlined_breakpoints(self):
>>         """Test 'b basic_types.cpp:176' does break (where int.cpp includes basic_type.cpp)."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # With the inline-breakpoint-strategy, our file+line breakpoint should
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class TestMoveNearest(TestBase):
>>         """Test target.move-to-nearest logic"""
>> 
>>         self.build()
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         lldbutil.run_break_set_by_symbol(self, 'main', sym_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py Fri Jan 19 15:24:35 2018
>> @@ -73,7 +73,7 @@ class TestObjCBreakpoints(TestBase):
>>         self.dbg.SetAsync(False)
>> 
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(self.target, VALID_TARGET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py Fri Jan 19 15:24:35 2018
>> @@ -60,7 +60,7 @@ class BreakpointSerialization(TestBase):
>>         self.addTearDownHook(cleanup)
>>         self.RemoveTempFile(self.bkpts_file_path)
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create the targets we are making breakpoints in and copying them to:
>>         self.orig_target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class TestSourceRegexBreakpoints(TestBas
>>     def source_regex_locations(self):
>>         """ Test that restricting source expressions to files & to functions. """
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> @@ -64,7 +64,7 @@ class TestSourceRegexBreakpoints(TestBas
>>     def source_regex_restrictions(self):
>>         """ Test that restricting source expressions to files & to functions. """
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class StepOverBreakpointsTestCase(TestBa
>>         TestBase.setUp(self)
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         src = lldb.SBFileSpec("main.cpp")
>> 
>>         # Create a target by the debugger.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class CmdPythonTestCase(TestBase):
>>         self.expect('targetname',
>>                     substrs=['a.out'], matching=False, error=True)
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect("file " + exe,
>>                     patterns=["Current executable set to .*a.out"])
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py Fri Jan 19 15:24:35 2018
>> @@ -303,8 +303,9 @@ class CommandLineCompletionTestCase(Test
>>         bugnumber="llvm.org/pr25485,<rdar://problem/28573448>")
>>     def test_symbol_name(self):
>>         self.build()
>> -        self.complete_from_to('''file a.out
>> -                                 breakpoint set -n Fo''',
>> +        self.complete_from_to('''file %s
>> +                                 breakpoint set -n Fo''' %
>> +                              self.getBuildArtifact("a.out"),
>>                               'breakpoint set -n Foo::Bar(int,\\ int)',
>>                               turn_off_re_match=True)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py Fri Jan 19 15:24:35 2018
>> @@ -39,7 +39,7 @@ class ConditionalBreakTestCase(TestBase)
>>         bugnumber="llvm.org/pr26265: args in frames other than #0 are not evaluated correctly")
>>     def do_conditional_break(self):
>>         """Exercise some thread and frame APIs to break if c() is called by a()."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -112,9 +112,9 @@ class ConditionalBreakTestCase(TestBase)
>>         if not self.TraceOn():
>>             self.HideStdout()
>> 
>> -        # Separate out the "file a.out" command from .lldb file, for the sake of
>> +        # Separate out the "file " + self.getBuildArtifact("a.out") command from .lldb file, for the sake of
>>         # remote testsuite.
>> -        self.runCmd("file a.out")
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"))
>>         self.runCmd("command source .lldb")
>> 
>>         self.runCmd("break list")
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity-chain/TestDarwinLogFilterMatchActivityChain.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity-chain/TestDarwinLogFilterMatchActivityChain.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity-chain/TestDarwinLogFilterMatchActivityChain.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity-chain/TestDarwinLogFilterMatchActivityChain.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogFilterMatchActivityCh
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity/TestDarwinLogFilterMatchActivity.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity/TestDarwinLogFilterMatchActivity.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity/TestDarwinLogFilterMatchActivity.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/activity/TestDarwinLogFilterMatchActivity.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogFilterMatchActivity(d
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/category/TestDarwinLogFilterMatchCategory.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/category/TestDarwinLogFilterMatchCategory.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/category/TestDarwinLogFilterMatchCategory.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/category/TestDarwinLogFilterMatchCategory.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogFilterMatchCategory(d
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/message/TestDarwinLogFilterMatchMessage.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/message/TestDarwinLogFilterMatchMessage.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/message/TestDarwinLogFilterMatchMessage.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/message/TestDarwinLogFilterMatchMessage.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogFilterMatchMessage(da
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/subsystem/TestDarwinLogFilterMatchSubsystem.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/subsystem/TestDarwinLogFilterMatchSubsystem.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/subsystem/TestDarwinLogFilterMatchSubsystem.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/exact_match/subsystem/TestDarwinLogFilterMatchSubsystem.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogFilterMatchSubsystem(
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity-chain/TestDarwinLogFilterRegexActivityChain.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity-chain/TestDarwinLogFilterRegexActivityChain.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity-chain/TestDarwinLogFilterRegexActivityChain.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity-chain/TestDarwinLogFilterRegexActivityChain.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogFilterRegexActivityCh
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity/TestDarwinLogFilterRegexActivity.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity/TestDarwinLogFilterRegexActivity.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity/TestDarwinLogFilterRegexActivity.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/activity/TestDarwinLogFilterRegexActivity.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogFilterRegexActivity(d
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/category/TestDarwinLogFilterRegexCategory.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/category/TestDarwinLogFilterRegexCategory.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/category/TestDarwinLogFilterRegexCategory.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/category/TestDarwinLogFilterRegexCategory.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogFilterRegexCategory(d
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/subsystem/TestDarwinLogFilterRegexSubsystem.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/subsystem/TestDarwinLogFilterRegexSubsystem.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/subsystem/TestDarwinLogFilterRegexSubsystem.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/filter/regex/subsystem/TestDarwinLogFilterRegexSubsystem.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogFilterRegexSubsystem(
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/format/TestDarwinLogMessageFormat.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/format/TestDarwinLogMessageFormat.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/format/TestDarwinLogMessageFormat.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/format/TestDarwinLogMessageFormat.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class TestDarwinLogMessageFormat(darwin_
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/source/debug/TestDarwinLogSourceDebug.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/source/debug/TestDarwinLogSourceDebug.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/source/debug/TestDarwinLogSourceDebug.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/source/debug/TestDarwinLogSourceDebug.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogSourceDebug(darwin_lo
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/source/info/TestDarwinLogSourceInfo.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/source/info/TestDarwinLogSourceInfo.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/source/info/TestDarwinLogSourceInfo.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/source/info/TestDarwinLogSourceInfo.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestDarwinLogSourceInfo(darwin_log
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class DataFormatterBoolRefPtr(TestBase):
>> 
>>     def boolrefptr_data_formatter_commands(self):
>>         """Test the formatters we use for BOOL& and BOOL* in Objective-C."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.mm", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/TestCompactVectors.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/TestCompactVectors.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/TestCompactVectors.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/TestCompactVectors.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class CompactVectorsFormattingTestCase(T
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class AdvDataFormatterTestCase(TestBase)
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class CategoriesDataFormatterTestCase(Te
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class CppDataFormatterTestCase(TestBase)
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class DataFormatterDisablingTestCase(Tes
>>     def test_with_run_command(self):
>>         """Check that we can properly disable all data formatter categories."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class EnumFormatTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class GlobalsDataFormatterTestCase(TestB
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class NamedSummariesDataFormatterTestCas
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py Fri Jan 19 15:24:35 2018
>> @@ -96,7 +96,7 @@ class ObjCDataFormatterTestCase(TestBase
>> 
>>     def plain_data_formatter_commands(self):
>>         """Test basic ObjC formatting behavior."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> @@ -162,7 +162,7 @@ class ObjCDataFormatterTestCase(TestBase
>> 
>>     def appkit_common_data_formatters_command(self):
>>         """Test formatters for AppKit classes."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> @@ -360,7 +360,7 @@ class ObjCDataFormatterTestCase(TestBase
>> 
>>     def expr_objc_data_formatter_commands(self):
>>         """Test common cases of expression parser <--> formatters interaction."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> @@ -408,7 +408,7 @@ class ObjCDataFormatterTestCase(TestBase
>> 
>>     def cf_data_formatter_commands(self):
>>         """Test formatters for Core OSX frameworks."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> @@ -463,7 +463,7 @@ class ObjCDataFormatterTestCase(TestBase
>> 
>>     def kvo_data_formatter_commands(self):
>>         """Test the behavior of formatters when KVO is in use."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class NSIndexPathDataFormatterTestCase(T
>> 
>>     def appkit_tester_impl(self, commands):
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class NSStringDataFormatterTestCase(Test
>> 
>>     def appkit_tester_impl(self, commands):
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class DataFormatterOneIsSingularTestCase
>> 
>>     def oneness_data_formatter_commands(self):
>>         """Test that 1 item is not as reported as 1 items."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class PtrToArrayDataFormatterTestCase(Te
>> 
>>     def data_formatter_commands(self):
>>         """Test that LLDB handles the clang typeclass Paren correctly."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py Fri Jan 19 15:24:35 2018
>> @@ -40,7 +40,7 @@ class PythonSynthDataFormatterTestCase(T
>> 
>>     def data_formatter_commands(self):
>>         """Test using Python synthetic children provider."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> @@ -222,7 +222,7 @@ class PythonSynthDataFormatterTestCase(T
>> 
>>     def rdar10960550_formatter_commands(self):
>>         """Test that synthetic children persist stoppoints."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         # The second breakpoint is on a multi-line expression, so the comment
>>         # can't be on the right line...
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class ScriptDataFormatterTestCase(TestBa
>> 
>>     def data_formatter_commands(self):
>>         """Test that that file and class static variables display correctly."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py Fri Jan 19 15:24:35 2018
>> @@ -36,7 +36,7 @@ class SkipSummaryDataFormatterTestCase(T
>> 
>>     def data_formatter_commands(self):
>>         """Test that that file and class static variables display correctly."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         #import lldbsuite.test.lldbutil as lldbutil
>>         lldbutil.run_break_set_by_file_and_line(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class SmartArrayDataFormatterTestCase(Te
>> 
>>     def data_formatter_commands(self):
>>         """Test that that file and class static variables display correctly."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class LibCxxAtomicTestCase(TestBase):
>>     def test(self):
>>         """Test that std::atomic as defined by libc++ is correctly printed by LLDB"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class LibCxxFunctionTestCase(TestBase):
>>     def test(self):
>>         """Test that std::function as defined by libc++ is correctly printed by LLDB"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class InitializerListTestCase(TestBase):
>>     def test(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class LibcxxIteratorDataFormatterTestCas
>>     def test_with_run_command(self):
>>         """Test that libc++ iterators format properly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=-1)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py Fri Jan 19 15:24:35 2018
>> @@ -34,7 +34,7 @@ class LibcxxListDataFormatterTestCase(Te
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=-1)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class LibcxxListDataFormatterTestCase(Te
>>     @skipIfDarwin  # rdar://25499635
>>     def test_with_run_command(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target and target.IsValid(), "Target is valid")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class LibcxxMapDataFormatterTestCase(Tes
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class LibcxxMultiMapDataFormatterTestCas
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class LibcxxMultiSetDataFormatterTestCas
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class LibcxxSetDataFormatterTestCase(Tes
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(self, "Set break point at this line."))
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class LibcxxStringDataFormatterTestCase(
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=-1)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class LibcxxUnorderedDataFormatterTestCa
>>     @add_test_categories(["libc++"])
>>     def test_with_run_command(self):
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_source_regexp(
>>             self, "Set break point at this line.")
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class LibcxxVBoolDataFormatterTestCase(T
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=-1)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class LibcxxVectorDataFormatterTestCase(
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         bkpt = self.target().FindBreakpointByID(
>>             lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class StdIteratorDataFormatterTestCase(T
>>     def test_with_run_command(self):
>>         """Test that libstdcpp iterators format properly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=-1)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class StdListDataFormatterTestCase(TestB
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=-1)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class StdMapDataFormatterTestCase(TestBa
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_source_regexp(
>>             self, "Set break point at this line.")
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class StdSmartPtrDataFormatterTestCase(T
>>     @skipIfwatchOS  # libstdcpp not ported to watchos
>>     def test_with_run_command(self):
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_source_regexp(
>>             self, "Set break point at this line.")
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class StdStringDataFormatterTestCase(Tes
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=-1)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class StdTupleDataFormatterTestCase(Test
>>     @skipIfwatchOS  # libstdcpp not ported to watchos
>>     def test_with_run_command(self):
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_source_regexp(
>>             self, "Set break point at this line.")
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class StdUniquePtrDataFormatterTestCase(
>>     @skipIfwatchOS  # libstdcpp not ported to watchos
>>     def test_with_run_command(self):
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_source_regexp(
>>             self, "Set break point at this line.")
>> @@ -74,7 +74,7 @@ class StdUniquePtrDataFormatterTestCase(
>>         # reference chain and that it correctly handles the different options
>>         # for the frame variable command in this case.
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_source_regexp(
>>             self, "Set break point at this line.")
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class StdVBoolDataFormatterTestCase(Test
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=-1)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class StdVectorDataFormatterTestCase(Tes
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_source_regexp(
>>             self, "Set break point at this line.")
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class SynthDataFormatterTestCase(TestBas
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthtype/TestDataFormatterSynthType.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthtype/TestDataFormatterSynthType.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthtype/TestDataFormatterSynthType.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthtype/TestDataFormatterSynthType.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class DataFormatterSynthTypeTestCase(Tes
>>     def test_with_run_command(self):
>>         """Test using Python synthetic children provider to provide a typename."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class DataFormatterSynthValueTestCase(Te
>>     def test_with_run_command(self):
>>         """Test using Python synthetic children provider to provide a value."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class FormatPropagationTestCase(TestBase
>>     def test_with_run_command(self):
>>         """Check for an issue where capping does not work because the Target pointer appears to be changing behind our backs."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class FrameFormatSmallStructTestCase(Tes
>>     def test_with_run_command(self):
>>         """Test that the user can input a format but it will not prevail over summary format's choices."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class DataFormatterHexCapsTestCase(TestB
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py Fri Jan 19 15:24:35 2018
>> @@ -38,7 +38,7 @@ class LanguageCategoryUpdatesTestCase(Te
>>         self.addTearDownHook(cleanup)
>> 
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class NSArraySyntheticTestCase(TestBase)
>>     def test_rdar11086338_with_run_command(self):
>>         """Test that NSArray reports its synthetic children properly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class NSDictionarySyntheticTestCase(Test
>>     def test_rdar11988289_with_run_command(self):
>>         """Test that NSDictionary reports its synthetic children properly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class NSSetSyntheticTestCase(TestBase):
>>     def test_rdar12529957_with_run_command(self):
>>         """Test that NSSet reports its synthetic children properly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class DataFormatterOSTypeTestCase(TestBa
>>     def test_ostype_with_run_command(self):
>>         """Test the formatters we use for OSType."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.mm", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/parray/TestPrintArray.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/parray/TestPrintArray.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/parray/TestPrintArray.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/parray/TestPrintArray.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class PrintArrayTestCase(TestBase):
>> 
>>     def printarray_data_formatter_commands(self):
>>         """Test that expr -Z works"""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/poarray/TestPrintObjectArray.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/poarray/TestPrintObjectArray.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/poarray/TestPrintObjectArray.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/poarray/TestPrintObjectArray.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class PrintObjectArrayTestCase(TestBase)
>> 
>>     def printarray_data_formatter_commands(self):
>>         """Test that expr -O -Z works"""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.mm", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class PtrRef2TypedefTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test that a pointer/reference to a typedef is formatted as we want."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class PyObjectSynthProviderTestCase(Test
>> 
>>     def provider_data_formatter_commands(self):
>>         """Test that the PythonObjectSyntheticChildProvider helper class works"""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class DataFormatterRefPtrRecursionTestCa
>>     def test_with_run_command(self):
>>         """Test that ValueObjectPrinter does not cause an infinite loop when a reference to a struct that contains a pointer to itself is printed."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class Radar9974002DataFormatterTestCase(
>>             self.skipTest(
>>                 "llvm.org/pr16214 -- clang emits partial DWARF for structures referenced via typedef")
>> 
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class SyntheticCappingTestCase(TestBase)
>>     def test_with_run_command(self):
>>         """Check for an issue where capping does not work because the Target pointer appears to be changing behind our backs."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class SyntheticFilterRecomputingTestCase
>>     def test_rdar12437442_with_run_command(self):
>>         """Test that we update SBValues correctly as dynamic types change."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_script/TestTypeSummaryListScript.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_script/TestTypeSummaryListScript.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_script/TestTypeSummaryListScript.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_script/TestTypeSummaryListScript.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class TypeSummaryListScriptTestCase(Test
>> 
>>     def data_formatter_commands(self):
>>         """Test printing out Python summary formatters."""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class UserFormatVSSummaryTestCase(TestBa
>>     def test_with_run_command(self):
>>         """Test that the user can input a format but it will not prevail over summary format's choices."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class VarInAggregateMisuseTestCase(TestB
>>     def test_with_run_command(self):
>>         """Test that that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class PythonSynthDataFormatterTestCase(T
>>     def test_with_run_command(self):
>>         """Test using Python synthetic children provider."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class VectorTypesFormattingTestCase(Test
>>     def test_with_run_command(self):
>>         """Check that vector types format properly"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/dead-strip/TestDeadStrip.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/dead-strip/TestDeadStrip.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/dead-strip/TestDeadStrip.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/dead-strip/TestDeadStrip.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class DeadStripTestCase(TestBase):
>>     def test(self):
>>         """Test breakpoint works correctly with dead-code stripping."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break by function name f1 (live code).
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class DisassemblyTestCase(TestBase):
>>         bugnumber="function names print fully demangled instead of name-only")
>>     def test(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect("file " + exe,
>>                     patterns=["Current executable set to .*a.out.*"])
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/disassembly/TestFrameDisassemble.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/disassembly/TestFrameDisassemble.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/disassembly/TestFrameDisassemble.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/disassembly/TestFrameDisassemble.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class FrameDisassembleTestCase(TestBase)
>> 
>>     def frame_disassemble_test(self):
>>         """Sample test to ensure SBFrame::Disassemble produces SOME output"""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py Fri Jan 19 15:24:35 2018
>> @@ -39,7 +39,7 @@ class DynamicValueChildCountTestCase(Tes
>>         """Test fetching C++ dynamic values from pointers & references."""
>>         """Get argument vals for the call stack when stopped on a breakpoint."""
>>         self.build(dictionary=self.getBuildFlags())
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target from the debugger.
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/TestConvenienceVariables.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/TestConvenienceVariables.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/embedded_interpreter/TestConvenienceVariables.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class ConvenienceVariablesCase(TestBase)
>>         """Test convenience variables lldb.debugger, lldb.target, lldb.process, lldb.thread, and lldb.frame."""
>>         self.build()
>>         import pexpect
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         prompt = "(lldb) "
>>         python_prompt = ">>> "
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py Fri Jan 19 15:24:35 2018
>> @@ -51,12 +51,12 @@ class ExecTestCase(TestBase):
>>                 "'%s' -g -O0 -arch i386 -arch x86_64 '%s'" %
>>                 (os.environ["CC"], o_file))
>>             if self.debug_info != "dsym":
>> -                dsym_path = os.path.join(os.getcwd(), "a.out.dSYM")
>> +                dsym_path = self.getBuildArtifact("a.out.dSYM")
>>                 execute_command("rm -rf '%s'" % (dsym_path))
>>         else:
>>             self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create the target
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class ExprDoesntDeadlockTestCase(TestBas
>>     def test_with_run_command(self):
>>         """Test that expr will time out and allow other threads to run if it blocks."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py Fri Jan 19 15:24:35 2018
>> @@ -34,7 +34,7 @@ class FatArchiveTestCase(TestBase):
>>         DWARF in .o file debugging. The only thing this test needs to do is to compile and
>>         set a breakpoint in the target and verify any breakpoint locations have valid debug
>>         info for the function, and source file and line.'''
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create the target
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/format/TestFormats.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/format/TestFormats.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/format/TestFormats.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/format/TestFormats.py Fri Jan 19 15:24:35 2018
>> @@ -22,11 +22,12 @@ class TestFormats(TestBase):
>>     def test_formats(self):
>>         """Test format string functionality."""
>>         self.build()
>> +        exe = self.getBuildArtifact("a.out")
>>         import pexpect
>>         prompt = "(lldb) "
>>         child = pexpect.spawn(
>> -            '%s %s -x -o "b main" -o r a.out' %
>> -            (lldbtest_config.lldbExec, self.lldbOption))
>> +            '%s %s -x -o "b main" -o r %s' %
>> +            (lldbtest_config.lldbExec, self.lldbOption, exe))
>>         # Turn on logging for what the child sends back.
>>         if self.TraceOn():
>>             child.logfile_read = sys.stdout
>> @@ -34,7 +35,7 @@ class TestFormats(TestBase):
>>         self.child = child
>> 
>>         # Substitute 'Help!' for 'help' using the 'commands regex' mechanism.
>> -        child.expect_exact(prompt + 'target create "a.out"')
>> +        child.expect_exact(prompt + 'target create "%s"' % exe)
>>         child.expect_exact(prompt + 'b main')
>>         child.expect_exact(prompt + 'r')
>>         child.expect_exact(prompt)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/TestArray.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/TestArray.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/TestArray.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/TestArray.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestArray(TestBase):
>>     def test_array(self):
>>         TestBase.setUp(self)
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         self.runCmd("run", RUN_SUCCEEDED)
>>         self.expect("thread list", "Thread should be stopped",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/bad-reference/TestBadReference.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/bad-reference/TestBadReference.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/bad-reference/TestBadReference.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/bad-reference/TestBadReference.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestBadReference(TestBase):
>>     def test_bad_reference(self):
>>         TestBase.setUp(self)
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         self.runCmd("run", RUN_SUCCEEDED)
>>         self.expect("thread list", "Thread should be stopped",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/complicated-expression/TestComplicatedExpression.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/complicated-expression/TestComplicatedExpression.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/complicated-expression/TestComplicatedExpression.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/complicated-expression/TestComplicatedExpression.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestDiagnoseDereferenceArgument(Te
>>     def test_diagnose_dereference_argument(self):
>>         TestBase.setUp(self)
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         self.runCmd("run", RUN_SUCCEEDED)
>>         self.expect("thread list", "Thread should be stopped",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestDiagnoseDereferenceArgument(Te
>>     def test_diagnose_dereference_argument(self):
>>         TestBase.setUp(self)
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         self.runCmd("run", RUN_SUCCEEDED)
>>         self.expect("thread list", "Thread should be stopped",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py Fri Jan 19 15:24:35 2018
>> @@ -20,7 +20,7 @@ class TestDiagnoseDereferenceFunctionRet
>>     def test_diagnose_dereference_function_return(self):
>>         TestBase.setUp(self)
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         self.runCmd("run", RUN_SUCCEEDED)
>>         self.expect("thread list", "Thread should be stopped",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-this/TestDiagnoseDereferenceThis.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-this/TestDiagnoseDereferenceThis.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-this/TestDiagnoseDereferenceThis.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-this/TestDiagnoseDereferenceThis.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestDiagnoseDereferenceThis(TestBa
>>     def test_diagnose_dereference_this(self):
>>         TestBase.setUp(self)
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         self.runCmd("run", RUN_SUCCEEDED)
>>         self.expect("thread list", "Thread should be stopped",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/inheritance/TestDiagnoseInheritance.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/inheritance/TestDiagnoseInheritance.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/inheritance/TestDiagnoseInheritance.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/inheritance/TestDiagnoseInheritance.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestDiagnoseInheritance(TestBase):
>>     def test_diagnose_inheritance(self):
>>         TestBase.setUp(self)
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         self.runCmd("run", RUN_SUCCEEDED)
>>         self.expect("thread list", "Thread should be stopped",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/local-variable/TestLocalVariable.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/local-variable/TestLocalVariable.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/local-variable/TestLocalVariable.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/local-variable/TestLocalVariable.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestLocalVariable(TestBase):
>>     def test_local_variable(self):
>>         TestBase.setUp(self)
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         self.runCmd("run", RUN_SUCCEEDED)
>>         self.expect("thread list", "Thread should be stopped",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestDiagnoseVirtualMethodCall(Test
>>     def test_diagnose_virtual_method_call(self):
>>         TestBase.setUp(self)
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         self.runCmd("run", RUN_SUCCEEDED)
>>         self.expect("thread list", "Thread should be stopped",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-language/TestGuessLanguage.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-language/TestGuessLanguage.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-language/TestGuessLanguage.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame-language/TestGuessLanguage.py Fri Jan 19 15:24:35 2018
>> @@ -39,7 +39,7 @@ class TestFrameGuessLanguage(TestBase):
>> 
>>     def do_test(self):
>>         """Test GuessLanguage for C & C++."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame_var/TestFrameVar.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame_var/TestFrameVar.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame_var/TestFrameVar.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/frame_var/TestFrameVar.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class TestFrameVar(TestBase):
>>         TestBase.setUp(self)
>> 
>>     def do_test(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py Fri Jan 19 15:24:35 2018
>> @@ -125,7 +125,7 @@ class AssertingInferiorTestCase(TestBase
>> 
>>     def inferior_asserting(self):
>>         """Inferior asserts upon launching; lldb should catch the event and stop."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> @@ -142,7 +142,7 @@ class AssertingInferiorTestCase(TestBase
>> 
>>     def inferior_asserting_python(self):
>>         """Inferior asserts upon launching; lldb should catch the event and stop."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -166,7 +166,7 @@ class AssertingInferiorTestCase(TestBase
>> 
>>     def inferior_asserting_registers(self):
>>         """Test that lldb can read registers after asserting."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> @@ -178,7 +178,7 @@ class AssertingInferiorTestCase(TestBase
>> 
>>     def inferior_asserting_disassemble(self):
>>         """Test that lldb can disassemble frames after asserting."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -248,7 +248,7 @@ class AssertingInferiorTestCase(TestBase
>> 
>>     def inferior_asserting_expr(self):
>>         """Test that the lldb expression interpreter can read symbols after asserting."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -272,7 +272,7 @@ class AssertingInferiorTestCase(TestBase
>> 
>>     def inferior_asserting_step(self):
>>         """Test that lldb functions correctly after stepping through a call to assert()."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py Fri Jan 19 15:24:35 2018
>> @@ -41,7 +41,7 @@ class ChangedInferiorTestCase(TestBase):
>> 
>>     def inferior_crashing(self):
>>         """Inferior crashes upon launching; lldb should catch the event and stop."""
>> -        self.exe = os.path.join(os.getcwd(), "a.out")
>> +        self.exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + self.exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashing.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashing.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashing.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashing.py Fri Jan 19 15:24:35 2018
>> @@ -100,7 +100,7 @@ class CrashingInferiorTestCase(TestBase)
>> 
>>     def inferior_crashing(self):
>>         """Inferior crashes upon launching; lldb should catch the event and stop."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> @@ -122,7 +122,7 @@ class CrashingInferiorTestCase(TestBase)
>> 
>>     def inferior_crashing_python(self):
>>         """Inferior crashes upon launching; lldb should catch the event and stop."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -148,7 +148,7 @@ class CrashingInferiorTestCase(TestBase)
>> 
>>     def inferior_crashing_registers(self):
>>         """Test that lldb can read registers after crashing."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> @@ -160,7 +160,7 @@ class CrashingInferiorTestCase(TestBase)
>> 
>>     def inferior_crashing_expr(self):
>>         """Test that the lldb expression interpreter can read symbols after crashing."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> @@ -176,7 +176,7 @@ class CrashingInferiorTestCase(TestBase)
>> 
>>     def inferior_crashing_step(self):
>>         """Test that lldb functions correctly after stepping through a crash."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.set_breakpoint(self.line)
>> @@ -206,7 +206,7 @@ class CrashingInferiorTestCase(TestBase)
>> 
>>     def inferior_crashing_step_after_break(self):
>>         """Test that lldb behaves correctly when stepping after a crash."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> @@ -231,7 +231,7 @@ class CrashingInferiorTestCase(TestBase)
>> 
>>     def inferior_crashing_expr_step_expr(self):
>>         """Test that lldb expressions work before and after stepping after a crash."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py Fri Jan 19 15:24:35 2018
>> @@ -83,7 +83,7 @@ class CrashingRecursiveInferiorTestCase(
>> 
>>     def recursive_inferior_crashing(self):
>>         """Inferior crashes upon launching; lldb should catch the event and stop."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> @@ -117,7 +117,7 @@ class CrashingRecursiveInferiorTestCase(
>> 
>>     def recursive_inferior_crashing_python(self):
>>         """Inferior crashes upon launching; lldb should catch the event and stop."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -143,7 +143,7 @@ class CrashingRecursiveInferiorTestCase(
>> 
>>     def recursive_inferior_crashing_registers(self):
>>         """Test that lldb can read registers after crashing."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> @@ -155,7 +155,7 @@ class CrashingRecursiveInferiorTestCase(
>> 
>>     def recursive_inferior_crashing_expr(self):
>>         """Test that the lldb expression interpreter can read symbols after crashing."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> @@ -168,7 +168,7 @@ class CrashingRecursiveInferiorTestCase(
>> 
>>     def recursive_inferior_crashing_step(self):
>>         """Test that lldb functions correctly after stepping through a crash."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.set_breakpoint(self.line)
>> @@ -196,7 +196,7 @@ class CrashingRecursiveInferiorTestCase(
>> 
>>     def recursive_inferior_crashing_step_after_break(self):
>>         """Test that lldb behaves correctly when stepping after a crash."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> @@ -221,7 +221,7 @@ class CrashingRecursiveInferiorTestCase(
>> 
>>     def recursive_inferior_crashing_expr_step_expr(self):
>>         """Test that lldb expressions work before and after stepping after a crash."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/inline-stepping/TestInlineStepping.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/inline-stepping/TestInlineStepping.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/inline-stepping/TestInlineStepping.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/inline-stepping/TestInlineStepping.py Fri Jan 19 15:24:35 2018
>> @@ -145,7 +145,7 @@ class TestInlineStepping(TestBase):
>> 
>>     def inline_stepping(self):
>>         """Use Python APIs to test stepping over and hitting breakpoints."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -257,7 +257,7 @@ class TestInlineStepping(TestBase):
>> 
>>     def inline_stepping_step_over(self):
>>         """Use Python APIs to test stepping over and hitting breakpoints."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -288,7 +288,7 @@ class TestInlineStepping(TestBase):
>> 
>>     def step_in_template(self):
>>         """Use Python APIs to test stepping in to templated functions."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class JITLoaderGDBTestCase(TestBase):
>>     def test_bogus_values(self):
>>         """Test that we handle inferior misusing the GDB JIT interface"""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class LaunchWithShellExpandTestCase(Test
>>     @skipIfDarwinEmbedded # iOS etc don't launch the binary via a shell, so arg expansion won't happen
>>     def test(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         self.runCmd("target create %s" % exe)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py Fri Jan 19 15:24:35 2018
>> @@ -105,7 +105,7 @@ class LoadUnloadTestCase(TestBase):
>>         old_dylib = os.path.join(os.getcwd(), dylibName)
>>         new_dylib = os.path.join(new_dir, dylibName)
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.expect("target modules list",
>> @@ -156,7 +156,7 @@ class LoadUnloadTestCase(TestBase):
>>         self.build()
>>         self.copy_shlibs_to_remote(hidden_dir=True)
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Shut off ANSI color usage so we don't get ANSI escape sequences
>> @@ -222,7 +222,7 @@ class LoadUnloadTestCase(TestBase):
>>         self.build()
>>         self.copy_shlibs_to_remote()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break at main.cpp before the call to dlopen().
>> @@ -300,7 +300,7 @@ class LoadUnloadTestCase(TestBase):
>>         self.build()
>>         self.copy_shlibs_to_remote()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break by function name a_function (not yet loaded).
>> @@ -343,7 +343,7 @@ class LoadUnloadTestCase(TestBase):
>>         self.build()
>>         self.copy_shlibs_to_remote()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break by function name a_function (not yet loaded).
>> @@ -374,7 +374,7 @@ class LoadUnloadTestCase(TestBase):
>>         self.build()
>>         self.copy_shlibs_to_remote()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         a_init_bp_num = lldbutil.run_break_set_by_symbol(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py Fri Jan 19 15:24:35 2018
>> @@ -47,7 +47,7 @@ class LongjmpTestCase(TestBase):
>>         self.step_back_out()
>> 
>>     def start_test(self, symbol):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/cache/TestMemoryCache.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/cache/TestMemoryCache.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/cache/TestMemoryCache.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/cache/TestMemoryCache.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class MemoryCacheTestCase(TestBase):
>>     def test_memory_cache(self):
>>         """Test the MemoryCache class with a sequence of 'memory read' and 'memory write' operations."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break in main() after the variables are assigned values.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class MemoryFindTestCase(TestBase):
>>     def test_memory_find(self):
>>         """Test the 'memory find' command."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break in main() aftre the variables are assigned values.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class MemoryReadTestCase(TestBase):
>>     def test_memory_read(self):
>>         """Test the 'memory read' command with plain and vector formats."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break in main() aftre the variables are assigned values.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class MTCSimpleTestCase(TestBase):
>>     @skipIf(archs=['i386'])
>>     def mtc_tests(self):
>>         # Load the test
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect("file " + exe, patterns=["Current executable set to .*a.out"])
>> 
>>         self.runCmd("env DYLD_INSERT_LIBRARIES=%s" % self.mtc_dylib_path)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/nested_alias/TestNestedAlias.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/nested_alias/TestNestedAlias.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/nested_alias/TestNestedAlias.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/nested_alias/TestNestedAlias.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class NestedAliasTestCase(TestBase):
>>     def test_nested_alias(self):
>>         """Test that an alias can reference other aliases without crashing."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break in main() aftre the variables are assigned values.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py Fri Jan 19 15:24:35 2018
>> @@ -23,9 +23,8 @@ class NonOverlappingIndexVariableCase(Te
>>     def test_eval_index_variable(self):
>>         """Test expressions of variable 'i' which appears in two for loops."""
>>         self.build()
>> -        self.exe_name = 'a.out'
>> -        exe = os.path.join(os.getcwd(), self.exe_name)
>> -        self.runCmd("file %s" % exe, CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"),
>> +                    CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/nosucharch/TestNoSuchArch.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/nosucharch/TestNoSuchArch.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/nosucharch/TestNoSuchArch.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/nosucharch/TestNoSuchArch.py Fri Jan 19 15:24:35 2018
>> @@ -15,7 +15,7 @@ class NoSuchArchTestCase(TestBase):
>> 
>>     def test(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Check that passing an invalid arch via the command-line fails but
>>         # doesn't crash
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py Fri Jan 19 15:24:35 2018
>> @@ -45,7 +45,7 @@ class PluginPythonOSPlugin(TestBase):
>> 
>>         # Create a target by the debugger.
>>         cwd = os.getcwd()
>> -        exe = os.path.join(cwd, "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         python_os_plugin_path = os.path.join(cwd, "operating_system.py")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -129,7 +129,7 @@ class PluginPythonOSPlugin(TestBase):
>> 
>>         # Create a target by the debugger.
>>         cwd = os.getcwd()
>> -        exe = os.path.join(cwd, "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         python_os_plugin_path = os.path.join(cwd, "operating_system2.py")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py Fri Jan 19 15:24:35 2018
>> @@ -63,7 +63,7 @@ class MiniDumpTestCase(TestBase):
>>     def test_deeper_stack_in_mini_dump(self):
>>         """Test that we can examine a more interesting stack in a mini dump."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         core = os.path.join(os.getcwd(), "core.dmp")
>>         try:
>>             # Set a breakpoint and capture a mini dump.
>> @@ -99,7 +99,7 @@ class MiniDumpTestCase(TestBase):
>>     def test_local_variables_in_mini_dump(self):
>>         """Test that we can examine local variables in a mini dump."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         core = os.path.join(os.getcwd(), "core.dmp")
>>         try:
>>             # Set a breakpoint and capture a mini dump.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/pre_run_dylibs/TestPreRunDylibs.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/pre_run_dylibs/TestPreRunDylibs.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/pre_run_dylibs/TestPreRunDylibs.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/pre_run_dylibs/TestPreRunDylibs.py Fri Jan 19 15:24:35 2018
>> @@ -20,7 +20,7 @@ class TestPreRunLibraries(TestBase):
>>         """Test that we find directly linked dylib pre-run."""
>> 
>>         self.build()
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         # I don't know what the name of a shared library
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class ChangeProcessGroupTestCase(TestBas
>>     @expectedFailureAll(oslist=['ios', 'watchos', 'tvos', 'bridgeos'], bugnumber="<rdar://problem/34538611>") # old lldb-server has race condition, launching an inferior and then launching debugserver in quick succession sometimes fails
>>     def test_setpgid(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Use a file as a synchronization point between test and inferior.
>>         pid_file_path = lldbutil.append_to_process_working_directory(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class ProcessLaunchTestCase(TestBase):
>>     def test_io(self):
>>         """Test that process launch I/O redirection flags work properly."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect("file " + exe,
>>                     patterns=["Current executable set to .*a.out"])
>> 
>> @@ -125,7 +125,7 @@ class ProcessLaunchTestCase(TestBase):
>>         d = {'CXX_SOURCES': 'print_cwd.cpp'}
>>         self.build(dictionary=d)
>>         self.setTearDownCleanup(d)
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe)
>> 
>>         mywd = 'my_working_dir'
>> @@ -195,7 +195,7 @@ class ProcessLaunchTestCase(TestBase):
>>         d = {'CXX_SOURCES': source}
>>         self.build(dictionary=d)
>>         self.setTearDownCleanup(d)
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         evil_var = 'INIT*MIDDLE}TAIL'
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_save_core/TestProcessSaveCore.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_save_core/TestProcessSaveCore.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_save_core/TestProcessSaveCore.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_save_core/TestProcessSaveCore.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class ProcessSaveCoreTestCase(TestBase):
>>     def test_cannot_save_core_unless_process_stopped(self):
>>         """Test that SaveCore fails if the process isn't stopped."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         core = os.path.join(os.getcwd(), "core.dmp")
>>         target = self.dbg.CreateTarget(exe)
>>         process = target.LaunchSimple(
>> @@ -35,7 +35,7 @@ class ProcessSaveCoreTestCase(TestBase):
>>     def test_save_windows_mini_dump(self):
>>         """Test that we can save a Windows mini dump."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         core = os.path.join(os.getcwd(), "core.dmp")
>>         try:
>>             target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/ptr_refs/TestPtrRefs.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/ptr_refs/TestPtrRefs.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/ptr_refs/TestPtrRefs.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/ptr_refs/TestPtrRefs.py Fri Jan 19 15:24:35 2018
>> @@ -19,8 +19,7 @@ class TestPtrRefs(TestBase):
>>     def test_ptr_refs(self):
>>         """Test format string functionality."""
>>         self.build()
>> -        exe_name = 'a.out'
>> -        exe = os.path.join(os.getcwd(), exe_name)
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/recursion/TestValueObjectRecursion.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/recursion/TestValueObjectRecursion.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/recursion/TestValueObjectRecursion.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/recursion/TestValueObjectRecursion.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class ValueObjectRecursionTestCase(TestB
>>     def test_with_run_command(self):
>>         """Test that deeply nested ValueObjects still work."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestYMMRegister.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestYMMRegister.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestYMMRegister.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestYMMRegister.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class TestYMMRegister(TestBase):
>>         self.build()
>>         self.setTearDownCleanup()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>> 
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/TestMPXRegisters.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/TestMPXRegisters.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/TestMPXRegisters.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/TestMPXRegisters.py Fri Jan 19 15:24:35 2018
>> @@ -35,7 +35,7 @@ class RegisterCommandsTestCase(TestBase)
>>         """Test Intel(R) MPX registers after running example code."""
>>         self.line = line_number('main.cpp', '// Set a break point here.')
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(self, "main.cpp", self.line, num_expected_locations=1)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/mpx_bound_violation/TestBoundViolation.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/mpx_bound_violation/TestBoundViolation.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/mpx_bound_violation/TestBoundViolation.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/mpx_bound_violation/TestBoundViolation.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class RegisterCommandsTestCase(TestBase)
>>         self.mpx_boundary_violation()
>> 
>>     def mpx_boundary_violation(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("run", RUN_SUCCEEDED)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py Fri Jan 19 15:24:35 2018
>> @@ -124,7 +124,7 @@ class RegisterCommandsTestCase(TestBase)
>>         self.convenience_registers_with_process_attach(test_16bit_regs=True)
>> 
>>     def common_setup(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>> @@ -185,7 +185,7 @@ class RegisterCommandsTestCase(TestBase)
>>                 new_value])
>> 
>>     def fp_special_purpose_register_read(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -266,7 +266,7 @@ class RegisterCommandsTestCase(TestBase)
>>                 1 << fstat_top_pointer_initial)
>> 
>>     def fp_register_write(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -441,7 +441,7 @@ class RegisterCommandsTestCase(TestBase)
>> 
>>     def convenience_registers_with_process_attach(self, test_16bit_regs):
>>         """Test convenience registers after a 'process attach'."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Spawn a new process
>>         pid = self.spawnSubprocess(exe, ['wait_for_attach']).pid
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/rerun/TestRerun.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/rerun/TestRerun.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/rerun/TestRerun.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/rerun/TestRerun.py Fri Jan 19 15:24:35 2018
>> @@ -18,7 +18,7 @@ class TestRerun(TestBase):
>> 
>>     def test(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         self.runCmd("target create %s" % exe)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py Fri Jan 19 15:24:35 2018
>> @@ -40,7 +40,7 @@ class ReturnValueTestCase(TestBase):
>>     def test_with_python(self):
>>         """Test getting return values from stepping out."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         error = lldb.SBError()
>> 
>>         self.target = self.dbg.CreateTarget(exe)
>> @@ -189,7 +189,7 @@ class ReturnValueTestCase(TestBase):
>>     @skipIfDarwinEmbedded # <rdar://problem/33976032> ABIMacOSX_arm64 doesn't get structs this big correctly
>>     def test_vector_values(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         error = lldb.SBError()
>> 
>>         self.target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/set-data/TestSetData.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/set-data/TestSetData.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/set-data/TestSetData.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/set-data/TestSetData.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class SetDataTestCase(TestBase):
>>     def test_set_data(self):
>>         """Test setting the contents of variables and registers using raw data."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("br s -p First")
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/TestSendSignal.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/TestSendSignal.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/TestSendSignal.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/TestSendSignal.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class SendSignalTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test that lldb command 'process signal SIGUSR1' sends a signal to the inferior process."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py Fri Jan 19 15:24:35 2018
>> @@ -20,7 +20,7 @@ class HandleSegvTestCase(TestBase):
>>     @skipIfDarwin
>>     def test_inferior_handle_sigsegv(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/raise/TestRaise.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/raise/TestRaise.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/raise/TestRaise.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/raise/TestRaise.py Fri Jan 19 15:24:35 2018
>> @@ -58,7 +58,7 @@ class RaiseTestCase(TestBase):
>> 
>>     def signal_test(self, signal, test_passing):
>>         """Test that we handle inferior raising signals"""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -197,7 +197,7 @@ class RaiseTestCase(TestBase):
>>         """Test that we catch a signal in the edge case where the process receives it while we are
>>         about to interrupt it"""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py Fri Jan 19 15:24:35 2018
>> @@ -35,7 +35,9 @@ class SingleQuoteInCommandLineTestCase(T
>>         """Test that 'lldb my_file_name' works where my_file_name is a string with a single quote char in it."""
>>         import pexpect
>>         self.buildDefault()
>> -        system([["cp", "a.out", "\"%s\"" % self.myexe]])
>> +        system([["cp",
>> +                 self.getBuildArtifact("a.out"),
>> +                 "\"%s\"" % self.getBuildArtifact(self.myexe)]])
>> 
>>         # The default lldb prompt.
>>         prompt = "(lldb) "
>> @@ -43,7 +45,8 @@ class SingleQuoteInCommandLineTestCase(T
>>         # So that the child gets torn down after the test.
>>         self.child = pexpect.spawn(
>>             '%s %s "%s"' %
>> -            (lldbtest_config.lldbExec, self.lldbOption, self.myexe))
>> +            (lldbtest_config.lldbExec, self.lldbOption,
>> +             self.getBuildArtifact(self.myexe)))
>>         child = self.child
>>         child.setecho(True)
>>         # Turn on logging for input/output to/from the child.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py Fri Jan 19 15:24:35 2018
>> @@ -92,7 +92,7 @@ class ReturnValueTestCase(TestBase):
>>             (name, pattern))
>> 
>>     def get_to_starting_point(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         error = lldb.SBError()
>> 
>>         self.target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookCmd.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookCmd.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookCmd.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookCmd.py Fri Jan 19 15:24:35 2018
>> @@ -38,7 +38,7 @@ class StopHookCmdTestCase(TestBase):
>>     def test(self):
>>         """Test a sequence of target stop-hook commands."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py Fri Jan 19 15:24:35 2018
>> @@ -45,7 +45,7 @@ class StopHookMechanismTestCase(TestBase
>>         self.build()
>> 
>>         import pexpect
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         prompt = "(lldb) "
>>         add_prompt = "Enter your stop hook command(s).  Type 'DONE' to end."
>>         add_prompt1 = "> "
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py Fri Jan 19 15:24:35 2018
>> @@ -25,15 +25,15 @@ class targetCommandTestCase(TestBase):
>> 
>>     def test_target_command(self):
>>         """Test some target commands: create, list, select."""
>> -        da = {'C_SOURCES': 'a.c', 'EXE': 'a.out'}
>> +        da = {'C_SOURCES': 'a.c', 'EXE': self.getBuildArtifact('a.out')}
>>         self.build(dictionary=da)
>>         self.addTearDownCleanup(dictionary=da)
>> 
>> -        db = {'C_SOURCES': 'b.c', 'EXE': 'b.out'}
>> +        db = {'C_SOURCES': 'b.c', 'EXE': self.getBuildArtifact('b.out')}
>>         self.build(dictionary=db)
>>         self.addTearDownCleanup(dictionary=db)
>> 
>> -        dc = {'C_SOURCES': 'c.c', 'EXE': 'c.out'}
>> +        dc = {'C_SOURCES': 'c.c', 'EXE': self.getBuildArtifact('c.out')}
>>         self.build(dictionary=dc)
>>         self.addTearDownCleanup(dictionary=dc)
>> 
>> @@ -44,7 +44,7 @@ class targetCommandTestCase(TestBase):
>>     @expectedFailureAndroid(archs=['aarch64'])
>>     def test_target_variable_command(self):
>>         """Test 'target variable' command before and after starting the inferior."""
>> -        d = {'C_SOURCES': 'globals.c', 'EXE': 'globals'}
>> +        d = {'C_SOURCES': 'globals.c', 'EXE': self.getBuildArtifact('globals')}
>>         self.build(dictionary=d)
>>         self.addTearDownCleanup(dictionary=d)
>> 
>> @@ -53,7 +53,7 @@ class targetCommandTestCase(TestBase):
>>     @expectedFailureAndroid(archs=['aarch64'])
>>     def test_target_variable_command_no_fail(self):
>>         """Test 'target variable' command before and after starting the inferior."""
>> -        d = {'C_SOURCES': 'globals.c', 'EXE': 'globals'}
>> +        d = {'C_SOURCES': 'globals.c', 'EXE': self.getBuildArtifact('globals')}
>>         self.build(dictionary=d)
>>         self.addTearDownCleanup(dictionary=d)
>> 
>> @@ -61,7 +61,7 @@ class targetCommandTestCase(TestBase):
>> 
>>     def do_target_command(self):
>>         """Exercise 'target create', 'target list', 'target select' commands."""
>> -        exe_a = os.path.join(os.getcwd(), "a.out")
>> +        exe_a = self.getBuildArtifact("a.out")
>>         exe_b = os.path.join(os.getcwd(), "b.out")
>>         exe_c = os.path.join(os.getcwd(), "c.out")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/backtrace_all/TestBacktraceAll.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/backtrace_all/TestBacktraceAll.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/backtrace_all/TestBacktraceAll.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/backtrace_all/TestBacktraceAll.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class BreakpointAfterJoinTestCase(TestBa
>>         """Test breakpoint handling after a thread join."""
>>         self.build(dictionary=self.getBuildFlags())
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py Fri Jan 19 15:24:35 2018
>> @@ -36,7 +36,7 @@ class BreakpointAfterJoinTestCase(TestBa
>>         """Test breakpoint handling after a thread join."""
>>         self.build(dictionary=self.getBuildFlags())
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint in the main thread.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class CreateDuringStepTestCase(TestBase)
>>     def test_step_inst_with(self):
>>         """Test thread creation during step-inst handling."""
>>         self.build(dictionary=self.getBuildFlags())
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target and target.IsValid(), "Target is valid")
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py Fri Jan 19 15:24:35 2018
>> @@ -51,7 +51,7 @@ class CreateAfterAttachTestCase(TestBase
>>     def create_after_attach(self, use_fork):
>>         """Test thread creation after process attach."""
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Spawn a new process
>>         if use_fork:
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/TestCreateDuringStep.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/TestCreateDuringStep.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/TestCreateDuringStep.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_during_step/TestCreateDuringStep.py Fri Jan 19 15:24:35 2018
>> @@ -83,7 +83,7 @@ class CreateDuringStepTestCase(TestBase)
>> 
>>     def create_during_step_base(self, step_cmd, step_stop_reason):
>>         """Test thread creation while using step-in."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Get the target process
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class ExitDuringBreakpointTestCase(TestB
>>     def test(self):
>>         """Test thread exit during breakpoint handling."""
>>         self.build(dictionary=self.getBuildFlags())
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint in the main thread.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py Fri Jan 19 15:24:35 2018
>> @@ -53,7 +53,7 @@ class ExitDuringStepTestCase(TestBase):
>> 
>>     def exit_during_step_base(self, step_cmd, step_stop_reason, by_instruction):
>>         """Test thread exit during step handling."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint in the main thread.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py Fri Jan 19 15:24:35 2018
>> @@ -20,7 +20,7 @@ class ThreadJumpTestCase(TestBase):
>>     def test(self):
>>         """Test thread jump handling."""
>>         self.build(dictionary=self.getBuildFlags())
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Find the line numbers for our breakpoints.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py Fri Jan 19 15:24:35 2018
>> @@ -38,7 +38,7 @@ class MultipleBreakpointTestCase(TestBas
>>     def test(self):
>>         """Test simultaneous breakpoints in multiple threads."""
>>         self.build(dictionary=self.getBuildFlags())
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint in the main thread.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/num_threads/TestNumThreads.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/num_threads/TestNumThreads.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/num_threads/TestNumThreads.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/num_threads/TestNumThreads.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class NumberOfThreadsTestCase(TestBase):
>>     def test_number_of_threads(self):
>>         """Test number of threads."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint with 1 location.
>> @@ -66,7 +66,7 @@ class NumberOfThreadsTestCase(TestBase):
>>     def test_unique_stacks(self):
>>         """Test backtrace unique with multiple threads executing the same stack."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Set a break point on the thread3 notify all (should get hit on threads 4-13).
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py Fri Jan 19 15:24:35 2018
>> @@ -82,7 +82,7 @@ class ThreadStateTestCase(TestBase):
>> 
>>     def thread_state_after_breakpoint_test(self):
>>         """Test thread state after breakpoint."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint in the main thread.
>> @@ -122,7 +122,7 @@ class ThreadStateTestCase(TestBase):
>> 
>>     def thread_state_after_continue_test(self):
>>         """Test thread state after continue."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint in the main thread.
>> @@ -164,7 +164,7 @@ class ThreadStateTestCase(TestBase):
>> 
>>     def thread_state_after_expression_test(self):
>>         """Test thread state after expression."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint in the main thread.
>> @@ -200,7 +200,7 @@ class ThreadStateTestCase(TestBase):
>> 
>>     def process_interrupt_test(self):
>>         """Test process interrupt and continue."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint in the main thread.
>> @@ -240,7 +240,7 @@ class ThreadStateTestCase(TestBase):
>> 
>>     def thread_states_test(self):
>>         """Test thread states (comprehensive)."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint in the main thread.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py Fri Jan 19 15:24:35 2018
>> @@ -125,7 +125,7 @@ class ThreadStepOutTestCase(TestBase):
>> 
>>     def step_out_test(self, step_out_func):
>>         """Test single thread step out of a function."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint in the main thread.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/step_until/TestStepUntil.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/step_until/TestStepUntil.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/step_until/TestStepUntil.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/step_until/TestStepUntil.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class TestCStepping(TestBase):
>> 
>>     def do_until (self, args, until_lines, expected_linenum):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class ThreadExitTestCase(TestBase):
>>     def test(self):
>>         """Test thread exit handling."""
>>         self.build(dictionary=self.getBuildFlags())
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # This should create a breakpoint with 1 location.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class ThreadSpecificBreakTestCase(TestBa
>>     def test_python(self):
>>         """Test that we obey thread conditioned breakpoints."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class ThreadSpecificBreakPlusConditionTe
>>     def test_python(self):
>>         """Test that we obey thread conditioned breakpoints."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/basic/TestTsanBasic.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/basic/TestTsanBasic.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/basic/TestTsanBasic.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/basic/TestTsanBasic.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class TsanBasicTestCase(TestBase):
>>         self.line_thread2 = line_number('main.c', '// thread2 line')
>> 
>>     def tsan_tests(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect(
>>             "file " + exe,
>>             patterns=["Current executable set to .*a.out"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class TsanCPPGlobalLocationTestCase(Test
>>         TestBase.setUp(self)
>> 
>>     def tsan_tests(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect(
>>             "file " + exe,
>>             patterns=["Current executable set to .*a.out"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/global_location/TestTsanGlobalLocation.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/global_location/TestTsanGlobalLocation.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/global_location/TestTsanGlobalLocation.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/global_location/TestTsanGlobalLocation.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class TsanGlobalLocationTestCase(TestBas
>>         TestBase.setUp(self)
>> 
>>     def tsan_tests(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect(
>>             "file " + exe,
>>             patterns=["Current executable set to .*a.out"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/multiple/TestTsanMultiple.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/multiple/TestTsanMultiple.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/multiple/TestTsanMultiple.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/multiple/TestTsanMultiple.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class TsanMultipleTestCase(TestBase):
>>         TestBase.setUp(self)
>> 
>>     def tsan_tests(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect(
>>             "file " + exe,
>>             patterns=["Current executable set to .*a.out"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/thread_leak/TestTsanThreadLeak.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/thread_leak/TestTsanThreadLeak.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/thread_leak/TestTsanThreadLeak.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/thread_leak/TestTsanThreadLeak.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class TsanThreadLeakTestCase(TestBase):
>>         self.tsan_tests()
>> 
>>     def tsan_tests(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect(
>>             "file " + exe,
>>             patterns=["Current executable set to .*a.out"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class TsanThreadNumbersTestCase(TestBase
>>         TestBase.setUp(self)
>> 
>>     def tsan_tests(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect(
>>             "file " + exe,
>>             patterns=["Current executable set to .*a.out"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/tty/TestTerminal.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/tty/TestTerminal.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/tty/TestTerminal.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/tty/TestTerminal.py Fri Jan 19 15:24:35 2018
>> @@ -35,7 +35,7 @@ class LaunchInTerminalTestCase(TestBase)
>>     @no_debug_info_test
>>     def test_launch_in_terminal(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         launch_info = lldb.SBLaunchInfo(["-lAF", "/tmp/"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/type_completion/TestTypeCompletion.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/type_completion/TestTypeCompletion.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/type_completion/TestTypeCompletion.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/type_completion/TestTypeCompletion.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class TypeCompletionTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Check that types only get completed when necessary."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_source_regexp(
>>             self, "// Set break point at this line.")
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/type_lookup/TestTypeLookup.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/type_lookup/TestTypeLookup.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/type_lookup/TestTypeLookup.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/type_lookup/TestTypeLookup.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TypeLookupTestCase(TestBase):
>>     def test_type_lookup(self):
>>         """Test type lookup command."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.mm", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class UbsanBasicTestCase(TestBase):
>> 
>>     def ubsan_tests(self):
>>         # Load the test
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect(
>>             "file " + exe,
>>             patterns=["Current executable set to .*a.out"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/user-expression/TestUbsanUserExpression.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/user-expression/TestUbsanUserExpression.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/user-expression/TestUbsanUserExpression.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/user-expression/TestUbsanUserExpression.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class UbsanUserExpressionTestCase(TestBa
>> 
>>     def ubsan_tests(self):
>>         # Load the test
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect(
>>             "file " + exe,
>>             patterns=["Current executable set to .*a.out"])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/ehframe/TestEhFrameUnwind.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/ehframe/TestEhFrameUnwind.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/ehframe/TestEhFrameUnwind.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/ehframe/TestEhFrameUnwind.py Fri Jan 19 15:24:35 2018
>> @@ -23,7 +23,7 @@ class EHFrameBasedUnwind(TestBase):
>>         self.build()
>>         self.setTearDownCleanup()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>> 
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class NoreturnUnwind(TestBase):
>>         self.build()
>>         self.setTearDownCleanup()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class SigtrampUnwind(TestBase):
>>         self.build()
>>         self.setTearDownCleanup()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/standard/TestStandardUnwind.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/standard/TestStandardUnwind.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/standard/TestStandardUnwind.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/standard/TestStandardUnwind.py Fri Jan 19 15:24:35 2018
>> @@ -84,7 +84,7 @@ class StandardUnwindTest(TestBase):
>>         else:
>>             self.skipTest("No expectations for the current architecture")
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/value_md5_crash/TestValueMD5Crash.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/value_md5_crash/TestValueMD5Crash.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/value_md5_crash/TestValueMD5Crash.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/value_md5_crash/TestValueMD5Crash.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class ValueMD5CrashTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Verify that the hash computing logic for ValueObject's values can't crash us."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class HelloWatchpointTestCase(TestBase):
>>         # And the watchpoint variable declaration line number.
>>         self.decl = line_number(self.source,
>>                                 '// Watchpoint variable declaration.')
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact('a.out')
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>     @expectedFailureAll(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/TestWatchpointMultipleSlots.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/TestWatchpointMultipleSlots.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/TestWatchpointMultipleSlots.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/TestWatchpointMultipleSlots.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class WatchpointSlotsTestCase(TestBase):
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>     # This is a arm and aarch64 specific test case. No other architectures tested.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_hits/TestMultipleHits.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_hits/TestMultipleHits.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_hits/TestMultipleHits.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_hits/TestMultipleHits.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class MultipleHitsTestCase(TestBase):
>>     @skipIf(bugnumber="llvm.org/pr30758", oslist=["linux"], archs=["arm", "aarch64"])
>>     def test(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target and target.IsValid(), VALID_TARGET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py Fri Jan 19 15:24:35 2018
>> @@ -47,12 +47,8 @@ class WatchpointForMultipleThreadsTestCa
>> 
>>     def hello_multiple_threads(self):
>>         """Test that lldb watchpoint works for multiple threads."""
>> -        self.runCmd(
>> -            "file %s" %
>> -            os.path.join(
>> -                os.getcwd(),
>> -                'a.out'),
>> -            CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"),
>> +                    CURRENT_EXECUTABLE_SET)
>> 
>>         # Add a breakpoint to set a watchpoint when stopped on the breakpoint.
>>         lldbutil.run_break_set_by_file_and_line(
>> @@ -99,12 +95,8 @@ class WatchpointForMultipleThreadsTestCa
>> 
>>     def hello_multiple_threads_wp_set_and_then_delete(self):
>>         """Test that lldb watchpoint works for multiple threads, and after the watchpoint is deleted, the watchpoint event should no longer fires."""
>> -        self.runCmd(
>> -            "file %s" %
>> -            os.path.join(
>> -                os.getcwd(),
>> -                'a.out'),
>> -            CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"),
>> +                    CURRENT_EXECUTABLE_SET)
>> 
>>         # Add a breakpoint to set a watchpoint when stopped on the breakpoint.
>>         lldbutil.run_break_set_by_file_and_line(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestStepOverWatchpoint(TestBase):
>>     def test(self):
>>         """Test stepping over watchpoints."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(self.target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_disable/TestWatchpointDisable.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_disable/TestWatchpointDisable.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_disable/TestWatchpointDisable.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_disable/TestWatchpointDisable.py Fri Jan 19 15:24:35 2018
>> @@ -35,9 +35,7 @@ class TestWatchpointSetEnable(TestBase):
>>     def do_test(self, test_enable):
>>         """Set a watchpoint, disable it and make sure it doesn't get hit."""
>> 
>> -        exe = 'a.out'
>> -
>> -        exe = os.path.join(os.getcwd(), exe)
>> +        exe = self.getBuildArtifact("a.out")
>>         main_file_spec = lldb.SBFileSpec("main.c")
>> 
>>         # Create a target by the debugger.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class TestWatchpointEvents (TestBase):
>>         """Test that adding, deleting and modifying watchpoints sends the appropriate events."""
>>         self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py Fri Jan 19 15:24:35 2018
>> @@ -31,12 +31,12 @@ class TestValueOfVectorVariableTestCase(
>>         TestBase.setUp(self)
>>         # Our simple source filename.
>>         self.source = 'main.c'
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>     def value_of_vector_variable_with_watchpoint_set(self):
>>         """Test verify displayed value of vector variable"""
>> -        exe = os.path.join(os.getcwd(), 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Set break to get a frame
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py Fri Jan 19 15:24:35 2018
>> @@ -44,7 +44,7 @@ class WatchLocationUsingWatchpointSetTes
>>         self.build()
>>         self.setTearDownCleanup()
>> 
>> -        exe = os.path.join(os.getcwd(), 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Add a breakpoint to set a watchpoint when stopped on the breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class WatchpointSetErrorTestCase(TestBas
>>         self.build()
>>         self.setTearDownCleanup()
>> 
>> -        exe = os.path.join(os.getcwd(), 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Add a breakpoint to set a watchpoint when stopped on the breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_size/TestWatchpointSizes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_size/TestWatchpointSizes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_size/TestWatchpointSizes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_size/TestWatchpointSizes.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class WatchpointSizeTestCase(TestBase):
>>         self.source = 'main.c'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'C_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>     @expectedFailureAll(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py Fri Jan 19 15:24:35 2018
>> @@ -88,7 +88,7 @@ class AnonymousTestCase(TestBase):
>>         self.dbg.SetAsync(False)
>> 
>>         # Create a target
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> @@ -150,7 +150,7 @@ class AnonymousTestCase(TestBase):
>>         self.dbg.SetAsync(False)
>> 
>>         # Create a target
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/array_types/TestArrayTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/array_types/TestArrayTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/array_types/TestArrayTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/array_types/TestArrayTypes.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class ArrayTypesTestCase(TestBase):
>>     def test_and_run_command(self):
>>         """Test 'frame variable var_name' on some variables with array types."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>> @@ -85,7 +85,7 @@ class ArrayTypesTestCase(TestBase):
>>     def test_and_python_api(self):
>>         """Use Python APIs to inspect variables with array types."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class BitfieldsTestCase(TestBase):
>>     def test_and_run_command(self):
>>         """Test 'frame variable ...' on a variable with bitfields."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the main.
>> @@ -123,7 +123,7 @@ class BitfieldsTestCase(TestBase):
>>     def test_and_python_api(self):
>>         """Use Python APIs to inspect a bitfields variable."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class BlocksTestCase(TestBase):
>> 
>>     def launch_common(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.is_started = False
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py Fri Jan 19 15:24:35 2018
>> @@ -18,8 +18,8 @@ class TestConflictingSymbols(TestBase):
>> 
>>     def test_conflicting_symbols(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> -        target = self.dbg.CreateTarget("a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> +        target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         # Register our shared libraries for remote targets so they get
>> @@ -89,8 +89,8 @@ class TestConflictingSymbols(TestBase):
>>     @expectedFailureAll(bugnumber="llvm.org/pr35043")
>>     def test_shadowed(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> -        target = self.dbg.CreateTarget("a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> +        target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         # Register our shared libraries for remote targets so they get
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/const_variables/TestConstVariables.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/const_variables/TestConstVariables.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/const_variables/TestConstVariables.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/const_variables/TestConstVariables.py Fri Jan 19 15:24:35 2018
>> @@ -38,7 +38,7 @@ class ConstVariableTestCase(TestBase):
>>     def test_and_run_command(self):
>>         """Test interpreted and JITted expressions on constant values."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the main.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class EnumTypesTestCase(TestBase):
>>     def test(self):
>>         """Test 'image lookup -t days' and check for correct display and enum value printing."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the main.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/find_struct_type/TestFindStructTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/find_struct_type/TestFindStructTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/find_struct_type/TestFindStructTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/find_struct_type/TestFindStructTypes.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class TestFindTypesOnStructType(TestBase
>> 
>>     def do_test(self):
>>         """Make sure FindTypes actually finds 'struct typename' not just 'typename'."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/forward/TestForwardDeclaration.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/forward/TestForwardDeclaration.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/forward/TestForwardDeclaration.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/forward/TestForwardDeclaration.py Fri Jan 19 15:24:35 2018
>> @@ -17,7 +17,7 @@ class ForwardDeclarationTestCase(TestBas
>>     def test_and_run_command(self):
>>         """Display *bar_ptr when stopped on a function with forward declaration of struct bar."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/function_types/TestFunctionTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/function_types/TestFunctionTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/function_types/TestFunctionTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/function_types/TestFunctionTypes.py Fri Jan 19 15:24:35 2018
>> @@ -66,7 +66,7 @@ class FunctionTypesTestCase(TestBase):
>>                     startstr='(int) $2 = 12')
>> 
>>     def runToBreakpoint(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the main.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class GlobalVariablesTestCase(TestBase):
>>         self.build()
>> 
>>         # Create a target by the debugger.
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         # Break inside the main.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class CModulesTestCase(TestBase):
>>     @skipIf(macos_version=["<", "10.12"])
>>     def test_expr(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py Fri Jan 19 15:24:35 2018
>> @@ -114,7 +114,7 @@ class RegisterVariableTestCase(TestBase)
>>         register_variables_count = 0
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the main.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/set_values/TestSetValues.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/set_values/TestSetValues.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/set_values/TestSetValues.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/set_values/TestSetValues.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class SetValuesTestCase(TestBase):
>>     def test(self):
>>         """Test settings and readings of program variables."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Set breakpoints on several places to set program variables.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/shared_lib/TestSharedLib.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/shared_lib/TestSharedLib.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/shared_lib/TestSharedLib.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/shared_lib/TestSharedLib.py Fri Jan 19 15:24:35 2018
>> @@ -73,7 +73,7 @@ class SharedLibTestCase(TestBase):
>>         self.dbg.SetAsync(False)
>> 
>>         # Create a target by the debugger.
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         self.runCmd("settings set target.preload-symbols " + str(preload_symbols).lower())
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py Fri Jan 19 15:24:35 2018
>> @@ -62,7 +62,7 @@ class SharedLibStrippedTestCase(TestBase
>>         self.dbg.SetAsync(False)
>> 
>>         # Create a target by the debugger.
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/step-target/TestStepTarget.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/step-target/TestStepTarget.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/step-target/TestStepTarget.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/step-target/TestStepTarget.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class TestStepTarget(TestBase):
>>     @add_test_categories(['pyapi'])
>>     def get_to_start(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class TestCStepping(TestBase):
>>     def test_and_python_api(self):
>>         """Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/stepping/TestThreadStepping.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/stepping/TestThreadStepping.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/stepping/TestThreadStepping.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/stepping/TestThreadStepping.py Fri Jan 19 15:24:35 2018
>> @@ -34,7 +34,7 @@ class ThreadSteppingTestCase(TestBase):
>>     def test_step_out_with_run_command(self):
>>         """Exercise thread step-out and frame select followed by thread step-out."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Create a breakpoint inside function 'c'.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py Fri Jan 19 15:24:35 2018
>> @@ -15,7 +15,7 @@ class CStringsTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Tests that C strings work as expected in expressions"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         line = line_number('main.c', '// breakpoint 1')
>>         lldbutil.run_break_set_by_file_and_line(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py Fri Jan 19 15:24:35 2018
>> @@ -48,7 +48,7 @@ class TlsGlobalTestCase(TestBase):
>>     def test(self):
>>         """Test thread-local storage."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         if self.platformIsDarwin():
>>             self.registerSharedLibrariesWithTarget(target, ['liba.dylib'])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class TypedefTestCase(TestBase):
>> 
>>     def image_lookup_for_multiple_typedefs(self):
>>         """Test 'image lookup -t a' at different scopes and check for correct display."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         typearray = (
>>             "float",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/unions/TestUnionMembers.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/unions/TestUnionMembers.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/unions/TestUnionMembers.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/unions/TestUnionMembers.py Fri Jan 19 15:24:35 2018
>> @@ -47,7 +47,7 @@ class TestUnionMembers(TestBase):
>>         self.assertTrue(self.src_file_spec.IsValid(), "breakpoint file")
>> 
>>         # Get the path of the executable
>> -        exe_path = os.path.join(cwd, 'a.out')
>> +        exe_path = self.getBuildArtifact("a.out")
>> 
>>         # Load the executable
>>         self.target = self.dbg.CreateTarget(exe_path)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py Fri Jan 19 15:24:35 2018
>> @@ -18,7 +18,7 @@ class CPPAutoTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test that auto types work in the expression parser"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         line = line_number('main.cpp', '// break here')
>>         lldbutil.run_break_set_by_file_and_line(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/bool/TestCPPBool.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/bool/TestCPPBool.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/bool/TestCPPBool.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/bool/TestCPPBool.py Fri Jan 19 15:24:35 2018
>> @@ -13,7 +13,7 @@ class CPPBoolTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test that bool types work in the expression parser"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         line = line_number('main.cpp', '// breakpoint 1')
>>         lldbutil.run_break_set_by_file_and_line(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py Fri Jan 19 15:24:35 2018
>> @@ -35,7 +35,7 @@ class CPPBreakpointCommandsTestCase(Test
>>         """Test a sequence of breakpoint command add, list, and delete."""
>>         self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target from the debugger.
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class CallCPPFunctionTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test calling a function by basename"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/chained-calls/TestCppChainedCalls.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/chained-calls/TestCppChainedCalls.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/chained-calls/TestCppChainedCalls.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/chained-calls/TestCppChainedCalls.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestCppChainedCalls(TestBase):
>> 
>>         # Get the path of the executable
>>         cwd = os.getcwd()
>> -        exe_file = "a.out"
>> +        exe_file = self.getBuildArtifact("a.out")
>>         exe_path = os.path.join(cwd, exe_file)
>> 
>>         # Load the executable
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class Char1632TestCase(TestBase):
>>     def test(self):
>>         """Test that the C++11 support for char16_t and char32_t works correctly."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class StaticVariableTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test that file and class static variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> @@ -67,7 +67,7 @@ class StaticVariableTestCase(TestBase):
>>     def test_with_python_api(self):
>>         """Test Python APIs on file and class static variables."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class ClassTypesTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test 'frame variable this' when stopped on a class constructor."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break on the ctor function of class C.
>> @@ -61,7 +61,7 @@ class ClassTypesTestCase(TestBase):
>>     def test_with_python_api(self):
>>         """Use Python APIs to create a breakpoint by (filespec, line)."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -72,7 +72,8 @@ class ClassTypesTestCase(TestBase):
>>         fsDir = os.path.normpath(filespec.GetDirectory())
>>         fsFile = filespec.GetFilename()
>> 
>> -        self.assertTrue(fsDir == os.getcwd() and fsFile == "a.out",
>> +        self.assertTrue(fsDir == os.path.dirname(self.getBuildArtifact())
>> +                        and fsFile == "a.out",
>>                         "FileSpec matches the executable")
>> 
>>         bpfilespec = lldb.SBFileSpec("main.cpp", False)
>> @@ -119,7 +120,7 @@ class ClassTypesTestCase(TestBase):
>>     def test_with_expr_parser(self):
>>         """Test 'frame variable this' and 'expr this' when stopped inside a constructor."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # rdar://problem/8516141
>> @@ -176,7 +177,7 @@ class ClassTypesTestCase(TestBase):
>>     def test_with_constructor_name(self):
>>         """Test 'frame variable this' and 'expr this' when stopped inside a constructor."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -187,7 +188,8 @@ class ClassTypesTestCase(TestBase):
>>         fsDir = os.path.normpath(filespec.GetDirectory())
>>         fsFile = filespec.GetFilename()
>> 
>> -        self.assertTrue(fsDir == os.getcwd() and fsFile == "a.out",
>> +        self.assertTrue(fsDir == os.path.dirname(self.getBuildArtifact())
>> +                        and fsFile == "a.out",
>>                         "FileSpec matches the executable")
>> 
>>         bpfilespec = lldb.SBFileSpec("main.cpp", False)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py Fri Jan 19 15:24:35 2018
>> @@ -78,7 +78,7 @@ class IterateFrameAndDisassembleTestCase
>> 
>>     def breakOnCtor(self):
>>         """Setup/run the program so it stops on C's constructor."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break on the ctor function of class C.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/diamond/TestDiamond.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/diamond/TestDiamond.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/diamond/TestDiamond.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/diamond/TestDiamond.py Fri Jan 19 15:24:35 2018
>> @@ -13,7 +13,7 @@ class CPPTestDiamondInheritance(TestBase
>>     def test_with_run_command(self):
>>         """Test that virtual base classes work in when SBValue objects are used to explore the variable value"""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py Fri Jan 19 15:24:35 2018
>> @@ -37,7 +37,7 @@ class DynamicValueTestCase(TestBase):
>>     def test_get_dynamic_vals(self):
>>         """Test fetching C++ dynamic values from pointers & references."""
>>         self.build(dictionary=self.getBuildFlags())
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target from the debugger.
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py Fri Jan 19 15:24:35 2018
>> @@ -78,7 +78,7 @@ class CPP11EnumTypesTestCase(TestBase):
>> 
>>     def image_lookup_for_enum_type(self):
>>         """Test C++11 enumeration class types."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the main.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class CPPBreakpointTestCase(TestBase):
>>     def test(self):
>>         """Test lldb exception breakpoint command for CPP."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target from the debugger.
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py Fri Jan 19 15:24:35 2018
>> @@ -13,7 +13,7 @@ class FrameVariableAnonymousUnionsTestCa
>>     def test_with_run_command(self):
>>         """Tests that frame variable looks into anonymous unions"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         line = line_number('main.cpp', '// break here')
>>         lldbutil.run_break_set_by_file_and_line(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py Fri Jan 19 15:24:35 2018
>> @@ -21,8 +21,7 @@ class TestCppGlobalOperators(TestBase):
>> 
>>         # Get the path of the executable
>>         cwd = os.getcwd()
>> -        exe_file = "a.out"
>> -        exe_path = os.path.join(cwd, exe_file)
>> +        exe_path = self.getBuildArtifact("a.out")
>> 
>>         # Load the executable
>>         target = self.dbg.CreateTarget(exe_path)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/gmodules/TestWithModuleDebugging.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestWithGmodulesDebugInfo(TestBase
>>         self.assertTrue(src_file_spec.IsValid(), "breakpoint file")
>> 
>>         # Get the path of the executable
>> -        exe_path = os.path.join(cwd, 'a.out')
>> +        exe_path = self.getBuildArtifact("a.out")
>> 
>>         # Load the executable
>>         target = self.dbg.CreateTarget(exe_path)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/inlines/TestInlines.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/inlines/TestInlines.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/inlines/TestInlines.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/inlines/TestInlines.py Fri Jan 19 15:24:35 2018
>> @@ -39,7 +39,7 @@ class InlinesTestCase(TestBase):
>>                     startstr='(int) $0 =')
>> 
>>     def runToBreakpoint(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the main.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TestWithLimitDebugInfo(TestBase):
>>         self.assertTrue(src_file_spec.IsValid(), "breakpoint file")
>> 
>>         # Get the path of the executable
>> -        exe_path = os.path.join(cwd, 'a.out')
>> +        exe_path = self.getBuildArtifact("a.out")
>> 
>>         # Load the executable
>>         target = self.dbg.CreateTarget(exe_path)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py Fri Jan 19 15:24:35 2018
>> @@ -221,7 +221,7 @@ class TestMembersAndLocalsWithSameName(T
>>         self.assertTrue(self.src_file_spec.IsValid(), "breakpoint file")
>> 
>>         # Get the path of the executable
>> -        exe_path = os.path.join(cwd, 'a.out')
>> +        exe_path = self.getBuildArtifact("a.out")
>> 
>>         # Load the executable
>>         self.target = self.dbg.CreateTarget(exe_path)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class NamespaceBreakpointTestCase(TestBa
>>             "A::func(int)"]
>> 
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>>         module_list = lldb.SBFileSpecList()
>> @@ -56,7 +56,7 @@ class NamespaceBreakpointTestCase(TestBa
>>         names = ["func()", "func(int)"]
>> 
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>>         module_list = lldb.SBFileSpecList()
>> @@ -81,7 +81,7 @@ class NamespaceBreakpointTestCase(TestBa
>>         names = ["A::func()", "A::func(int)"]
>> 
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>>         module_list = lldb.SBFileSpecList()
>> @@ -132,7 +132,7 @@ class NamespaceTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test that anonymous and named namespace variables display correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py Fri Jan 19 15:24:35 2018
>> @@ -50,7 +50,7 @@ class NamespaceLookupTestCase(TestBase):
>>     def test_scope_lookup_with_run_command(self):
>>         """Test scope lookup of functions in lldb."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> @@ -151,7 +151,7 @@ class NamespaceLookupTestCase(TestBase):
>>     def test_function_scope_lookup_with_run_command(self):
>>         """Test scope lookup of functions in lldb."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> @@ -188,7 +188,7 @@ class NamespaceLookupTestCase(TestBase):
>>     def test_file_scope_lookup_with_run_command(self):
>>         """Test file scope lookup in lldb."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> @@ -208,7 +208,7 @@ class NamespaceLookupTestCase(TestBase):
>>     def test_scope_lookup_before_using_with_run_command(self):
>>         """Test scope lookup before using in lldb."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> @@ -238,7 +238,7 @@ class NamespaceLookupTestCase(TestBase):
>>     def test_scope_after_using_directive_lookup_with_run_command(self):
>>         """Test scope lookup after using directive in lldb."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> @@ -260,7 +260,7 @@ class NamespaceLookupTestCase(TestBase):
>>     def test_scope_after_using_declaration_lookup_with_run_command(self):
>>         """Test scope lookup after using declaration in lldb."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> @@ -279,7 +279,7 @@ class NamespaceLookupTestCase(TestBase):
>>     def test_scope_ambiguity_after_using_lookup_with_run_command(self):
>>         """Test scope lookup ambiguity after using in lldb."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> @@ -305,7 +305,7 @@ class NamespaceLookupTestCase(TestBase):
>>     def test_scope_lookup_shadowed_by_using_with_run_command(self):
>>         """Test scope lookup shadowed by using in lldb."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py Fri Jan 19 15:24:35 2018
>> @@ -46,7 +46,7 @@ class NamespaceDefinitionsTestCase(TestB
>>         self.dbg.SetAsync(False)
>> 
>>         # Create a target by the debugger.
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/nsimport/TestCppNsImport.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/nsimport/TestCppNsImport.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/nsimport/TestCppNsImport.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/nsimport/TestCppNsImport.py Fri Jan 19 15:24:35 2018
>> @@ -22,8 +22,7 @@ class TestCppNsImport(TestBase):
>> 
>>         # Get the path of the executable
>>         cwd = os.getcwd()
>> -        exe_file = "a.out"
>> -        exe_path = os.path.join(cwd, exe_file)
>> +        exe_path = self.getBuildArtifact("a.out")
>> 
>>         # Load the executable
>>         target = self.dbg.CreateTarget(exe_path)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class CPPStaticMethodsTestCase(TestBase)
>>     def test_with_run_command(self):
>>         """Test that functions with the same name are resolved correctly"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/TestRvalueReferences.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/TestRvalueReferences.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/TestRvalueReferences.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/rvalue-references/TestRvalueReferences.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class RvalueReferencesTestCase(TestBase)
>>     def test_with_run_command(self):
>>         """Test that rvalues are supported in the C++ expression parser"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         self.set_breakpoint(line_number('main.cpp', '// breakpoint 1'))
>>         self.set_breakpoint(line_number('main.cpp', '// breakpoint 2'))
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py Fri Jan 19 15:24:35 2018
>> @@ -29,8 +29,7 @@ class TestCppScopes(TestBase):
>> 
>>         # Get the path of the executable
>>         cwd = os.getcwd()
>> -        exe_file = "a.out"
>> -        exe_path = os.path.join(cwd, exe_file)
>> +        exe_path = self.getBuildArtifact("a.out")
>> 
>>         # Load the executable
>>         target = self.dbg.CreateTarget(exe_path)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class SignedTypesTestCase(TestBase):
>>         self.dbg.SetAsync(False)
>> 
>>         # Create a target by the debugger.
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class CPPStaticMembersTestCase(TestBase)
>>     def test_with_run_command(self):
>>         """Test that member variables have the correct layout, scope and qualifiers when stopped inside and outside C++ methods"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         self.set_breakpoint(line_number('main.cpp', '// breakpoint 1'))
>>         self.set_breakpoint(line_number('main.cpp', '// breakpoint 2'))
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/static_methods/TestCPPStaticMethods.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/static_methods/TestCPPStaticMethods.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/static_methods/TestCPPStaticMethods.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/static_methods/TestCPPStaticMethods.py Fri Jan 19 15:24:35 2018
>> @@ -20,7 +20,7 @@ class CPPStaticMethodsTestCase(TestBase)
>>     def test_with_run_command(self):
>>         """Test that static methods are properly distinguished from regular methods"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class STLTestCase(TestBase):
>>     def test(self):
>>         """Test some expressions involving STL data types."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # The following two lines, if uncommented, will enable loggings.
>>         #self.ci.HandleCommand("log enable -f /tmp/lldb.log lldb default", res)
>> @@ -78,7 +78,7 @@ class STLTestCase(TestBase):
>>     def test_SBType_template_aspects(self):
>>         """Test APIs for getting template arguments from an SBType."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class StdCXXDisassembleTestCase(TestBase
>>     def test_stdcxx_disasm(self):
>>         """Do 'disassemble' on each and every 'Code' symbol entry from the std c++ lib."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # rdar://problem/8543077
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/template/TestTemplateArgs.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/template/TestTemplateArgs.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/template/TestTemplateArgs.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/template/TestTemplateArgs.py Fri Jan 19 15:24:35 2018
>> @@ -19,7 +19,7 @@ class TemplateArgsTestCase(TestBase):
>>         self.build()
>> 
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/this/TestCPPThis.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/this/TestCPPThis.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/this/TestCPPThis.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/this/TestCPPThis.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class CPPThisTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test that the appropriate member variables are available when stopped in C++ static, inline, and const methods"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         self.set_breakpoint(line_number('main.cpp', '// breakpoint 1'))
>>         self.set_breakpoint(line_number('main.cpp', '// breakpoint 2'))
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/TestUnicodeLiterals.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/TestUnicodeLiterals.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/TestUnicodeLiterals.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/TestUnicodeLiterals.py Fri Jan 19 15:24:35 2018
>> @@ -69,7 +69,7 @@ class UnicodeLiteralsTestCase(TestBase):
>>             self.skipTest(
>>                 "Skipping because this test is known to crash on i386")
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class UniqueTypesTestCase(TestBase):
>>             self.skipTest(
>>                 "rdar://problem/9173060 lldb hangs while running unique-types for clang version < 3")
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=-1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class UnsignedTypesTestCase(TestBase):
>>     def test(self):
>>         """Test that variables with unsigned types display correctly."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # GCC puts a breakpoint on the last line of a multi-line expression, so
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/virtual/TestVirtual.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/virtual/TestVirtual.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/virtual/TestVirtual.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/virtual/TestVirtual.py Fri Jan 19 15:24:35 2018
>> @@ -45,7 +45,7 @@ class CppVirtualMadness(TestBase):
>>         self.dbg.SetAsync(False)
>> 
>>         # Create a target by the debugger.
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         # Create the breakpoint inside function 'main'.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class CxxWCharTTestCase(TestBase):
>>     def test(self):
>>         """Test that C++ supports wchar_t correctly."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py Fri Jan 19 15:24:35 2018
>> @@ -40,7 +40,7 @@ class TestGoUserExpression(TestBase):
>>             self.assertEqual(size, t.size)
>> 
>>     def launchProcess(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/go/formatters/TestGoFormatters.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/go/formatters/TestGoFormatters.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/go/formatters/TestGoFormatters.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/go/formatters/TestGoFormatters.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class TestGoLanguage(TestBase):
>>         self.break_line = line_number(self.main_source, '// stop here')
>> 
>>     def launchProcess(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py Fri Jan 19 15:24:35 2018
>> @@ -36,7 +36,7 @@ class TestGoASTContext(TestBase):
>>         self.break_line3 = line_number(self.main_source, '// stop3')
>> 
>>     def launchProcess(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/go/runtime/TestGoLanguageRuntime
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/go/runtime/TestGoLanguageRuntime?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/go/runtime/TestGoLanguageRuntime (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/go/runtime/TestGoLanguageRuntime Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class TestGoLanguageRuntime(TestBase):
>> 
>> 
>>     def launchProcess(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py Fri Jan 19 15:24:35 2018
>> @@ -46,7 +46,7 @@ class TestGoASTContext(TestBase):
>>             self.assertEqual(size, t.size)
>> 
>>     def launchProcess(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/mixed/TestMixedLanguages.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/mixed/TestMixedLanguages.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/mixed/TestMixedLanguages.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/mixed/TestMixedLanguages.py Fri Jan 19 15:24:35 2018
>> @@ -17,7 +17,7 @@ class MixedLanguagesTestCase(TestBase):
>>     def test_language_of_frame(self):
>>         """Test that the language defaults to the language of the current frame."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Execute the cleanup function during test case tear down
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/blocks/TestObjCIvarsInBlocks.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/blocks/TestObjCIvarsInBlocks.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/blocks/TestObjCIvarsInBlocks.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/blocks/TestObjCIvarsInBlocks.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class TestObjCIvarsInBlocks(TestBase):
>>     def test_with_python_api(self):
>>         """Test printing the ivars of the self when captured in blocks"""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/TestConflictingDefinition.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/TestConflictingDefinition.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/TestConflictingDefinition.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/TestConflictingDefinition.py Fri Jan 19 15:24:35 2018
>> @@ -46,7 +46,7 @@ class TestRealDefinition(TestBase):
>>                 "42"])
>> 
>>     def common_setup(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.registerSharedLibrariesWithTarget(target, self.shlib_names)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/forward-decl/TestForwardDecl.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/forward-decl/TestForwardDecl.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/forward-decl/TestForwardDecl.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/forward-decl/TestForwardDecl.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class ForwardDeclTestCase(TestBase):
>>         self.build()
>> 
>>         # Create a target by the debugger.
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         # Create the breakpoint inside function 'main'.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestConstStrings.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestConstStrings.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestConstStrings.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestConstStrings.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class ConstStringTestCase(TestBase):
>>         self.build(dictionary=self.d)
>>         self.setTearDownCleanup(self.d)
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class FoundationDisassembleTestCase(Test
>>         self.dbg.SetAsync(False)
>> 
>>         # Create a target by the debugger.
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         # Now launch the process, and do not stop at entry point.
>> @@ -76,7 +76,7 @@ class FoundationDisassembleTestCase(Test
>>         self.build()
>> 
>>         # Create a target by the debugger.
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         print(target)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods.py Fri Jan 19 15:24:35 2018
>> @@ -35,7 +35,7 @@ class FoundationTestCase(TestBase):
>>     def test_break(self):
>>         """Test setting objc breakpoints using '_regexp-break' and 'breakpoint set'."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Stop at +[NSString stringWithFormat:].
>> @@ -117,7 +117,7 @@ class FoundationTestCase(TestBase):
>>     def test_data_type_and_expr(self):
>>         """Lookup objective-c data types and evaluate expressions."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Stop at -[MyString description].
>> @@ -230,7 +230,7 @@ class FoundationTestCase(TestBase):
>>         self.build()
>>         # See: <rdar://problem/8717050> lldb needs to use the ObjC runtime symbols for ivar offsets
>>         # Only fails for the ObjC 2.0 runtime.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -280,7 +280,7 @@ class FoundationTestCase(TestBase):
>>     def test_expression_lookups_objc(self):
>>         """Test running an expression detect spurious debug info lookups (DWARF)."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Stop at -[MyString initWithNSString:].
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py Fri Jan 19 15:24:35 2018
>> @@ -47,7 +47,7 @@ class FoundationTestCase2(TestBase):
>>     def test_more_expr_commands(self):
>>         """More expression commands for objective-c."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Create a bunch of breakpoints.
>> @@ -84,7 +84,7 @@ class FoundationTestCase2(TestBase):
>>     def test_NSArray_expr_commands(self):
>>         """Test expression commands for NSArray."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside Test_NSArray:
>> @@ -111,7 +111,7 @@ class FoundationTestCase2(TestBase):
>>     def test_NSString_expr_commands(self):
>>         """Test expression commands for NSString."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside Test_NSString:
>> @@ -141,7 +141,7 @@ class FoundationTestCase2(TestBase):
>>     def test_MyString_dump_with_runtime(self):
>>         """Test dump of a known Objective-C object by dereferencing it."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         line = self.lines[4]
>> @@ -162,7 +162,7 @@ class FoundationTestCase2(TestBase):
>>     def test_runtime_types(self):
>>         """Test commands that require runtime types"""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside Test_NSString:
>> @@ -190,7 +190,7 @@ class FoundationTestCase2(TestBase):
>>     def test_NSError_p(self):
>>         """Test that p of the result of an unknown method does require a cast."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         line = self.lines[4]
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestRuntimeTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestRuntimeTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestRuntimeTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestRuntimeTypes.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class RuntimeTypesTestCase(TestBase):
>>             self.skipTest("This only applies to the v2 runtime")
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Stop at -[MyString description].
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestSymbolTable.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestSymbolTable.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestSymbolTable.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/foundation/TestSymbolTable.py Fri Jan 19 15:24:35 2018
>> @@ -36,7 +36,7 @@ class FoundationSymtabTestCase(TestBase)
>>     def test_with_python_api(self):
>>         """Test symbol table access with Python APIs."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/global_ptrs/TestGlobalObjects.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/global_ptrs/TestGlobalObjects.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/global_ptrs/TestGlobalObjects.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/global_ptrs/TestGlobalObjects.py Fri Jan 19 15:24:35 2018
>> @@ -25,7 +25,7 @@ class TestObjCGlobalVar(TestBase):
>>     def test_with_python_api(self):
>>         """Test that a global ObjC object found before the process is started updates correctly."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/TestHiddenIvars.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/TestHiddenIvars.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/TestHiddenIvars.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/hidden-ivars/TestHiddenIvars.py Fri Jan 19 15:24:35 2018
>> @@ -89,10 +89,12 @@ class HiddenIvarsTestCase(TestBase):
>>                                              '-rf',
>>                                              'libInternalDefiner.dylib.dSYM']) == 0,
>>                             'remove dylib dSYM file succeeded')
>> -            self.assertTrue(subprocess.call(
>> -                ['/usr/bin/strip', '-Sx', 'a.out']) == 0, 'stripping a.out succeeded')
>> +            self.assertTrue(subprocess.call(['/usr/bin/strip', '-Sx',
>> +                                             self.getBuildArtifact("a.out")
>> +                                            ]) == 0,
>> +                            'stripping a.out succeeded')
>>         # Create a target by the debugger.
>> -        target = self.dbg.CreateTarget("a.out")
>> +        target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
>>         self.assertTrue(target, VALID_TARGET)
>> 
>>         # Create the breakpoint inside function 'main'.
>> @@ -109,7 +111,7 @@ class HiddenIvarsTestCase(TestBase):
>>             None, environment, self.get_process_working_directory())
>>         self.assertTrue(process, PROCESS_IS_VALID)
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py Fri Jan 19 15:24:35 2018
>> @@ -35,7 +35,7 @@ class ObjCiVarIMPTestCase(TestBase):
>>     def test_imp_ivar_type(self):
>>         """Test that dynamically discovered ivars of type IMP do not crash LLDB"""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target from the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class ObjCModulesAutoImportTestCase(Test
>>     @skipIf(macos_version=["<", "10.12"])
>>     def test_expr(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class IncompleteModulesTestCase(TestBase
>>     @skipIf(macos_version=["<", "10.12"])
>>     def test_expr(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class ModulesInlineFunctionsTestCase(Tes
>>     @skipIf(macos_version=["<", "10.12"])
>>     def test_expr(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules/TestObjCModules.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules/TestObjCModules.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules/TestObjCModules.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules/TestObjCModules.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class ObjCModulesTestCase(TestBase):
>>             return
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc++/TestObjCXX.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc%2B%2B/TestObjCXX.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc++/TestObjCXX.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc++/TestObjCXX.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class ObjCXXTestCase(TestBase):
>>             self.skipTest("requires Objective-C 2.0 runtime")
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_source_regexp(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class ObjCDynamicValueTestCase(TestBase)
>>             self.skipTest("Dynamic types for ObjC V1 runtime not implemented")
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target from the debugger.
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestObjCBuiltinTypes(TestBase):
>>     def test_with_python_api(self):
>>         """Test expression parser respect for ObjC built-in types."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class ObjCCheckerTestCase(TestBase):
>>             self.skipTest("requires Objective-C 2.0 runtime")
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target from the debugger.
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-class-method/TestObjCClassMethod.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-class-method/TestObjCClassMethod.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-class-method/TestObjCClassMethod.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-class-method/TestObjCClassMethod.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class TestObjCClassMethod(TestBase):
>>     def test_with_python_api(self):
>>         """Test calling functions in class methods."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py Fri Jan 19 15:24:35 2018
>> @@ -43,7 +43,7 @@ class ObjCDynamicValueTestCase(TestBase)
>>             self.skipTest("Dynamic types for ObjC V1 runtime not implemented")
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target from the debugger.
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class TestObjCIvarOffsets(TestBase):
>>     def test_with_python_api(self):
>>         """Test printing ObjC objects that use unbacked properties"""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py Fri Jan 19 15:24:35 2018
>> @@ -31,12 +31,12 @@ class TestObjCIvarStripped(TestBase):
>>     def test_with_python_api(self):
>>         """Test that we can find stripped Objective-C ivars in the runtime"""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out.stripped")
>> +        exe = self.getBuildArtifact("a.out.stripped")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> -        self.dbg.HandleCommand("add-dsym a.out.dSYM")
>> +        self.dbg.HandleCommand("add-dsym "+self.getBuildArtifact("a.out.dSYM"))
>> 
>>         breakpoint = target.BreakpointCreateByLocation(
>>             self.main_source, self.stop_line)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class ObjCNewSyntaxTestCase(TestBase):
>> 
>>     def runToBreakpoint(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-optimized/TestObjcOptimized.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-optimized/TestObjcOptimized.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-optimized/TestObjcOptimized.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-optimized/TestObjcOptimized.py Fri Jan 19 15:24:35 2018
>> @@ -34,7 +34,7 @@ class ObjcOptimizedTestCase(TestBase):
>>     def test_break(self):
>>         """Test 'expr member' continues to work for optimized build."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_symbol(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-property/TestObjCProperty.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-property/TestObjCProperty.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-property/TestObjCProperty.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-property/TestObjCProperty.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class ObjCPropertyTestCase(TestBase):
>>             self.skipTest("requires modern objc runtime")
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target from the debugger.
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py Fri Jan 19 15:24:35 2018
>> @@ -34,7 +34,7 @@ class TestObjCStaticMethodStripped(TestB
>>         if self.getArchitecture() == 'i386':
>>             self.skipTest("requires modern objc runtime")
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-method/TestObjCStaticMethod.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-method/TestObjCStaticMethod.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-method/TestObjCStaticMethod.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-method/TestObjCStaticMethod.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestObjCStaticMethod(TestBase):
>>     def test_with_python_api(self):
>>         """Test calling functions in static methods."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-stepping/TestObjCStepping.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-stepping/TestObjCStepping.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-stepping/TestObjCStepping.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-stepping/TestObjCStepping.py Fri Jan 19 15:24:35 2018
>> @@ -36,7 +36,7 @@ class TestObjCStepping(TestBase):
>>     def test_with_python_api(self):
>>         """Test stepping through ObjC method dispatch in various forms."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class TestObjCStructArgument(TestBase):
>>     def test_with_python_api(self):
>>         """Test passing structs to Objective-C methods."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/TestObjCStructReturn.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/TestObjCStructReturn.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/TestObjCStructReturn.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-struct-return/TestObjCStructReturn.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class TestObjCClassMethod(TestBase):
>>     def test_with_python_api(self):
>>         """Test calling functions in class methods."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-super/TestObjCSuper.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-super/TestObjCSuper.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-super/TestObjCSuper.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-super/TestObjCSuper.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class TestObjCSuperMethod(TestBase):
>>     def test_with_python_api(self):
>>         """Test calling methods on super."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/ptr_refs/TestPtrRefsObjC.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/ptr_refs/TestPtrRefsObjC.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/ptr_refs/TestPtrRefsObjC.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/ptr_refs/TestPtrRefsObjC.py Fri Jan 19 15:24:35 2018
>> @@ -19,8 +19,7 @@ class TestPtrRefsObjC(TestBase):
>>     def test_ptr_refs(self):
>>         """Test the ptr_refs tool on Darwin with Objective-C"""
>>         self.build()
>> -        exe_name = 'a.out'
>> -        exe = os.path.join(os.getcwd(), exe_name)
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/real-definition/TestRealDefinition.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/real-definition/TestRealDefinition.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/real-definition/TestRealDefinition.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/real-definition/TestRealDefinition.py Fri Jan 19 15:24:35 2018
>> @@ -92,7 +92,7 @@ class TestRealDefinition(TestBase):
>>                 "foo->_bar->_hidden_ivar = 0x"])
>> 
>>     def common_setup(self):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/self/TestObjCSelf.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/self/TestObjCSelf.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/self/TestObjCSelf.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/self/TestObjCSelf.py Fri Jan 19 15:24:35 2018
>> @@ -15,7 +15,7 @@ class ObjCSelfTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test that the appropriate member variables are available when stopped in Objective-C class and instance methods"""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         self.set_breakpoint(line_number('main.m', '// breakpoint 1'))
>>         self.set_breakpoint(line_number('main.m', '// breakpoint 2'))
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class ObjCSingleEntryDictionaryTestCase(
>>     @expectedFailureAll(oslist=['watchos'], bugnumber="rdar://problem/34642736") # bug in NSDictionary formatting on watchos
>>     def test_single_entry_dict(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Break inside the foo function which takes a bar_ptr argument.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/linux/add-symbols/TestTargetSymbolsAddCommand.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/linux/add-symbols/TestTargetSymbolsAddCommand.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/linux/add-symbols/TestTargetSymbolsAddCommand.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/linux/add-symbols/TestTargetSymbolsAddCommand.py Fri Jan 19 15:24:35 2018
>> @@ -23,7 +23,7 @@ class TargetSymbolsAddCommand(TestBase):
>>         even if gnu.build-id and gnu_debuglink are not present in the module.
>>         Similar to test_add_dsym_mid_execution test for macos."""
>>         self.build(clean=True)
>> -        exe = os.path.join(os.getcwd(), "stripped.out")
>> +        exe = self.getBuildArtifact("stripped.out")
>> 
>>         self.target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(self.target, VALID_TARGET)
>> @@ -46,7 +46,8 @@ class TargetSymbolsAddCommand(TestBase):
>>         self.expect("frame select", substrs=['main.c'], matching=False)
>> 
>>         # Tell LLDB that a.out has symbols for stripped.out
>> -        self.runCmd("target symbols add -s stripped.out a.out")
>> +        self.runCmd("target symbols add -s %s %s" %
>> +                    exe, self.getBuildArtifact("a.out"))
>> 
>>         # Check that symbols are now loaded and main.c is in the output.
>>         self.expect("frame select", substrs=['main.c'])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/linux/builtin_trap/TestBuiltinTrap.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/linux/builtin_trap/TestBuiltinTrap.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/linux/builtin_trap/TestBuiltinTrap.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/linux/builtin_trap/TestBuiltinTrap.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class BuiltinTrapTestCase(TestBase):
>>     def test_with_run_command(self):
>>         """Test that LLDB handles a function with __builtin_trap correctly."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(self, "main.cpp", self.line,
>>                                                 num_expected_locations=1,
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class CreateDuringInstructionStepTestCas
>>         bugnumber="llvm.org/pr24737")
>>     def test_step_inst(self):
>>         self.build(dictionary=self.getBuildFlags())
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target and target.IsValid(), "Target is valid")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py Fri Jan 19 15:24:35 2018
>> @@ -166,8 +166,7 @@ class InlineTest(TestBase):
>>         exec(__command, globals(), locals())
>> 
>>     def do_test(self):
>> -        exe_name = "a.out"
>> -        exe = os.path.join(os.getcwd(), exe_name)
>> +        exe = self.getBuildArtifact("a.out")
>>         source_files = [f for f in os.listdir(os.getcwd()) if source_type(f)]
>>         target = self.dbg.CreateTarget(exe)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py Fri Jan 19 15:24:35 2018
>> @@ -1573,7 +1573,8 @@ class Base(unittest2.TestCase):
>>     def buildGo(self):
>>         """Build the default go binary.
>>         """
>> -        system([[which('go'), 'build -gcflags "-N -l" -o a.out main.go']])
>> +        exe = self.getBuildArtifact("a.out")
>> +        system([[which('go'), 'build -gcflags "-N -l" -o %s main.go' % exe]])
>> 
>>     def signBinary(self, binary_path):
>>         if sys.platform.startswith("darwin"):
>> @@ -2268,6 +2269,10 @@ class TestBase(Base):
>>         else:
>>             self.fail("Can't build for debug info: %s" % self.debug_info)
>> 
>> +    def getBuildArtifact(self, name="a.out"):
>> +        """Return absolute path to an artifact in the test's build directory."""
>> +        return os.path.join(os.getcwd(), name)
>> +
>>     def run_platform_command(self, cmd):
>>         platform = self.dbg.GetSelectedPlatform()
>>         shell_command = lldb.SBPlatformShellCommand(cmd)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbutil.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbutil.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/lldbutil.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/lldbutil.py Fri Jan 19 15:24:35 2018
>> @@ -725,19 +725,29 @@ def get_crashed_threads(test, process):
>>             threads.append(thread)
>>     return threads
>> 
>> -def run_to_source_breakpoint(test, bkpt_pattern, source_spec, launch_info = None, exe_name = "a.out", in_cwd = True):
>> -    """Start up a target, using exe_name as the executable, and run it to
>> +def run_to_source_breakpoint(test, bkpt_pattern, source_spec,
>> +                             launch_info = None, exe_name = "a.out",
>> +                             in_cwd = True):
>> +    """Start up a target, using exe_name as the executable, and run it to
>>        a breakpoint set by source regex bkpt_pattern.
>> -       If you want to pass in launch arguments or environment variables, you can optionally pass in
>> -       an SBLaunchInfo.  If you do that, remember to set the working directory as well.
>> -       If your executable isn't called a.out, you can pass that in.  And if your executable isn't
>> -       in the CWD, pass in the absolute path to the executable in exe_name, and set in_cwd to False.
>> +
>> +       If you want to pass in launch arguments or environment
>> +       variables, you can optionally pass in an SBLaunchInfo.  If you
>> +       do that, remember to set the working directory as well.
>> +
>> +       If your executable isn't called a.out, you can pass that in.
>> +       And if your executable isn't in the CWD, pass in the absolute
>> +       path to the executable in exe_name, and set in_cwd to False.
>> +
>>        If the target isn't valid, the breakpoint isn't found, or hit, the
>>        function will cause a testsuite failure.
>> -       If successful it returns a tuple with the target process and thread that hit the breakpoint."""
>> +
>> +       If successful it returns a tuple with the target process and
>> +       thread that hit the breakpoint.
>> +    """
>> 
>>     if in_cwd:
>> -        exe = os.path.join(os.getcwd(), exe_name)
>> +        exe = test.getBuildArtifact(exe_name)
>> 
>>     # Create the target
>>     target = test.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/logging/TestLogging.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/logging/TestLogging.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/logging/TestLogging.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/logging/TestLogging.py Fri Jan 19 15:24:35 2018
>> @@ -34,7 +34,7 @@ class LogTestCase(TestBase):
>>             self.command_log_tests("dwarf")
>> 
>>     def command_log_tests(self, type):
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.expect("file " + exe,
>>                     patterns=["Current executable set to .*a.out"])
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class AddDsymMidExecutionCommandCase(Tes
>>     def test_add_dsym_mid_execution(self):
>>         """Test that add-dsym mid-execution loads the symbols at the right place for a slid binary."""
>>         self.buildDsym(clean=True)
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         self.target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(self.target, VALID_TARGET)
>> @@ -43,7 +43,8 @@ class AddDsymMidExecutionCommandCase(Tes
>>         self.assertTrue(self.process.GetState() == lldb.eStateStopped,
>>                         STOPPED_DUE_TO_BREAKPOINT)
>> 
>> -        self.runCmd("add-dsym hide.app/Contents/a.out.dSYM")
>> +        self.runCmd("add-dsym " +
>> +                    self.getBuildArtifact("hide.app/Contents/a.out.dSYM"))
>> 
>>         self.expect("frame select",
>>                     substrs=['a.out`main at main.c'])
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py Fri Jan 19 15:24:35 2018
>> @@ -28,10 +28,10 @@ class AppleTypesTestCase(TestBase):
>> 
>>         self.build()
>>         if self.debug_info == "dsym":
>> -            exe = os.path.join(os.getcwd(),
>> +            exe = self.getBuildArtifact(
>>                                "a.out.dSYM/Contents/Resources/DWARF/a.out")
>>         else:
>> -            exe = os.path.join(os.getcwd(), "main.o")
>> +            exe = self.getBuildArtifact("main.o")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class TestIndirectFunctions(TestBase):
>>     def test_with_python_api(self):
>>         """Test stepping and setting breakpoints in indirect and re-exported symbols."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py Fri Jan 19 15:24:35 2018
>> @@ -38,7 +38,7 @@ class DarwinNSLogOutputTestCase(lldbtest
>>         self.source = 'main.m'
>> 
>>         # Output filename.
>> -        self.exe_name = 'a.out'
>> +        self.exe_name = self.getBuildArtifact("a.out")
>>         self.d = {'OBJC_SOURCES': self.source, 'EXE': self.exe_name}
>> 
>>         # Locate breakpoint.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/macosx/order/TestOrderFile.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/macosx/order/TestOrderFile.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/macosx/order/TestOrderFile.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/macosx/order/TestOrderFile.py Fri Jan 19 15:24:35 2018
>> @@ -22,12 +22,12 @@ class OrderFileTestCase(TestBase):
>>     def test(self):
>>         """Test debug symbols follow the correct order by the order file."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Test that the debug symbols have Function f3 before Function f1.
>>         # Use "-s address" option to sort by address.
>> -        self.runCmd("image dump symtab -s address a.out")
>> +        self.runCmd("image dump symtab -s address %s" % exe)
>>         output = self.res.GetOutput()
>>         mo_f3 = re.search("Code +.+f3", output)
>>         mo_f1 = re.search("Code +.+f1", output)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py Fri Jan 19 15:24:35 2018
>> @@ -105,7 +105,7 @@ class TestQueues(TestBase):
>> 
>>     def queues(self):
>>         """Test queues inspection SB APIs without libBacktraceRecording."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -246,7 +246,7 @@ class TestQueues(TestBase):
>> 
>>     def queues_with_libBacktraceRecording(self):
>>         """Test queues inspection SB APIs with libBacktraceRecording present."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         if not os.path.isfile(
>>                 '/Applications/Xcode.app/Contents/Developer/usr/lib/libBacktraceRecording.dylib'):
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/macosx/safe-to-func-call/TestSafeFuncCalls.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/macosx/safe-to-func-call/TestSafeFuncCalls.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/macosx/safe-to-func-call/TestSafeFuncCalls.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/macosx/safe-to-func-call/TestSafeFuncCalls.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class TestSafeFuncCalls(TestBase):
>>     def test_with_python_api(self):
>>         """Test function call thread safety."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py Fri Jan 19 15:24:35 2018
>> @@ -23,7 +23,7 @@ class TestInterruptThreadNames(TestBase)
>>     def test_with_python_api(self):
>>         """Test that we get thread names when interrupting a process."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py Fri Jan 19 15:24:35 2018
>> @@ -23,7 +23,7 @@ class BreakpointAPITestCase(TestBase):
>>     def test_breakpoint_is_valid(self):
>>         """Make sure that if an SBBreakpoint gets deleted its IsValid returns false."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -57,7 +57,7 @@ class BreakpointAPITestCase(TestBase):
>>         Breakpoint's IsValid returns false."""
>> 
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/event/TestEvents.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/event/TestEvents.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/event/TestEvents.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/event/TestEvents.py Fri Jan 19 15:24:35 2018
>> @@ -33,7 +33,7 @@ class EventAPITestCase(TestBase):
>>     def test_listen_for_and_print_event(self):
>>         """Exercise SBEvent API."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         self.dbg.SetAsync(True)
>> 
>> @@ -122,7 +122,7 @@ class EventAPITestCase(TestBase):
>>     def test_wait_for_event(self):
>>         """Exercise SBListener.WaitForEvent() API."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         self.dbg.SetAsync(True)
>> 
>> @@ -201,7 +201,7 @@ class EventAPITestCase(TestBase):
>>     def test_add_listener_to_broadcaster(self):
>>         """Exercise some SBBroadcaster APIs."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         self.dbg.SetAsync(True)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py Fri Jan 19 15:24:35 2018
>> @@ -22,8 +22,7 @@ class SBFrameFindValueTestCase(TestBase)
>>         self.build()
>>         self.setTearDownCleanup()
>> 
>> -        exe_name = "a.out"
>> -        exe = os.path.join(os.getcwd(), exe_name)
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create the target
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class SBFormattersAPITestCase(TestBase):
>>         self.setTearDownCleanup()
>> 
>>         """Test Python APIs for working with formatters"""
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class FrameAPITestCase(TestBase):
>>     def test_get_arg_vals_for_call_stack(self):
>>         """Exercise SBFrame.GetVariables() API to get argument vals."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -127,7 +127,7 @@ class FrameAPITestCase(TestBase):
>>     def test_frame_api_boundary_condition(self):
>>         """Exercise SBFrame APIs with boundary condition inputs."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -169,7 +169,7 @@ class FrameAPITestCase(TestBase):
>>     def test_frame_api_IsEqual(self):
>>         """Exercise SBFrame API IsEqual."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py Fri Jan 19 15:24:35 2018
>> @@ -51,7 +51,7 @@ class TestGetVariables(TestBase):
>>         self.dbg.SetAsync(False)
>> 
>>         # Create a target by the debugger.
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py Fri Jan 19 15:24:35 2018
>> @@ -32,7 +32,7 @@ class InlinedFrameAPITestCase(TestBase):
>>     def test_stop_at_outer_inline(self):
>>         """Exercise SBFrame.IsInlined() and SBFrame.GetFunctionName()."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class DisasmAPITestCase(TestBase):
>>     def test(self):
>>         """Exercise getting SBAddress objects, disassembly, and SBAddress APIs."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class SymbolAPITestCase(TestBase):
>>     def test(self):
>>         """Exercise some SBSymbol and SBAddress APIs."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py Fri Jan 19 15:24:35 2018
>> @@ -24,7 +24,7 @@ class CommandInterpreterAPICase(TestBase
>>     def test_with_process_launch_api(self):
>>         """Test the SBCommandInterpreter APIs."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py Fri Jan 19 15:24:35 2018
>> @@ -27,7 +27,7 @@ class FrameUtilsTestCase(TestBase):
>>     def test_frame_utils(self):
>>         """Test utility functions for the frame object."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class LLDBIteratorTestCase(TestBase):
>>     def test_lldb_iter_module(self):
>>         """Test module_iter works correctly for SBTarget -> SBModule."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -66,7 +66,7 @@ class LLDBIteratorTestCase(TestBase):
>>     def test_lldb_iter_breakpoint(self):
>>         """Test breakpoint_iter works correctly for SBTarget -> SBBreakpoint."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -98,7 +98,7 @@ class LLDBIteratorTestCase(TestBase):
>>     def test_lldb_iter_frame(self):
>>         """Test iterator works correctly for SBProcess->SBThread->SBFrame."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py Fri Jan 19 15:24:35 2018
>> @@ -30,7 +30,7 @@ class RegistersIteratorTestCase(TestBase
>>     def test_iter_registers(self):
>>         """Test iterator works correctly for lldbutil.iter_registers()."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py Fri Jan 19 15:24:35 2018
>> @@ -37,7 +37,7 @@ class ThreadsStackTracesTestCase(TestBas
>>     def test_stack_traces(self):
>>         """Test SBprocess and SBThread APIs with printing of the stack traces."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class ModuleAndSectionAPIsTestCase(TestB
>>     def test_module_and_section(self):
>>         """Test module and section APIs."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -77,7 +77,7 @@ class ModuleAndSectionAPIsTestCase(TestB
>>     def test_module_and_section_boundary_condition(self):
>>         """Test module and section APIs by passing None when it expects a Python string."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -118,7 +118,7 @@ class ModuleAndSectionAPIsTestCase(TestB
>>     def test_module_compile_unit_iter(self):
>>         """Test module's compile unit iterator APIs."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class TestNameLookup(TestBase):
>>         and that using a function basename with eFunctionNameTypeFull works for all
>>         C++ functions that are at the global namespace level."""
>>         self.build();
>> -        exe = os.path.join(os.getcwd(), 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py Fri Jan 19 15:24:35 2018
>> @@ -28,7 +28,7 @@ class ObjCSBTypeTestCase(TestBase):
>>     def test(self):
>>         """Test SBType for ObjC classes."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py Fri Jan 19 15:24:35 2018
>> @@ -29,7 +29,7 @@ class ProcessAPITestCase(TestBase):
>>     def test_read_memory(self):
>>         """Test Python SBProcess.ReadMemory() API."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -127,7 +127,7 @@ class ProcessAPITestCase(TestBase):
>>     def test_write_memory(self):
>>         """Test Python SBProcess.WriteMemory() API."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -186,7 +186,7 @@ class ProcessAPITestCase(TestBase):
>>     def test_access_my_int(self):
>>         """Test access 'my_int' using Python SBProcess.GetByteOrder() and other APIs."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -284,7 +284,7 @@ class ProcessAPITestCase(TestBase):
>>     def test_remote_launch(self):
>>         """Test SBProcess.RemoteLaunch() API with a process not in eStateConnected, and it should fail."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -308,7 +308,7 @@ class ProcessAPITestCase(TestBase):
>>     def test_get_num_supported_hardware_watchpoints(self):
>>         """Test SBProcess.GetNumSupportedHardwareWatchpoints() API with a process."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         target = self.dbg.CreateTarget(exe)
>> @@ -331,7 +331,7 @@ class ProcessAPITestCase(TestBase):
>>     def test_get_process_info(self):
>>         """Test SBProcess::GetProcessInfo() API with a locally launched process."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py Fri Jan 19 15:24:35 2018
>> @@ -26,7 +26,7 @@ class Radar12481949DataFormatterTestCase
>>     def test_with_run_command(self):
>>         """Check that SBValue.GetValueAsSigned() does the right thing for a 32-bit -1."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py Fri Jan 19 15:24:35 2018
>> @@ -45,7 +45,7 @@ class SBDataAPICase(TestBase):
>>     def test_with_run_command(self):
>>         """Test the SBData APIs."""
>>         self.build()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class SBValuePersistTestCase(TestBase):
>>         """Test SBValue::Persist"""
>>         self.build()
>>         self.setTearDownCleanup()
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_source_regexp(self, "break here")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py Fri Jan 19 15:24:35 2018
>> @@ -22,7 +22,7 @@ class SignalsAPITestCase(TestBase):
>>     def test_ignore_signal(self):
>>         """Test Python SBUnixSignals.Suppress/Stop/Notify() API."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py Fri Jan 19 15:24:35 2018
>> @@ -31,7 +31,7 @@ class SymbolContextAPITestCase(TestBase)
>>     def test(self):
>>         """Exercise SBSymbolContext API extensively."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -66,7 +66,7 @@ class SymbolContextAPITestCase(TestBase)
>>         module = context.GetModule()
>>         desc = lldbutil.get_description(module)
>>         self.expect(desc, "The module should match", exe=False,
>> -                    substrs=[os.path.join(self.mydir, 'a.out')])
>> +                    substrs=[self.getBuildArtifact("a.out")])
>> 
>>         compileUnit = context.GetCompileUnit()
>>         self.expect(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py Fri Jan 19 15:24:35 2018
>> @@ -21,7 +21,7 @@ class SymbolContextTwoFilesTestCase(Test
>>     def test_lookup_by_address(self):
>>         """Test lookup by address in a module with multiple compilation units"""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -44,7 +44,7 @@ class SymbolContextTwoFilesTestCase(Test
>>         """This test verifies that we correctly handle the case when multiple
>>         compile unit contains DW_AT_ranges and DW_AT_ranges_base attributes."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py Fri Jan 19 15:24:35 2018
>> @@ -243,7 +243,7 @@ class TargetAPITestCase(TestBase):
>> 
>>     def get_description(self):
>>         """Exercise SBTaget.GetDescription() API."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -271,7 +271,7 @@ class TargetAPITestCase(TestBase):
>>     @not_remote_testsuite_ready
>>     def launch_new_process_and_redirect_stdout(self):
>>         """Exercise SBTaget.Launch() API with redirected stdout."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -333,7 +333,7 @@ class TargetAPITestCase(TestBase):
>> 
>>     def resolve_symbol_context_with_address(self):
>>         """Exercise SBTaget.ResolveSymbolContextForAddress() API."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py Fri Jan 19 15:24:35 2018
>> @@ -78,7 +78,7 @@ class ThreadAPITestCase(TestBase):
>> 
>>     def get_process(self):
>>         """Test Python SBThread.GetProcess() API."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> @@ -105,7 +105,7 @@ class ThreadAPITestCase(TestBase):
>> 
>>     def get_stop_description(self):
>>         """Test Python SBThread.GetStopDescription() API."""
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         target = self.dbg.CreateTarget(exe)
>>         self.assertTrue(target, VALID_TARGET)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/value/empty_class/TestValueAPIEmptyClass.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/value/empty_class/TestValueAPIEmptyClass.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/value/empty_class/TestValueAPIEmptyClass.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/value/empty_class/TestValueAPIEmptyClass.py Fri Jan 19 15:24:35 2018
>> @@ -15,7 +15,7 @@ class ValueAPIEmptyClassTestCase(TestBas
>>     @add_test_categories(['pyapi'])
>>     def test(self):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), 'a.out')
>> +        exe = self.getBuildArtifact("a.out")
>>         line = line_number('main.cpp', '// Break at this line')
>> 
>>         # Create a target by the debugger.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py Fri Jan 19 15:24:35 2018
>> @@ -36,7 +36,7 @@ class SetWatchpointAPITestCase(TestBase)
>>     def test_watch_val(self):
>>         """Exercise SBValue.Watch() API to set a watchpoint."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py Fri Jan 19 15:24:35 2018
>> @@ -36,7 +36,7 @@ class WatchpointIgnoreCountTestCase(Test
>>     def test_set_watch_ignore_count(self):
>>         """Test SBWatchpoint.SetIgnoreCount() API."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py Fri Jan 19 15:24:35 2018
>> @@ -39,7 +39,7 @@ class WatchpointIteratorTestCase(TestBas
>>     def test_watch_iter(self):
>>         """Exercise SBTarget.watchpoint_iter() API to iterate on the available watchpoints."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py Fri Jan 19 15:24:35 2018
>> @@ -37,7 +37,7 @@ class SetWatchlocationAPITestCase(TestBa
>>     def test_watch_location(self):
>>         """Exercise SBValue.WatchPointee() API to set a watchpoint."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py Fri Jan 19 15:24:35 2018
>> @@ -36,7 +36,7 @@ class TargetWatchAddressAPITestCase(Test
>>     def test_watch_address(self):
>>         """Exercise SBTarget.WatchAddress() API to set a watchpoint."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> @@ -112,7 +112,7 @@ class TargetWatchAddressAPITestCase(Test
>>     def test_watch_address_with_invalid_watch_size(self):
>>         """Exercise SBTarget.WatchAddress() API but pass an invalid watch_size."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>> 
>>         # Create a target by the debugger.
>>         target = self.dbg.CreateTarget(exe)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/settings/TestSettings.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/settings/TestSettings.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/settings/TestSettings.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/settings/TestSettings.py Fri Jan 19 15:24:35 2018
>> @@ -125,7 +125,7 @@ class SettingsCommandTestCase(TestBase):
>>         """Test that 'set frame-format' with a backtick char in the format string works as well as fullpath."""
>>         self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         def cleanup():
>> @@ -161,7 +161,7 @@ class SettingsCommandTestCase(TestBase):
>>         """Test that after 'set auto-confirm true', manual confirmation should not kick in."""
>>         self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("settings set auto-confirm true")
>> @@ -186,7 +186,7 @@ class SettingsCommandTestCase(TestBase):
>>         """Test that user options for the disassembler take effect."""
>>         self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # AT&T syntax
>> @@ -219,7 +219,7 @@ class SettingsCommandTestCase(TestBase):
>>     def test_run_args_and_env_vars(self):
>>         """Test that run-args and env-vars are passed to the launched process."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Set the run-args and the env-vars.
>> @@ -253,7 +253,7 @@ class SettingsCommandTestCase(TestBase):
>>         """Test that the host env vars are passed to the launched process."""
>>         self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # By default, inherit-env is 'true'.
>> @@ -292,7 +292,7 @@ class SettingsCommandTestCase(TestBase):
>>         """Test that setting target.error/output-path for the launched process works."""
>>         self.build()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Set the error-path and output-path and verify both are set.
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py Fri Jan 19 15:24:35 2018
>> @@ -79,7 +79,7 @@ class SettingsCommandTestCase(TestBase):
>>         to stdout. Compare the stdout with args_out."""
>>         self.buildDefault()
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         self.runCmd("process launch -- " + args_in)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py Fri Jan 19 15:24:35 2018
>> @@ -50,7 +50,7 @@ class SourceManagerTestCase(TestBase):
>> 
>>     def do_display_source_python_api(self, use_color, column_marker_regex):
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         target = self.dbg.CreateTarget(exe)
>> @@ -116,7 +116,7 @@ class SourceManagerTestCase(TestBase):
>>     def test_move_and_then_display_source(self):
>>         """Test that target.source-map settings work by moving main.c to hidden/main.c."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         # Move main.c to hidden/main.c.
>> @@ -152,7 +152,7 @@ class SourceManagerTestCase(TestBase):
>>     def test_modify_source_file_while_debugging(self):
>>         """Modify a source file while debugging the executable."""
>>         self.build()
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>> @@ -237,7 +237,7 @@ class SourceManagerTestCase(TestBase):
>>         self.runCmd("settings set target.source-map %s %s" %
>>                     (os.getcwd(), os.path.join(os.getcwd(), "hidden")))
>> 
>> -        exe = os.path.join(os.getcwd(), "a.out")
>> +        exe = self.getBuildArtifact("a.out")
>>         main = os.path.join(os.getcwd(), "hidden", "main.c")
>>         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiFile.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiFile.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiFile.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiFile.py Fri Jan 19 15:24:35 2018
>> @@ -41,9 +41,7 @@ class MiFileTestCase(lldbmi_testcase.MiT
>>         self.spawnLldbMi(args=None)
>> 
>>         # Test that -file-exec-and-symbols works for absolute path
>> -        import os
>> -        path = os.path.join(os.getcwd(), self.myexe)
>> -        self.runCmd("-file-exec-and-symbols \"%s\"" % path)
>> +        self.runCmd("-file-exec-and-symbols \"%s\"" % self.myexe)
>>         self.expect("\^done")
>> 
>>         # Run
>> @@ -60,7 +58,8 @@ class MiFileTestCase(lldbmi_testcase.MiT
>>         self.spawnLldbMi(args=None)
>> 
>>         # Test that -file-exec-and-symbols works for relative path
>> -        path = "./%s" % self.myexe
>> +        import os
>> +        path = os.path.relpath(self.myexe)
>>         self.runCmd("-file-exec-and-symbols %s" % path)
>>         self.expect("\^done")
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiLibraryLoaded.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiLibraryLoaded.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiLibraryLoaded.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiLibraryLoaded.py Fri Jan 19 15:24:35 2018
>> @@ -35,7 +35,7 @@ class MiLibraryLoadedTestCase(lldbmi_tes
>>             "Contents",
>>             "Resources",
>>             "DWARF",
>> -            self.myexe)
>> +            "a.out")
>> 
>>         def add_slashes(x): return x.replace(
>>             "\\",
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py Fri Jan 19 15:24:35 2018
>> @@ -8,21 +8,24 @@ from __future__ import print_function
>> from lldbsuite.test.lldbtest import *
>> 
>> 
>> -class MiTestCaseBase(Base):
>> +class MiTestCaseBase(TestBase):
>> 
>>     mydir = None
>> -    myexe = "a.out"
>> -    mylog = "child.log"
>> +    myexe = None
>> +    mylog = None
>> 
>>     @classmethod
>>     def classCleanup(cls):
>> -        TestBase.RemoveTempFile(cls.myexe)
>> -        TestBase.RemoveTempFile(cls.mylog)
>> +        if cls.myexe:
>> +            TestBase.RemoveTempFile(cls.myexe)
>> +        if cls.mylog:
>> +            TestBase.RemoveTempFile(cls.mylog)
>> 
>>     def setUp(self):
>>         Base.setUp(self)
>>         self.buildDefault()
>>         self.child_prompt = "(gdb)"
>> +        self.myexe = self.getBuildArtifact("a.out")
>> 
>>     def tearDown(self):
>>         if self.TraceOn():
>> @@ -38,6 +41,7 @@ class MiTestCaseBase(Base):
>>         self.child = pexpect.spawn("%s --interpreter %s" % (
>>             self.lldbMiExec, args if args else ""))
>>         self.child.setecho(True)
>> +        self.mylog = self.getBuildArtifact("child.log")
>>         self.child.logfile_read = open(self.mylog, "w")
>>         # wait until lldb-mi has started up and is ready to go
>>         self.expect(self.child_prompt, exactly=True)
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py Fri Jan 19 15:24:35 2018
>> @@ -9,6 +9,7 @@ from lldbsuite.test.decorators import *
>> from lldbsuite.test.lldbtest import *
>> from lldbsuite.test import lldbutil
>> 
>> +import os
>> 
>> class MiStartupOptionsTestCase(lldbmi_testcase.MiTestCaseBase):
>> 
>> @@ -67,14 +68,11 @@ class MiStartupOptionsTestCase(lldbmi_te
>>         """Test that 'lldb-mi --interpreter %s' loads executable which is specified via absolute path."""
>> 
>>         # Prepare path to executable
>> -        import os
>> -        path = os.path.join(os.getcwd(), self.myexe)
>> -
>> -        self.spawnLldbMi(args="%s" % path)
>> +        self.spawnLldbMi(args="%s" % self.myexe)
>> 
>>         # Test that the executable is loaded when file was specified using
>>         # absolute path
>> -        self.expect("-file-exec-and-symbols \"%s\"" % path)
>> +        self.expect("-file-exec-and-symbols \"%s\"" % self.myexe)
>>         self.expect("\^done")
>> 
>>         # Test that lldb-mi is ready when executable was loaded
>> @@ -92,8 +90,7 @@ class MiStartupOptionsTestCase(lldbmi_te
>>         """Test that 'lldb-mi --interpreter %s' loads executable which is specified via relative path."""
>> 
>>         # Prepare path to executable
>> -        path = "./%s" % self.myexe
>> -
>> +        path = os.path.relpath(self.myexe)
>>         self.spawnLldbMi(args="%s" % path)
>> 
>>         # Test that the executable is loaded when file was specified using
>> @@ -129,6 +126,15 @@ class MiStartupOptionsTestCase(lldbmi_te
>>         # Test that lldb-mi is ready when executable was loaded
>>         self.expect(self.child_prompt, exactly=True)
>> 
>> +    def copyScript(self, sourceFile):
>> +        """copy the script to builddir and replace a.out with the full path"""
>> +        destFile = os.path.join(os.path.dirname(self.myexe),
>> +                                sourceFile+'.script')
>> +        with open(sourceFile, 'r') as src:
>> +            with open(destFile, 'w+') as dest:
>> +                dest.write(src.read().replace("a.out", self.myexe))
>> +        return destFile
>> +
>>     @skipIfRemote   # We do not currently support remote debugging via the MI.
>>     @skipIfWindows  # llvm.org/pr24452: Get lldb-mi tests working on Windows
>>     @skipIfFreeBSD  # llvm.org/pr22411: Failure presumably due to known thread races
>> @@ -137,8 +143,7 @@ class MiStartupOptionsTestCase(lldbmi_te
>>         """Test that 'lldb-mi --interpreter' can execute user's commands after initial commands were executed."""
>> 
>>         # Prepared source file
>> -        sourceFile = "start_script"
>> -
>> +        sourceFile = self.copyScript("start_script")
>>         self.spawnLldbMi(args="--source %s" % sourceFile)
>> 
>>         # After '-file-exec-and-symbols a.out'
>> @@ -171,6 +176,7 @@ class MiStartupOptionsTestCase(lldbmi_te
>>         self.runCmd("-data-evaluate-expression a")
>>         self.expect("\^done,value=\"10\"")
>>         self.expect(self.child_prompt, exactly=True)
>> +        os.unlink(sourceFile)
>> 
>>     @skipIfRemote   # We do not currently support remote debugging via the MI.
>>     @skipIfWindows  # llvm.org/pr24452: Get lldb-mi tests working on Windows
>> @@ -180,8 +186,7 @@ class MiStartupOptionsTestCase(lldbmi_te
>>         """Test that 'lldb-mi --interpreter' can execute a prepared file which passed via --source option."""
>> 
>>         # Prepared source file
>> -        sourceFile = "start_script_exit"
>> -
>> +        sourceFile = self.copyScript("start_script_exit")
>>         self.spawnLldbMi(args="--source %s" % sourceFile)
>> 
>>         # After '-file-exec-and-symbols a.out'
>> @@ -215,6 +220,7 @@ class MiStartupOptionsTestCase(lldbmi_te
>>         self.expect("-gdb-exit")
>>         self.expect("\^exit")
>>         self.expect("\*stopped,reason=\"exited-normally\"")
>> +        os.unlink(sourceFile)
>> 
>>     @skipIfWindows  # llvm.org/pr24452: Get lldb-mi tests working on Windows
>>     @skipIfFreeBSD  # llvm.org/pr22411: Failure presumably due to known thread races
>> @@ -222,8 +228,7 @@ class MiStartupOptionsTestCase(lldbmi_te
>>         """Test that 'lldb-mi --interpreter' stops execution of initial commands in case of error."""
>> 
>>         # Prepared source file
>> -        sourceFile = "start_script_error"
>> -
>> +        sourceFile = self.copyScript("start_script_error")
>>         self.spawnLldbMi(args="--source %s" % sourceFile)
>> 
>>         # After '-file-exec-and-symbols a.out'
>> @@ -236,6 +241,7 @@ class MiStartupOptionsTestCase(lldbmi_te
>> 
>>         # Test that lldb-mi is ready after execution of --source start_script
>>         self.expect(self.child_prompt, exactly=True)
>> +        os.unlink(sourceFile)
>> 
>>     @skipIfRemote   # We do not currently support remote debugging via the MI.
>>     @skipIfWindows  # llvm.org/pr24452: Get lldb-mi tests working on Windows
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py Fri Jan 19 15:24:35 2018
>> @@ -558,7 +558,7 @@ class LldbGdbServerTestCase(gdbremote_te
>>         self.assertIsNotNone(reg_infos)
>>         self.assertTrue(len(reg_infos) > 0)
>> 
>> -        inferior_exe_path = os.path.abspath("a.out")
>> +        inferior_exe_path = self.getBuildArtifact("a.out")
>>         Target = self.dbg.CreateTarget(inferior_exe_path)
>>         byte_order = Target.GetByteOrder()
>> 
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py Fri Jan 19 15:24:35 2018
>> @@ -483,7 +483,7 @@ class GdbRemoteTestCaseBase(TestBase):
>>         # This process needs to be started so that it just hangs around for a while.  We'll
>>         # have it sleep.
>>         if not exe_path:
>> -            exe_path = os.path.abspath("a.out")
>> +            exe_path = self.getBuildArtifact("a.out")
>> 
>>         args = []
>>         if inferior_args:
>> @@ -546,7 +546,7 @@ class GdbRemoteTestCaseBase(TestBase):
>>         if self._inferior_startup == self._STARTUP_LAUNCH:
>>             # Build launch args
>>             if not inferior_exe_path:
>> -                inferior_exe_path = os.path.abspath("a.out")
>> +                inferior_exe_path = self.getBuildArtifact("a.out")
>> 
>>             if lldb.remote_platform:
>>                 remote_path = lldbutil.append_to_process_working_directory(
>> @@ -1607,7 +1607,7 @@ class GdbRemoteTestCaseBase(TestBase):
>>             '.*' if lldbplatformutil.hasChattyStderr(self) else '^' + regex + '$'
>> 
>>     def install_and_create_launch_args(self):
>> -        exe_path = os.path.abspath('a.out')
>> +        exe_path = self.getBuildArtifact("a.out")
>>         if not lldb.remote_platform:
>>             return [exe_path]
>>         remote_path = lldbutil.append_to_process_working_directory(
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py Fri Jan 19 15:24:35 2018
>> @@ -20,12 +20,9 @@ class TestPlatformProcessConnect(gdbremo
>>         self.init_llgs_test(False)
>> 
>>         working_dir = lldb.remote_platform.GetWorkingDirectory()
>> -        err = lldb.remote_platform.Put(
>> -            lldb.SBFileSpec(
>> -                os.path.join(
>> -                    os.getcwd(), "a.out")), lldb.SBFileSpec(
>> -                os.path.join(
>> -                    working_dir, "a.out")))
>> +        src = lldb.SBFileSpec(self.getBuildArtifact("a.out"))
>> +        dest = lldb.SBFileSpec(os.path.join(working_dir, "a.out"))
>> +        err = lldb.remote_platform.Put(src, dest)
>>         if err.Fail():
>>             raise RuntimeError(
>>                 "Unable copy '%s' to '%s'.\n>>> %s" %
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/types/TestRecursiveTypes.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/types/TestRecursiveTypes.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/types/TestRecursiveTypes.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/types/TestRecursiveTypes.py Fri Jan 19 15:24:35 2018
>> @@ -44,7 +44,7 @@ class RecursiveTypesTestCase(TestBase):
>>         self.print_struct()
>> 
>>     def print_struct(self):
>> -        self.runCmd("file a.out", CURRENT_EXECUTABLE_SET)
>> +        self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
>> 
>>         lldbutil.run_break_set_by_file_and_line(
>>             self,
>> 
>> Modified: lldb/trunk/packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.py
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.py?rev=323007&r1=323006&r2=323007&view=diff
>> ==============================================================================
>> --- lldb/trunk/packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.py (original)
>> +++ lldb/trunk/packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.py Fri Jan 19 15:24:35 2018
>> @@ -83,7 +83,8 @@ class AddDsymCommandCase(TestBase):
>> 
>>     def do_add_dsym_with_error(self, exe_name):
>>         """Test that the 'add-dsym' command informs the user about failures."""
>> -        self.runCmd("file " + exe_name, CURRENT_EXECUTABLE_SET)
>> +        exe_path = self.getBuildArtifact(exe_name)
>> +        self.runCmd("file " + exe_path, CURRENT_EXECUTABLE_SET)
>> 
>>         wrong_path = os.path.join("%s.dSYM" % exe_name, "Contents")
>>         self.expect("add-dsym " + wrong_path, error=True,
>> @@ -91,7 +92,7 @@ class AddDsymCommandCase(TestBase):
>> 
>>         right_path = os.path.join(
>>             "%s.dSYM" %
>> -            exe_name,
>> +            exe_path,
>>             "Contents",
>>             "Resources",
>>             "DWARF",
>> @@ -101,13 +102,14 @@ class AddDsymCommandCase(TestBase):
>> 
>>     def do_add_dsym_with_success(self, exe_name):
>>         """Test that the 'add-dsym' command informs the user about success."""
>> -        self.runCmd("file " + exe_name, CURRENT_EXECUTABLE_SET)
>> +        exe_path = self.getBuildArtifact(exe_name)
>> +        self.runCmd("file " + exe_path, CURRENT_EXECUTABLE_SET)
>> 
>>         # This time, the UUID should match and we expect some feedback from
>>         # lldb.
>>         right_path = os.path.join(
>>             "%s.dSYM" %
>> -            exe_name,
>> +            exe_path,
>>             "Contents",
>>             "Resources",
>>             "DWARF",
>> @@ -117,9 +119,10 @@ class AddDsymCommandCase(TestBase):
>> 
>>     def do_add_dsym_with_dSYM_bundle(self, exe_name):
>>         """Test that the 'add-dsym' command informs the user about success when loading files in bundles."""
>> -        self.runCmd("file " + exe_name, CURRENT_EXECUTABLE_SET)
>> +        exe_path = self.getBuildArtifact(exe_name)
>> +        self.runCmd("file " + exe_path, CURRENT_EXECUTABLE_SET)
>> 
>>         # This time, the UUID should be found inside the bundle
>> -        right_path = "%s.dSYM" % exe_name
>> +        right_path = "%s.dSYM" % exe_path
>>         self.expect("add-dsym " + right_path,
>>                     substrs=['symbol file', 'has been added to'])
>> 
>> 
>> _______________________________________________
>> lldb-commits mailing list
>> lldb-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits



More information about the lldb-commits mailing list