commit | 7a4ebde330d44114ccd85aa0c668b3c84c531335 | [log] [tgz] |
---|---|---|
author | Emily Shaffer <emilyshaffer@google.com> | Mon Jun 24 19:08:26 2019 -0700 |
committer | Emily Shaffer <emilyshaffer@google.com> | Tue Jun 25 18:05:14 2019 -0700 |
tree | bae869d2da5d4dc3d3ddccec1f017da33689025a | |
parent | a3a1cdc299fbeee366fee925dc08fa3eaf8b63f2 [diff] |
docs: add chapter on running tests Add instructions for installing and setting up Docker, modifying the setup for phosphor-host-ipmid, and running the tests. This also covers reading the .log files generated during the testing run. These instructions cover how to use `git worktree` to make a copy of your working repo which is usable by Docker, but still up-to-date with the hacking you've been doing. There's also a brief method of coming up with a similar setup using a local remote or symlink. The worktree method was selected because it is impossible to make the code you're testing out-of-sync with the code you will submit to Gerrit for review. However, we need to mount the working repo to the Docker container too to make this work (since Git will look there for the .git/ dir). Tested: Viewed in Chrome Change-Id: I684664e2580637b34fbb79eceb838986425852c0
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.