Skip to content

Commit 8025a3e

Browse files
committed
Auto merge of rust-lang#259 - nodakai:patch-1, r=alexcrichton
Explain about the automated tests on Travis in order to advise contributors to locally test their patches.
2 parents 22bb4e4 + cba130b commit 8025a3e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ With that in mind, the steps for adding a new API are:
8888
4. Wait for CI to pass, fixing errors.
8989
5. Wait for a merge!
9090

91+
### Test before you commit
92+
93+
We have two automated tests running on [Travis](https://travis-ci.org/rust-lang/libc):
94+
95+
1. [`libc-test`](https://github.com/alexcrichton/ctest)
96+
- `cd libc-test && cargo run`
97+
- Use the `skip_*()` functions in `build.rs` if you really need a workaround.
98+
2. Style checker
99+
- `rustc ci/style.rs && ./style src`
100+
91101
## Platforms and Documentation
92102

93103
The following platforms are currently tested and have documentation available:

libc-test/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)