mirror of
https://github.com/lowobservable/coax.git
synced 2026-02-02 23:21:22 +00:00
20 lines
248 B
Bash
Executable File
20 lines
248 B
Bash
Executable File
#!/bin/bash
|
|
|
|
VVP=vvp
|
|
|
|
set -o pipefail
|
|
|
|
ANY_FAILURES=0
|
|
|
|
for TB in *_tb; do
|
|
echo "Running $TB"
|
|
|
|
${VVP} -n $TB | awk "BEGIN{f=0} /^\[FAIL:/{f=1} 1; END{exit(f)}"
|
|
|
|
if [ $? != 0 ]; then
|
|
ANY_FAILURES=1
|
|
fi
|
|
done
|
|
|
|
exit $ANY_FAILURES
|