You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
powerlevel10k/test/suite.spec

17 lines
310 B
Bash

#!/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
echo
echo "Now executing ${test}"
if [[ "${test}" == "test/suite.spec" ]]; then
continue;
fi
./${test} || failed=true
done
if [[ "${failed}" == "true" ]]; then
exit 1
fi