forked from GitHub/bdwgc-rust
Test examples
This commit is contained in:
20
examples/test.sh
Executable file
20
examples/test.sh
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
for dir in $(ls)
|
||||||
|
do
|
||||||
|
if ! [ -d $dir ]
|
||||||
|
then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
(
|
||||||
|
cd $dir
|
||||||
|
cargo build
|
||||||
|
target/debug/$dir &
|
||||||
|
pid=$!
|
||||||
|
sleep 10
|
||||||
|
kill $pid
|
||||||
|
)
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user