1#!/bin/sh 2export POCO_BASE=/usr/lib/poco/ptest 3export LD_LIBRARY_PATH=${POCO_BASE}/bin:${LD_LIBRARY_PATH} 4i=0 5while read runner; do 6 oldpath=`pwd` >/dev/null 7 cd bin 8 echo Testing $runner 9 ./$runner -ignore $oldpath/cppignore.lnx -all 10 export res$((i++))=$? 11 cd $oldpath >/dev/null 12done < testrunners 13i=0 14while read runner; do 15 eval assign=\$res$((i++)) 16 if [ $assign -ne 0 ]; then 17 echo "FAIL: $runner" 18 else 19 echo "PASS: $runner" 20 fi 21done < testrunners 22