firmware_TouchMTB: should save the logs and reports after recording

The test flow should output logs and html report after recording
gestures. Currently, it only does the output in the replay mode
which is a bug.

BUG=chromium:331015
TEST=Perform a recording round, and check that the html file
contains all the gestures images and logs.
$ cd /usr/local/autotest/tests/firmware_TouchMTB
$ python main.py -m manual
Type "/tmp" in Chrome browser's omnibox. And check the html report
whose name looks like "touch_firmware_report-xxxx.html". Verify that
there are gesture images and logs in the html file.

Change-Id: I1ec4dadaab4bb9edd01fc9b76ea1affedc872fd2
Reviewed-on: https://chromium-review.googlesource.com/181235
Reviewed-by: Shyh-In Hwang <josephsih@chromium.org>
Commit-Queue: Shyh-In Hwang <josephsih@chromium.org>
Tested-by: Shyh-In Hwang <josephsih@chromium.org>
1 file changed