mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 14:43:46 +01:00
16 lines
395 B
Bash
Executable File
16 lines
395 B
Bash
Executable File
#!/bin/sh
|
|
# Test all Rust crates
|
|
|
|
set -e
|
|
|
|
CARGO_TARGET_DIR="${abs_top_builddir:-../../..}/src/rust/target" \
|
|
CARGO_HOME="${abs_top_builddir:-../../..}/src/rust" \
|
|
find "${abs_top_srcdir:-../../..}/src/rust" \
|
|
-mindepth 2 -maxdepth 2 \
|
|
-type f -name 'Cargo.toml' \
|
|
-exec "${CARGO:-cargo}" test --all-features ${CARGO_ONLINE-"--frozen"} \
|
|
--manifest-path '{}' \;
|
|
|
|
exit $?
|
|
|