diff options
author | bors <bors@rust-lang.org> | 2016-04-28 08:51:43 -0700 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2016-04-28 08:51:43 -0700 |
commit | 8025a3ee5e585bc0efd1bb712a9dfadeab41c33a (patch) | |
tree | 7d4f08af877ff6ea76ee5375a4ab9807b4e574b5 | |
parent | 22bb4e4c6f2705aa86cac6c54ed735b315154f72 (diff) | |
parent | cba130bc01d7f6fea035ca0410feac02bb80ebd8 (diff) | |
download | rust-libc-8025a3ee5e585bc0efd1bb712a9dfadeab41c33a.tar.gz |
Auto merge of #259 - nodakai:patch-1, r=alexcrichton
Explain about the automated tests on Travis
in order to advise contributors to locally test their patches.
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | libc-test/Cargo.lock | 2 |
2 files changed, 11 insertions, 1 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: diff --git a/libc-test/Cargo.lock b/libc-test/Cargo.lock index c9f5d455d6..d92849db19 100644 --- a/libc-test/Cargo.lock +++ b/libc-test/Cargo.lock @@ -14,7 +14,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "ctest" version = "0.1.0" -source = "git+https://github.com/alexcrichton/ctest#50ac771acb7bb45cf0c182a5a9c8188a15c89efc" +source = "git+https://github.com/alexcrichton/ctest#a6becb6d7fd23d9863cba86eac31d1ffc4082734" dependencies = [ "gcc 0.3.25 (registry+https://github.com/rust-lang/crates.io-index)", "syntex_syntax 0.19.1 (registry+https://github.com/rust-lang/crates.io-index)", |