[Webkit-unassigned] [Bug 96471] [chromium] When running layout tests on android judge about installation success from adb command exit status

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 14 08:18:38 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=96471





--- Comment #10 from Egor Pasko <pasko at chromium.org>  2012-09-14 08:19:06 PST ---
(In reply to comment #8)
> (In reply to comment #4)
> > $ adb install -r out/Debug/DumpRenderTree_apk/DumpRenderTree-debug.apk; echo $?
> > 4287 KB/s (12481666 bytes in 2.843s)
> > 0
> > 
> > $ adb install out/Debug/DumpRenderTree_apk/DumpRenderTree-debug.apk; echo $?
> > 4343 KB/s (12481666 bytes in 2.806s)
> > 0
> 
> For clarity: the second install will have failed, as the package was already installed. It should have shown "Failure [INSTALL_FAILED_ALREADY_EXISTS]"...

It does not fail for me, good to know that it should though, thanks!

I looked at strace of the adb command and I see that there is no crash. From the adb server we successfully get the string "4702 KB/s (12481666 bytes in 2.592s" along with a reply "OKAY". Prints the former and exits.

I also looked at the adb server strace, also looks that it works without any exceptions doing:
1. transfer the apk via transport
2. shell:pm install /data/local/tmp/...
3. shell:rm /data/local/tmp/DumpRenderTree...apk
4. gets OKAY as result

maybe I should re-flash the device with some certain firmware?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list