Closed Bug 689161 Opened 14 years ago Closed 14 years ago

Remote testing options somewhat unclear, remote configurator fails strangely when using adb and no device ip set

Categories

(Testing :: Talos, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

Details

Attachments

(1 file, 1 obsolete file)

As discussed on irc, there's a few things that are a bit strange about configuring remote talos at the moment: 1. You need to specify a device IP even when using adb with a single machine, otherwise it will fail with an obscure error 2. The command line options could be a bit clearer (specifically, after (1) is fixed, you only need to be specify a device ip if using sutagent) The attached patch addresses both of these issues.
Attachment #562431 - Flags: review?(jmaher)
Summary: Remote testing options somewhat unclear, failures strangely → Remote testing options somewhat unclear, remote configurator fails strangely when using adb and no device ip set
Here's a small update to the patch to error out when command line arguments are specified. I just realized this was the problem when folowing the instructions here: http://elvis314.wordpress.com/2010/10/04/talos-remote-testing-and-android/ It looks like wordpress replaced '--' with '–', which caused options to be interpreted as command line arguments, however it wasn't clear that this was actually happening (since talos just ate any options prefixed that way as arguments). The blog entry should prolly be updated to use <pre> for stuff that's meant to be entered into a terminal, but this patch should prevent that sort of gotcha from tripping us up in the future.
Assignee: nobody → wlachance
Attachment #562431 - Attachment is obsolete: true
Attachment #562431 - Flags: review?(jmaher)
Attachment #562451 - Flags: review?(jmaher)
Comment on attachment 562451 [details] [diff] [review] Updated patch to error when arguments were specified Review of attachment 562451 [details] [diff] [review]: ----------------------------------------------------------------- great, nice simple cleanup
Attachment #562451 - Flags: review?(jmaher) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: