shithub: jbig2

Download patch

ref: 1e2d6eade5dd4755e15db66e539256aa407b6d08
parent: 7fa4382f2f5cac1f1471617a23c9d1affa994e18
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Mon May 2 21:10:27 EDT 2005

Re enable the huffman and arithmetic coder unit tests.


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@402 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/Makefile.am
+++ b/Makefile.am
@@ -21,8 +21,7 @@
 	jbig2_metadata.c jbig2_metadata.h
 
 bin_PROGRAMS = jbig2dec
-#noinst_PROGRAMS = test_huffman test_arith
-noinst_PROGRAMS = test_sha1
+noinst_PROGRAMS = test_sha1 test_huffman test_arith
 
 jbig2dec_SOURCES = jbig2dec.c sha1.c sha1.h \
 	jbig2.h jbig2_image.h getopt.h \
@@ -29,11 +28,18 @@
 	os_types.h config_types.h config_win32.h
 jbig2dec_LDADD = libjbig2dec.a @LIBOBJS@
 
+EXTRA_DIST = test_jbig2dec.py msvc.mak LICENSE CHANGES
+
+MAINTAINERCLEANFILES = config_types.h.in
+
+TESTS = test_sha1 test_jbig2dec.py test_huffman test_arith
+
 test_sha1_SOURCES = sha1.c sha1.h
 test_sha1_CFLAGS = -DTEST
 
-TESTS = test_sha1 test_jbig2dec.py
+test_arith_SOURCES = sha1.c sha1.h
+test_arith_CFLAGS = -DTEST
 
-EXTRA_DIST = test_jbig2dec.py msvc.mak LICENSE CHANGES
+test_huffman_SOURCES = sha1.c sha1.h
+test_huffman_CFLAGS = -DTEST
 
-MAINTAINERCLEANFILES = config_types.h.in