]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Add skiptests notification for Python scripts 495/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 26 Jul 2016 18:24:44 +0000 (14:24 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 28 Jul 2016 15:53:44 +0000 (11:53 -0400)
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

index 08c05d3c351e98139b2a5ca971ae41834cf78680..b5622e19c0583b924c7c42351266b39ce12529c0 100644 (file)
@@ -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.