commit | 4347a0e20371c3164a7cb3603304d91bbaacc157 | [log] [tgz] |
---|---|---|
author | Allen Li <ayatane@google.com> | Wed May 23 22:58:15 2018 |
committer | chrome-bot <chrome-bot@chromium.org> | Thu May 24 00:42:29 2018 |
tree | e03682017c7512879ed423d85da1579b07876160 | |
parent | fc35a20c45c8f9c76ed75044917c091125452edb [diff] |
skylab_swarming_worker: Add buffer to signal channel Needed since Notify doesn't block on send BUG=None TEST=None Change-Id: Ia36c3997e6dab429a20b883913e4f9a21a3a59d4 Reviewed-on: https://chromium-review.googlesource.com/1070878 Commit-Ready: Allen Li <ayatane@chromium.org> Tested-by: Allen Li <ayatane@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Chromium OS test running infrastructure.
The project provides two binaries.
lucifer_run_job
runs a test job. It is intended to be run by a parent wrapper process. lucifer_run_job
prints status update events to stdout, and the calling process should perform the necessary updates for the scheduling system in use (e.g. Autotest or Swarming).
skylab_swarming_worker
is such a wrapper for Swarming.
Install necessary tools:
sudo apt-get install go
Install go dep. Find the right binary for your system on the releases page and download it to somewhere on your path.
For all Go commands run for this project, you need to set GOPATH to the project root:
export GOPATH=$(pwd)
Install Lucifer dependency packages:
(cd src/lucifer && dep ensure)
To serve documentation:
godoc -port 5000
To build binaries:
make
To run unit tests:
make check
To run all tests, including slow and/or flaky tests:
make check_all
To check test coverage of a package:
scripts/check_coverage lucifer/event