summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby/ruby/run-ptest
blob: de7c415aba675814460c75cb9567b3cb293e56cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

test_fullname=`find test -name test_*.rb` 
 
for i in ${test_fullname}; do 
	ruby ./test/runner.rb ${i}  2>&1 > /dev/null
	ret=$? 
	if [ $ret != 0 ]; then
		echo "FAIL: ${i}" 
	else
		echo "PASS: ${i}"         
	fi 
done