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

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

No files matched your search

+1 -5
View File
@@ -38,11 +38,7 @@ uninstall:
done
check:
@for f in bin/*; do \
export PATH=$$f:$$PATH; \
done
@export LD_PRELOAD=$$PWD/lib/libxbps.so
@kyua test -k tests/xbps/Kyuafile
@./run-tests
clean:
@for dir in $(SUBDIRS); do \
Executable
+9
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