copy windows\leash\htmlhelp\*.chm "$(KRB_INSTALL_DIR)\bin\."
check-prerecurse: runenv.py
+ $(RM) $(SKIPTESTS)
+ touch $(SKIPTESTS)
+
+check-postrecurse:
+ cat $(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
# Macros used by the KADM5 (OV-based) unit test system.
# XXX check which of these are actually used!
#
+SKIPTESTS = $(BUILDTOP)/skiptests
TESTDIR = $(BUILDTOP)/kadmin/testing
STESTDIR = $(top_srcdir)/kadmin/testing
ENV_SETUP = $(TESTDIR)/scripts/env-setup.sh
the operations tested; it will only be displayed (with leading
marker and trailing newline) if the script is running verbosely.
+* skipped(whatmsg, whymsg): Indicate that some tests were skipped.
+ whatmsg should concisely say what was skipped (e.g. "LDAP KDB
+ tests") and whymsg should give the reason (e.g. "because LDAP module
+ not built").
+
+* skip_rest(message): Indicate that some tests were skipped, then exit
+ the current script.
+
* output(message, force_verbose=False): Place message (without any
added newline) in testlog, and write it to stdout if running
verbosely.
_success = True
+def skipped(whatmsg, whymsg):
+ output('*** Skipping: %s: %s\n' % (whatmsg, whymsg), force_verbose=True)
+ f = open(os.path.join(buildtop, 'skiptests'), 'a')
+ f.write('Skipped %s: %s\n' % (whatmsg, whymsg))
+ f.close()
+
+
+def skip_rest(whatmsg, whymsg):
+ global _success
+ skipped(whatmsg, whymsg)
+ _success = True
+ sys.exit(0)
+
+
def output(msg, force_verbose=False):
"""Output a message to testlog, and to stdout if running verbosely."""
_outfile.write(msg)