Refactor example test (#289)

This commit is contained in:
Yota Toyama authored and GitHub committed 2023-09-28 05:48:03 +00:00
1 parent 9dd6bfd031
commit 10e16366d7
2 files changed
+9 -6

No files matched your search

+2 -2
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