History log of /external/autotest/client/site_tests/firmware_TouchMTB/tools/host_replay.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e41b3cfce09ec790d909107c9da6726e51b13c89 24-Oct-2013 Joseph Hwang <josephsih@chromium.org> firmware_TouchMTB: show metrics as default

Metrics statistics are shown without the need to specify any flags.

BUG=chromium:235753
TEST=Replay the logs without specifying "-s" command option.
$ cd /usr/local/autotest/tests/firmware_TouchMTB
$ tools/machine_replay.sh -b tests/logs/lumpy/
$ ./summary.sh -d /tmp -m f
Check out the summary report in /tmp/summary/summaryxxx/summaryxxx.txt,
where xxx is of the form of the date time. It should display the
"Metrics statistics by validator" in the summary report.

All unit tests must pass too.
$ python tests/run_all_unittests.py

Change-Id: I893290d77a27c8a981c65e8f837c2ba5f1e39c46
Reviewed-on: https://chromium-review.googlesource.com/174663
Reviewed-by: Shyh-In Hwang <josephsih@chromium.org>
Commit-Queue: Shyh-In Hwang <josephsih@chromium.org>
Tested-by: Shyh-In Hwang <josephsih@chromium.org>
/external/autotest/client/site_tests/firmware_TouchMTB/tools/host_replay.sh
8c50fe03a40efab6012e9835c78aa6db408d74ac 09-Jun-2013 Joseph Hwang <josephsih@chromium.org> firmware_TouchMTB: add --show_spec_v2 in replay scripts

In this patch, we add a new flag --show_spec_v2 in replay scripts.
With this flag, the machine will replay the gesture files and derive
the test results using the validators specified in the touchpad
firmware test spec v2.

BUG=chromium:248120
TEST=None. Will be tested with subsequent patches.

Change-Id: I62cd0226896a8295e9b20bd5a7ff39042e1ab5f6
Reviewed-on: https://gerrit.chromium.org/gerrit/58082
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Tested-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
Commit-Queue: Joseph Shyh-In Hwang <josephsih@chromium.org>
/external/autotest/client/site_tests/firmware_TouchMTB/tools/host_replay.sh
1871e03b960a0a051266ef1726bc4b0e321698b6 26-May-2013 Joseph Hwang <josephsih@chromium.org> firmware_TouchMTB: add scripts to replay and copy logs

Whenever the contents or formats of the logs are changed, we need to
replay and re-generate the logs. In this patch, we automate the flow
of replaying logs on the remote machine, and scp the logs to the host.

When a user executes tools/host_replay.sh on a host, it ssh to the
specified remote machine to execute tools/machine_replay.sh to replay
the logs, removes the old logs on the host, and then scp the new logs
from the machine to the host.

BUG=chromium:241092
TEST=Run the following commands in chroot
(cr) $ tools/host_replay.sh -m $MACHINE_IP
Observe that the specified machine replays and generates new logs.
And then those logs are scp-ed to the host.

Change-Id: I5f97f3f533feef0839a6cd4bd8e47564195b2c12
Reviewed-on: https://gerrit.chromium.org/gerrit/56730
Reviewed-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
Tested-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
Commit-Queue: Joseph Shyh-In Hwang <josephsih@chromium.org>
/external/autotest/client/site_tests/firmware_TouchMTB/tools/host_replay.sh