mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Rewrite of bash system
+ Implemented new dashboard menu + some fixes for db_assembler + new module installation process with version check via json files + some fixes to modules installer + implemented simple crossplatform worldserver and authserver restarters + new compiler script + client data downloader (beta) + various other fixes
This commit is contained in:
33
deps/jsonpath/all-tests.sh
vendored
Normal file
33
deps/jsonpath/all-tests.sh
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd ${0%/*}
|
||||
|
||||
#set -e
|
||||
fail=0
|
||||
tests=0
|
||||
#all_tests=${__dirname:}
|
||||
#echo PLAN ${#all_tests}
|
||||
for test in test/*.sh ;
|
||||
do
|
||||
tests=$((tests+1))
|
||||
echo TEST: $test
|
||||
./$test
|
||||
ret=$?
|
||||
if [ $ret -eq 0 ] ; then
|
||||
echo OK: ---- $test
|
||||
passed=$((passed+1))
|
||||
else
|
||||
echo FAIL: $test $fail
|
||||
fail=$((fail+ret))
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $fail -eq 0 ]; then
|
||||
echo -n 'SUCCESS '
|
||||
exitcode=0
|
||||
else
|
||||
echo -n 'FAILURE '
|
||||
exitcode=1
|
||||
fi
|
||||
echo $passed / $tests
|
||||
exit $exitcode
|
||||
Reference in New Issue
Block a user