aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2016-07-26 14:24:44 -0400
committerGreg Hudson <ghudson@mit.edu>2016-07-28 11:53:44 -0400
commitf1cc7a37a622a148e77f5df959079a233cddd117 (patch)
tree412701d99e7a0892389dbc95727340362fbc67f2
parent035a1c2b3d97479692edac9844eaed385d00cd4f (diff)
downloadkrb5-f1cc7a37a622a148e77f5df959079a233cddd117.zip
krb5-f1cc7a37a622a148e77f5df959079a233cddd117.tar.gz
krb5-f1cc7a37a622a148e77f5df959079a233cddd117.tar.bz2
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.
-rw-r--r--src/Makefile.in6
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.