Khem Raj 2ccedccd6e poco: Fix ptest runtime errors
* Skip failing tests for now
* Limit supported architecture list to same as mongoDB

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 15:34:02 -07:00

22 lines
471 B
Bash

#!/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