commit | bc9668213c098411c0f62fb414897bb6fdeb6dc4 | [log] [tgz] |
---|---|---|
author | Jason Stanko <jstanko@google.com> | Tue Nov 12 05:06:23 2024 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 15 22:48:30 2024 |
tree | e7b158592fd0c6dc3b7a96b9419be63eb2b55039 | |
parent | d7caa03424b723334a603c00bbcfe0b5056307af [diff] |
passport: Add unit tests for camera service BUG=b:375020169 TEST=./scripts/build.sh Change-Id: I9180e839871288b0f870032906d04e5a97569a24 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/passport/+/6011547 Reviewed-by: Svitlana Soltysyak <ssoltysyak@google.com> Commit-Queue: Jason Stanko <jstanko@google.com> Tested-by: Jason Stanko <jstanko@google.com>
A service for controlling components in ChromeOS peripheral testbeds.
See go/cros-pass-port
The executable can be built on your local machine by running ./scripts/build.sh
When not using docker, the service can be started in server
mode by running:
./go/bin/passport
Once a service is running, it can be verified in a separate terminal by running:
./go/bin/passport -mode DETECT
This will probe for all components connected to the machine and log them to STDOUT. This can also be used to check an already running service on a remote machine.
It's also possible to quickly test the executable without starting two separate processes by running:
./go/bin/passport -mode TEST
This will perform the same actions as DETECT
except both the client and server will be started in the same process without needing a separate terminal window.