mirror of
https://tangled.org/tranquil.farm/tranquil-pds
synced 2026-02-08 21:30:08 +00:00
21 lines
634 B
Makefile
21 lines
634 B
Makefile
# Run all tests with correct threading models
|
|
test: test-proxy test-lifecycle test-others
|
|
|
|
# Proxy tests modify environment variables, so must run single-threaded
|
|
# TODO: figure out how to run in parallel
|
|
test-proxy:
|
|
cargo test --test proxy -- --test-threads=1
|
|
|
|
# Lifecycle tests involve complex state mutations, run single-threaded to be safe
|
|
# TODO: figure out how to run in parallel
|
|
test-lifecycle:
|
|
cargo test --test lifecycle -- --test-threads=1
|
|
|
|
test-others:
|
|
cargo test --lib
|
|
cargo test --test auth
|
|
cargo test --test identity
|
|
cargo test --test repo
|
|
cargo test --test server
|
|
cargo test --test sync
|