From: Carol (Nichols || Goulding) Date: Tue, 13 Sep 2016 01:45:29 +0000 (-0400) Subject: Document recommended way for running tests X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~13^2~79^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5c793a2947fbcbfe1fc86e7e09cdd158c86d8b81;p=cargo.git Document recommended way for running tests Fixes #3084. --- diff --git a/README.md b/README.md index 49d73629a..71c74508d 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,12 @@ bit versions of cargo on unix you would use: $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify