* pre.in: added support for KADM5 unit test system; could
authorBarry Jaspan <bjaspan@mit.edu>
Fri, 20 Sep 1996 20:58:52 +0000 (20:58 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Fri, 20 Sep 1996 20:58:52 +0000 (20:58 +0000)
stand some cleaning

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9099 dc483132-0cff-0310-8789-dd5450dbe970

src/config/ChangeLog
src/config/pre.in

index fec5211fd5837fd96e61dc80b7011591f109ebc1..7cb5962b50564120cebc40843ff93a333e278a79 100644 (file)
@@ -1,3 +1,8 @@
+Fri Sep 20 16:58:08 1996  Barry Jaspan  <bjaspan@mit.edu>
+
+       * pre.in: added support for KADM5 unit test system; could
+       stand some cleaning
+
 Tue Jul  9 15:02:00 1996  Marc Horowitz  <marc@mit.edu>
 
        * pre.in (SRVLIBS, SRVDEPLIBS, CLNTLIBS, CLNTDEPLIBS): added for
index 78d94e17aef2a2097d5a22b55d04b77f9e23902b..c5c1af25e83d23f3e601fa06e0413df02b5b54be 100644 (file)
@@ -69,6 +69,38 @@ KRB5_INCSUBDIRS = \
        $(KRB5_INCDIR)/asn.1 \
        $(KRB5_INCDIR)/gssapi
 
+#
+# Macros used by the KADM5 (OV-based) unit test system.
+# XXX check which of these are actually used!
+#
+TESTDIR                = $(BUILDTOP)/kadmin/testing
+COMPARE_DUMP   = $(TESTDIR)/scripts/compare_dump.pl
+FIX_CONF_FILES = $(TESTDIR)/scripts/fixup-conf-files.pl
+INITDB         = $(TESTDIR)/scripts/init_db
+MAKE_KEYTAB    = $(TESTDIR)/scripts/make-host-keytab.pl
+LOCAL_MAKE_KEYTAB= $(TESTDIR)/scripts/make-host-keytab.pl
+RESTORE_FILES  = $(TESTDIR)/scripts/restore_files.sh
+SAVE_FILES     = $(TESTDIR)/scripts/save_files.sh
+ENV_SETUP      = TOP=$(BUILDTOP)/kadmin $(TESTDIR)/scripts/env-setup.sh
+CLNTTCL                = $(TESTDIR)/util/ovsec_kadm_clnt_tcl
+SRVTCL         = $(TESTDIR)/util/ovsec_kadm_srv_tcl
+# Dejagnu variables.
+# We have to set the host with --host so that setup_xfail will work.
+# If we don't set it, then the host type used is "native", which
+# doesn't match "*-*-*".
+DEJAFLAGS      := $(DEJALFLAGS) $(CLFLAGS) --debug --host \
+                  unknown-$(shell uname -m)-$(shell uname -s)$(shell uname -r)
+RUNTEST                = runtest $(DEJAFLAGS)
+
+START_SERVERS  = $(TESTDIR)/scripts/start_servers $(TEST_SERVER)
+START_SERVERS_LOCAL = $(TESTDIR)/scripts/start_servers_local
+
+STOP_SERVERS   = $(TESTDIR)/scripts/stop_servers $(TEST_SERVER)
+STOP_SERVERS_LOCAL = $(TESTDIR)/scripts/stop_servers_local
+#
+# End of macros for the KADM5 unit test system.
+#
+
 transform = @program_transform_name@
 
 RM = rm -f