aboutsummaryrefslogblamecommitdiff
path: root/src/tests/run_tests.sh
blob: 470959bc875f8230964265ce202d9b0e7f382368 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                             
                                             
            
                                               

          
#!/bin/bash

cd `dirname $0`

for FILE in */Makefile */*/Makefile; do
	TEST=`dirname $FILE`
	echo -n "Running test $TEST ... "
	if make -C $TEST run_test > $TEST/test.log 2>&1; then
		echo -e "\033[0;32mOK\033[0m"
	else
		echo -e "\033[0;31mFAIL\033[0m"
	fi
done