[zorg] r241766 - Add step to get fingerprint of Android device

Ying Chen chying at google.com
Wed Jul 8 17:44:46 PDT 2015


Author: chying
Date: Wed Jul  8 19:44:45 2015
New Revision: 241766

URL: http://llvm.org/viewvc/llvm-project?rev=241766&view=rev
Log:
Add step to get fingerprint of Android device

- run "adb getprop ro.build.fingerprint" for Android device

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=241766&r1=241765&r2=241766&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py Wed Jul  8 19:44:45 2015
@@ -419,6 +419,17 @@ def getLLDBRemoteTestSteps(f,
                                env=env,
                                haltOnFailure=True,
                                workdir='%s' % llvm_builddir))
+        f.addStep(ShellCommand(name="Build fingerprint " + stepDesc,
+                               command=['adb',
+                                        '-s',
+                                        WithProperties('%(deviceid)s'),
+                                        'shell',
+                                        'getprop',
+                                        'ro.build.fingerprint'],
+                               description="get build fingerprint",
+                               env=env,
+                               haltOnFailure=False,
+                               workdir='%s' % llvm_builddir))
     # launch lldb-server
     f.addStep(ShellCommand(name="launch lldb-server " + stepDesc,
                            command=launchcmd +





More information about the llvm-commits mailing list