contributing: remove references to test.py now that cargo test works.

This commit is contained in:
Emilio Cobos Álvarez
2019-04-20 15:44:26 +02:00
parent 2b3260baa4
commit 08a3ae440c
+2 -2
View File
@@ -12,9 +12,9 @@ Check out [Servo's Github workflow](https://github.com/servo/servo/wiki/Github-w
Don't worry about requesting code review, as there is nothing formally setup for this repository. I try and review each pull request as soon as I can.
There is continuous integration setup for `cbindgen` using [travis](https://travis-ci.org/). It automatically runs `./test.py` which runs `cbindgen` against a series of rust files from `tests/rust/` and checks that the output compiles using `gcc` or `g++`.
There is continuous integration setup for `cbindgen` using [travis](https://travis-ci.org/). It automatically runs `cargo test` which runs `cbindgen` against a series of rust files from `tests/rust/` and checks that the output compiles using `gcc` or `g++`.
Please run `./test.py` before filing a pull request to be sure that all tests pass. This will also update the test expectations.
Please run `cargo test` before filing a pull request to be sure that all tests pass. This will also update the test expectations.
Rustfmt is also enforced by travis. To format your code install `rustfmt-preview` using `rustup component add rustfmt-preview` and then `cargo fmt`. Travis runs with rust nightly, so use `rustup run nightly -- cargo fmt` to guarantee consistent results.