Fix abort race condition

Mea culpa, assigning a boolean value is not goroutine safe.

BUG=chromium:784564
TEST=make check

Change-Id: I3b474249df7ebdfba632fe0dbc7524b86223e59c
Reviewed-on: https://chromium-review.googlesource.com/772940
Commit-Ready: Allen Li <ayatane@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
3 files changed
tree: 2b78420df39615f39085e6634cd9d1a1514900c4
  1. scripts/
  2. src/
  3. .gitignore
  4. Makefile
  5. PRESUBMIT.cfg
  6. README.md
README.md

lucifer

Chromium OS test running infrastructure.

Overview

The primary binary provided by lucifer is lucifer_run_job, which implements (or will implement) all parts of running an Autotest job. Updating the status of a running job is delegated to the calling process. lucifer_run_job prints status update events to stdout, and the calling process should perform the necessary updates.

Development

Setup a development environment:

$ sudo apt-get install go
$ export GOPATH=$(pwd)

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 chromiumos/infra/lucifer/event