[29525] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Add skiptests notification for Python scripts

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Jul 28 12:38:13 2016

Date: Thu, 28 Jul 2016 12:38:09 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201607281638.u6SGc9tE001373@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/f1cc7a37a622a148e77f5df959079a233cddd117
commit f1cc7a37a622a148e77f5df959079a233cddd117
Author: Greg Hudson <ghudson@mit.edu>
Date:   Tue Jul 26 14:24:44 2016 -0400

    Add skiptests notification for Python scripts
    
    If Python 2.5 or later is not found, add a notice to the skiptests
    file to alert the user that Python test scripts were skipped.
    
    Move the "cat $(SKIPTESTS)" command from check-postrecurse to
    check-unix so that it executes after check-pytests-yes or
    check-pytests-no.

 src/Makefile.in |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index 08c05d3..b5622e1 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -543,9 +543,13 @@ check-prerecurse: runenv.py
 	$(RM) $(SKIPTESTS)
 	touch $(SKIPTESTS)
 
-check-postrecurse:
+check-unix:
 	cat $(SKIPTESTS)
 
+check-pytests-no: check-postrecurse
+	@echo 'Skipped python test scripts: python 2.5 or later required' >> \
+		$(SKIPTESTS)
+
 # Create a test realm and spawn a shell in an environment pointing to it.
 # If CROSSNUM is set, create that many fully connected test realms and
 # point the shell at the first one.
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post