commit | 03cff378d94324aa25d4c743b80a8519b9ed8012 | [log] [tgz] |
---|---|---|
author | Benjamin Gordon <bmgordon@chromium.org> | Wed Apr 27 18:45:09 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 05 05:05:11 2022 |
tree | 63485f577d4b835c43465f3858bf711e355f3293 | |
parent | 7c349b907c19fc263f0e930025242f89f30f8dc6 [diff] |
scanapp: Parse scanner name from USB descriptors The expected scanner name is currently hardcoded, which has been fine because all the tests load the same set of USB descriptors. We want to add a new test that uses a different descriptor, so the printer name will be different. Since the name is fully derived from the USB string descriptors and we're already parsing the file to get VID and PID out, switch to getting the printable name out of the file as well. BUG=b:199521284 TEST=tast run '("dep:virtual_usb_printer")' Change-Id: I633cfe4e810c9688fae76a98cc944d58f1993a4e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/3611986 Commit-Queue: Benjamin Gordon <bmgordon@chromium.org> Reviewed-by: Matt Stark <msta@google.com> Reviewed-by: Paul Moy <pmoy@chromium.org> Tested-by: Benjamin Gordon <bmgordon@chromium.org> Reviewed-by: David Welling <davidwelling@google.com>
This repository contains integration tests that are run by Tast.
helpers/
- Source code for binaries executed by tests.local/
- Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros
by the tast-local-helpers-cros
package.src/chromiumos/tast/
Shared code, the main tast
executable, the local_test_runner
and remote_test_runner
executables responsible for running bundles, and documentation are located in the tast repository.