2014-10-06 16:07:04 +05:30
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
for f in bin/*; do
|
|
|
|
export PATH=$PWD/$f:$PATH
|
|
|
|
done
|
2014-10-06 17:46:50 +05:30
|
|
|
export PATH=$PATH:/usr/local/bin
|
2014-11-06 15:12:55 +05:30
|
|
|
|
2019-04-21 01:16:28 +05:30
|
|
|
NPROCS=1
|
|
|
|
if [ -r /proc/cpuinfo ]; then
|
2019-04-21 01:24:08 +05:30
|
|
|
NPROCS=$(grep ^proc /proc/cpuinfo|wc -l)
|
2019-04-21 01:16:28 +05:30
|
|
|
fi
|
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
|
2014-11-06 15:12:55 +05:30
|
|
|
rv=$?
|
|
|
|
kyua report --verbose -r result.db
|
|
|
|
rm -f result.db
|
|
|
|
exit $rv
|