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

Tamas Berghammer tberghammer at google.com
Fri May 8 06:40:43 PDT 2015


Hi Ying,

This change is not needed anymore as r236843 fixes the underlying problem
on Android with adding a default temp directory (same happens on every
other platform).

Tamas

On Thu, May 7, 2015 at 9:59 PM, Ying Chen <chying at google.com> wrote:

> 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/*')
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150508/3db78ce9/attachment.html>


More information about the llvm-commits mailing list