1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

make check: Run unit tests

This commit is contained in:
Eelco Dolstra 2020-05-08 11:49:40 +02:00
parent 72b9d971bc
commit 7898cdb75a
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
4 changed files with 10 additions and 1 deletions

View file

@ -41,5 +41,5 @@ ifneq ($(OS), Darwin)
check: rust-tests
rust-tests:
cd nix-rust && CARGO_HOME=$$(if [[ -d vendor ]]; then echo vendor; fi) cargo test --release $$(if [[ -d vendor ]]; then echo --offline; fi)
$(trace-test) cd nix-rust && CARGO_HOME=$$(if [[ -d vendor ]]; then echo vendor; fi) cargo test --release $$(if [[ -d vendor ]]; then echo --offline; fi)
endif