RSS feed

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

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 -----------------------------------------------------------------

commit 281b0ecb4dc57b3188c36adfa6eda74cf3ff5796
Author: Arthur de Jong <>
Date:   Sat Jun 4 22:39:26 2016 +0200

    Ensure doctest also run in distcheck
    This fixes to also work when the build directory is
    different from the source directory. This is needed because
    is only available in the build directory.

diff --git a/tests/ b/tests/
index eb2613d..ed51141 100755
--- a/tests/
+++ b/tests/
@@ -23,7 +23,9 @@ set -e
 # find source directory
 srcdir="${srcdir-`dirname "$0"`}"
+builddir="${builddir-`dirname "$0"`}"
 # if Python is missing, ignore
@@ -34,8 +36,8 @@ then
 # run doctests
-for dir in "$top_srcdir"/pynslcd "$top_srcdir"/utils
+for dir in pynslcd utils
-  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 


Summary of changes:
 tests/ | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

To unsubscribe send an email to or see