run-tests: use LD_LIBRARY_PATH instead.

Somehow musl does not like this LD_PRELOAD.

Signed-off-by: Juan RP <xtraeme@gmail.com>
This commit is contained in:
Juan RP 2019-06-14 10:14:36 +02:00
parent 7e83677ee1
commit a498e7aee2
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

View File

@ -4,13 +4,12 @@ for f in bin/*; do
export PATH=$PWD/$f:$PATH
done
export PATH=$PATH:/usr/local/bin
export LD_PRELOAD=$PWD/lib/libxbps.so
NPROCS=1
if [ -r /proc/cpuinfo ]; then
NPROCS=$(grep ^proc /proc/cpuinfo|wc -l)
fi
kyua --variable parallelism=$NPROCS test -r result.db -k tests/xbps/Kyuafile
LD_LIBRARY_PATH=$PWD/lib kyua --variable parallelism=$NPROCS test -r result.db -k tests/xbps/Kyuafile
rv=$?
kyua report --verbose -r result.db
rm -f result.db