2018-07-16 04:23:24 +08:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
#vim:ft=zsh ts=2 sw=2 sts=2 et fenc=utf-8
|
|
|
|
|
|
|
|
local failed=false
|
|
|
|
|
|
|
|
for test in **/*.spec; do
|
2018-07-16 14:17:28 +08:00
|
|
|
echo
|
|
|
|
echo "Now executing ${test}"
|
2018-07-16 04:23:24 +08:00
|
|
|
if [[ "${test}" == "test/suite.spec" ]]; then
|
|
|
|
continue;
|
|
|
|
fi
|
|
|
|
./${test} || failed=true
|
|
|
|
done
|
|
|
|
|
|
|
|
if [[ "${failed}" == "true" ]]; then
|
|
|
|
exit 1
|
|
|
|
fi
|