53e23d348e
This way 'make check' always uses it. Signed-off-by: Juan RP <xtraeme@gmail.com>
17 lines
366 B
Bash
Executable File
17 lines
366 B
Bash
Executable File
#!/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
|
|
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
|