xbps/run-tests

18 lines
413 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
for f in bin/*; do
export PATH=$PWD/$f:$PATH
done
export PATH=$PATH:/usr/local/bin
NPROCS=1
if [ -r /proc/cpuinfo ]; then
NPROCS=$(grep ^proc /proc/cpuinfo|wc -l)
fi
export XBPS_SYSLOG=false
2019-06-26 19:25:47 +05:30
LIBRARY_PATH=$PWD/lib LD_LIBRARY_PATH=$PWD/lib ATF_SHELL=/bin/sh kyua --variable parallelism=$NPROCS test -r result.db -k tests/xbps/Kyuafile
rv=$?
kyua report --verbose -r result.db
rm -f result.db
exit $rv