blob: c8e50fc967ba20a67f1298179d8538e778c7380e [file] [log] [blame]
#!/bin/sh
export POCO_BASE=/usr/lib/poco/ptest
export LD_LIBRARY_PATH=${POCO_BASE}/bin:${LD_LIBRARY_PATH}
i=0
while read runner; do
oldpath=`pwd` >/dev/null
cd bin
echo Testing $runner
./$runner -ignore $oldpath/cppignore.lnx -all
export res$((i++))=$?
cd $oldpath >/dev/null
done < testrunners
i=0
while read runner; do
eval assign=\$res$((i++))
if [ $assign -ne 0 ]; then
echo "FAIL: $runner"
else
echo "PASS: $runner"
fi
done < testrunners