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:
parent
7e83677ee1
commit
a498e7aee2
@ -4,13 +4,12 @@ for f in bin/*; do
|
|||||||
export PATH=$PWD/$f:$PATH
|
export PATH=$PWD/$f:$PATH
|
||||||
done
|
done
|
||||||
export PATH=$PATH:/usr/local/bin
|
export PATH=$PATH:/usr/local/bin
|
||||||
export LD_PRELOAD=$PWD/lib/libxbps.so
|
|
||||||
|
|
||||||
NPROCS=1
|
NPROCS=1
|
||||||
if [ -r /proc/cpuinfo ]; then
|
if [ -r /proc/cpuinfo ]; then
|
||||||
NPROCS=$(grep ^proc /proc/cpuinfo|wc -l)
|
NPROCS=$(grep ^proc /proc/cpuinfo|wc -l)
|
||||||
fi
|
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=$?
|
rv=$?
|
||||||
kyua report --verbose -r result.db
|
kyua report --verbose -r result.db
|
||||||
rm -f result.db
|
rm -f result.db
|
||||||
|
Loading…
Reference in New Issue
Block a user