Skip to content

Commit

Permalink
Remove spammy test output unless requested (or test fails)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Mar 1, 2024
1 parent 825ed99 commit ea94922
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,13 @@ check-quilkin: ensure-build-image
docker run --rm $(common_rust_args) \
--entrypoint=cargo $(BUILD_IMAGE_TAG) fmt -- --check

# test only the quilkin crate
# test only the quilkin crate, if you want to see test output regardless of test
# failure or success, set RUST_TEST_NOCAPTURE to something other than "0"
test-quilkin: ensure-build-image
# --network=host because docker containers are not great at ipv6.
docker run --rm $(common_rust_args) \
--network=host \
-e RUST_BACKTRACE=1 --entrypoint=cargo $(BUILD_IMAGE_TAG) test -- --nocapture
-e RUST_BACKTRACE=1 --entrypoint=cargo $(BUILD_IMAGE_TAG) test

# Run tests against the examples
test-examples: ensure-build-image
Expand Down

0 comments on commit ea94922

Please sign in to comment.