nss-pam-ldapd branch master updated. 0.9.6-27-g281b0ec
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd branch master updated. 0.9.6-27-g281b0ec
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd branch master updated. 0.9.6-27-g281b0ec
- Date: Sat, 4 Jun 2016 22:45:27 +0200 (CEST)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".
The branch, master has been updated
via 281b0ecb4dc57b3188c36adfa6eda74cf3ff5796 (commit)
from a89eda7e2030c4d99e700064379b38ff2a4452cb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=281b0ecb4dc57b3188c36adfa6eda74cf3ff5796
commit 281b0ecb4dc57b3188c36adfa6eda74cf3ff5796
Author: Arthur de Jong <arthur@arthurdejong.org>
Date: Sat Jun 4 22:39:26 2016 +0200
Ensure doctest also run in distcheck
This fixes test_doctest.sh to also work when the build directory is
different from the source directory. This is needed because constants.py
is only available in the build directory.
diff --git a/tests/test_doctest.sh b/tests/test_doctest.sh
index eb2613d..ed51141 100755
--- a/tests/test_doctest.sh
+++ b/tests/test_doctest.sh
@@ -23,7 +23,9 @@ set -e
# find source directory
srcdir="${srcdir-`dirname "$0"`}"
+builddir="${builddir-`dirname "$0"`}"
top_srcdir="${top_srcdir-${srcdir}/..}"
+top_builddir="${top_builddir-${builddir}/..}"
python="${PYTHON-python}"
# if Python is missing, ignore
@@ -34,8 +36,8 @@ then
fi
# run doctests
-for dir in "$top_srcdir"/pynslcd "$top_srcdir"/utils
+for dir in pynslcd utils
do
- echo "Running doctests in `basename $dir`..."
- (cd "$dir"; ${python} -m doctest -v *.py)
+ echo "Running doctests in $dir..."
+ PYTHONPATH="${top_builddir}/${dir}" ${python} -m doctest -v
"${top_srcdir}/${dir}"/*.py
done
-----------------------------------------------------------------------
Summary of changes:
tests/test_doctest.sh | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
nss-pam-ldapd
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd branch master updated. 0.9.6-27-g281b0ec,
Commits of the nss-pam-ldapd project