Merge branch 'master' of git.lwithers.me.uk:git/lw-build-system
This commit is contained in:
commit
a094821ec3
|
@ -36,11 +36,12 @@ print_tests() {
|
||||||
[ -x "${EXE}" ] || continue
|
[ -x "${EXE}" ] || continue
|
||||||
NAME="$(echo "${EXE}" | sed 's,obj/tests/,,')"
|
NAME="$(echo "${EXE}" | sed 's,obj/tests/,,')"
|
||||||
echo -ne "${NAME}\t"
|
echo -ne "${NAME}\t"
|
||||||
LD_LIBRARY_PATH="obj" "${EXE}" --print-summary
|
LD_LIBRARY_PATH="obj:${LD_LIBRARY_PATH}" "${EXE}" --print-summary
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Main script
|
# Main script
|
||||||
if [ $# -eq 0 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
|
@ -48,6 +49,6 @@ then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
run_test $*
|
run_test "$@"
|
||||||
|
|
||||||
# vim: @VIM_MODELINE@
|
# vim: @VIM_MODELINE@
|
||||||
|
|
Loading…
Reference in New Issue