run-tests: set LIBRARY_PATH for tcc.

This commit is contained in:
Juan RP 2019-06-26 15:55:47 +02:00
parent 815754a0e9
commit 646115efdc
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

View File

@ -9,7 +9,7 @@ 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
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