mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
14 lines
394 B
Bash
Executable file
14 lines
394 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 $?
|