2012-11-14 21:25:20 +01:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
cd "$(dirname "$0")"/..
|
|
|
|
|
|
|
|
function run {
|
|
|
|
desc="$1"
|
|
|
|
shift
|
|
|
|
|
|
|
|
echo "Running $desc"
|
|
|
|
if ! "$@"; then
|
|
|
|
printf "\n\e[31;1mFAILED\e[0m $desc\n"
|
|
|
|
exit 1
|
|
|
|
else
|
|
|
|
echo
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2013-03-22 21:09:54 +01:00
|
|
|
run 'clean repo' ./tools/clean-repo
|
2012-11-14 21:25:20 +01:00
|
|
|
run 'lint checkers' ./tools/check-all
|
2013-07-26 20:31:24 +02:00
|
|
|
run 'js unit tests' ./tools/test-js-with-node
|
2013-01-10 19:22:16 +01:00
|
|
|
run 'server tests' ./tools/test-backend
|
2013-03-19 16:26:48 +01:00
|
|
|
run 'web client tests' ./zephyr/tests/frontend/run
|
2012-11-14 21:25:20 +01:00
|
|
|
|
|
|
|
printf '\n\e[32mAll OK!\e[0m\n'
|