diff options
author | Kai Noda <nodakai@gmail.com> | 2016-04-11 10:47:43 +0800 |
---|---|---|
committer | NODA, Kai <nodakai@gmail.com> | 2016-04-27 08:35:18 +0800 |
commit | cba130bc01d7f6fea035ca0410feac02bb80ebd8 (patch) | |
tree | 7d4f08af877ff6ea76ee5375a4ab9807b4e574b5 /README.md | |
parent | 22bb4e4c6f2705aa86cac6c54ed735b315154f72 (diff) | |
download | rust-libc-cba130bc01d7f6fea035ca0410feac02bb80ebd8.tar.gz |
Explain about the automated tests on Travis
in order to advise contributors to locally test their patches.
Also update ctest to include a fix on rerun-if-changed so that human
developers doing trial & error can properly test their latest code.
Signed-off-by: NODA, Kai <nodakai@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -88,6 +88,16 @@ With that in mind, the steps for adding a new API are: 4. Wait for CI to pass, fixing errors. 5. Wait for a merge! +### Test before you commit + +We have two automated tests running on [Travis](https://travis-ci.org/rust-lang/libc): + +1. [`libc-test`](https://github.com/alexcrichton/ctest) + - `cd libc-test && cargo run` + - Use the `skip_*()` functions in `build.rs` if you really need a workaround. +2. Style checker + - `rustc ci/style.rs && ./style src` + ## Platforms and Documentation The following platforms are currently tested and have documentation available: |