WIP: testing #96
|
@ -17,8 +17,6 @@ then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "Starting Bonsai testing.\n\n"
|
|
||||||
|
|
||||||
for script in tests/bonsai/*.sh; do
|
for script in tests/bonsai/*.sh; do
|
||||||
emma marked this conversation as resolved
|
|||||||
export UTIL="$(printf '%s\n' "$script" \
|
export UTIL="$(printf '%s\n' "$script" \
|
||||||
| sed -e 's/\.sh//g' -e 's;tests\/bonsai\/;;g')"
|
| sed -e 's/\.sh//g' -e 's;tests\/bonsai\/;;g')"
|
||||||
|
@ -28,8 +26,6 @@ for script in tests/bonsai/*.sh; do
|
||||||
printf '\n'
|
printf '\n'
|
||||||
done
|
done
|
||||||
|
|
||||||
printf "Starting POSIX compatibility testing.\n\n"
|
|
||||||
|
|
||||||
for test in tests/posix/*.sh; do
|
for test in tests/posix/*.sh; do
|
||||||
export PATH="$BIN:$PATH"
|
export PATH="$BIN:$PATH"
|
||||||
printf '%s: %s: Testing utility.\n' "$0" "$test"
|
printf '%s: %s: Testing utility.\n' "$0" "$test"
|
||||||
emma marked this conversation as resolved
Outdated
trinity
commented
This should go before the previous This should go before the previous `for` loop as it will crash faster on incorrect invocation.
|
|||||||
|
|
Loading…
Reference in New Issue
Block a user
This seems ineligant. Programmatically print the test suite name at
tests/$suite/Name
, falling back to the folder name itself.