loom 336 B

12345678910111213
  1. #!/usr/bin/env bash
  2. set -x
  3. RUSTFLAGS="--cfg loom ${RUSTFLAGS}" \
  4. LOOM_LOG="${LOOM_LOG:-info}" \
  5. LOOM_MAX_PREEMPTIONS="${LOOM_MAX_PREEMPTIONS:-2}" \
  6. cargo test \
  7. --profile loom \
  8. # All loom tests are lib tests; don't run integration or doctests
  9. # (they can be run with the normal `cargo test` command).
  10. --lib \
  11. "$@"