Added a script that sets up env vars and runs the tests in place.

This commit is contained in:
Juan RP 2014-10-06 12:37:04 +02:00
parent eac1246a90
commit cbb003f968
2 changed files with 10 additions and 5 deletions

View File

@ -38,11 +38,7 @@ uninstall:
done done
check: check:
@for f in bin/*; do \ @./run-tests
export PATH=$$f:$$PATH; \
done
@export LD_PRELOAD=$$PWD/lib/libxbps.so
@kyua test -k tests/xbps/Kyuafile
clean: clean:
@for dir in $(SUBDIRS); do \ @for dir in $(SUBDIRS); do \

9
run-tests Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
set -e
for f in bin/*; do
export PATH=$PWD/$f:$PATH
done
export LD_PRELOAD=$PWD/lib/libxbps.so
kyua test -k tests/xbps/Kyuafile