Refactor example test (#289)

This commit is contained in:
Yota Toyama
2023-09-28 15:48:03 +10:00
committed by GitHub
parent 9dd6bfd031
commit 10e16366d7
2 changed files with 9 additions and 6 deletions

View File

@@ -2,10 +2,10 @@
set -ex
cargo build
cd $(dirname $0)
for cargo_file in */Cargo.toml; do
target/debug/$(dirname $cargo_file) &
cargo run --bin $(dirname $cargo_file) &
pid=$!
sleep 20
kill $pid