Skip to content

Commit

Permalink
Apply cargo test
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix committed Jul 2, 2014
1 parent 00a1b66 commit d54b43c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ all:
cargo build || rustc --out-dir=target src/zmq.rs

tests:
rustc src/zmq.rs --test -o zmq.rs.test
RUST_LOG=debug ./zmq.rs.test --nocapture
RUST_LOG=debug cargo test || (rustc src/zmq.rs --test -o zmq.rs.test && RUST_LOG=debug ./zmq.rs.test --nocapture)

clean:
rm zmq.rs.test
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Under C4.1 process, you are more than welcome to help us by:
To run the test suite:

```bash
make tests
cargo test
```

## Community
Expand Down

0 comments on commit d54b43c

Please sign in to comment.