Updates for unit tests

This commit is contained in:
Mark Riddoch
2014-08-20 11:07:28 +01:00
parent d6a2ef6996
commit 24e16e97ed
4 changed files with 186 additions and 14 deletions

10
server/core/test/runtest.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
test=$1
log=$2
echo Running test $test >> $log
./$test 2>> $log
if [ $? -ne 0 ]; then
echo $test " " FAILED >> $log
else
echo $test " " PASSED >> $log
fi