From: Greg Hudson Date: Tue, 26 Jul 2016 18:24:44 +0000 (-0400) Subject: Add skiptests notification for Python scripts X-Git-Tag: krb5-1.15-beta1~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F495%2Fhead;p=thirdparty%2Fkrb5.git 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. --- diff --git a/src/Makefile.in b/src/Makefile.in index 08c05d3c35..b5622e19c0 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.