[zorg] r236770 - Set TMPDIR when launching lldb-server on android

Ying Chen chying at google.com
Thu May 7 13:59:30 PDT 2015


Author: chying
Date: Thu May  7 15:59:30 2015
New Revision: 236770

URL: http://llvm.org/viewvc/llvm-project?rev=236770&view=rev
Log:
Set TMPDIR when launching lldb-server on android

Summary: This is to fix the test failure of TestGdbRemoteXXX.py on buildbot

Test Plan: Test on local buildbot master

Reviewers: sivachandra

Subscribers: tberghammer

Differential Revision: http://reviews.llvm.org/D9574

Modified:
    zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py

Modified: zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py?rev=236770&r1=236769&r2=236770&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py Thu May  7 15:59:30 2015
@@ -373,7 +373,7 @@ def getLLDBRemoteTestSteps(f,
                     WithProperties('%(deviceid)s'),
                     'shell']
         hostname = 'localhost'
-        launchcmd = ['screen', '-d', '-m']  + shellcmd
+        launchcmd = ['screen', '-d', '-m'] + shellcmd + [WithProperties("TMPDIR=%(remote_dir)s/tmp")]
         terminatecmd = 'ps | grep lldb-server | awk \'{print $2}\' | xargs'
         terminatecmd = WithProperties('adb -s %(deviceid)s shell ' + terminatecmd + ' adb -s %(deviceid)s shell kill')
         cleandircmd = WithProperties('adb -s %(deviceid)s shell rm -rf %(remote_dir)s/*')





More information about the llvm-commits mailing list