Add a "make check" case which runs the test programs
authorTheodore Tso <tytso@mit.edu>
Fri, 7 Oct 1994 05:06:14 +0000 (05:06 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 7 Oct 1994 05:06:14 +0000 (05:06 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4476 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/asn.1/ChangeLog
src/tests/asn.1/Makefile.in

index 00145d7e1006593c01ce17a980915acf3f71aafa..e2671fce54f105c16d77109dbd4df9c153b9cae5 100644 (file)
@@ -1,3 +1,7 @@
+Thu Oct  6 21:42:27 1994  Theodore Y. Ts'o  (tytso@dcl)
+
+       * Makefile.in: Add "make check" test case which runs the test programs.
+
 Tue Oct  4 14:32:39 1994  Theodore Y. Ts'o  (tytso@dcl)
 
        * krb5_decode_test.c (setup, decode_run):
index 6d161562904ac6b08645795281dc87cdf7e4c8a0..c62f7bed1c23c21adfce9d58b41f54c4f28d1811 100644 (file)
@@ -22,6 +22,12 @@ DECOBJS = krb5_decode_test.o ktest.o ktest_equal.o utility.o
 krb5_decode_test: $(DECOBJS) $(DEPKLIB)
        $(CC) $(CFLAGS) -o krb5_decode_test $(DECOBJS) $(LIBS) $(KLIB)
 
+check::
+       ./krb5_decode_test
+       $(RM) test.out
+       ./krb5_encode_test > test.out
+       cmp test.out $(srcdir)/reference_encode.out
+
 install::
 
 clean::