INCLUDES = -I../lib
AM_LDFLAGS = -no-install
+LDADD = ../lib/libtasn1.la
-EXTRA_DIST = Test_parser.asn Test_tree.asn Test_tree_asn1_tab.c
+EXTRA_DIST = Test_parser.asn Test_tree.asn Test_tree_asn1_tab.c \
+ Test_encoding.asn
-TESTS = Test_parser Test_tree
+TESTS = Test_parser Test_tree Test_encoding
check_PROGRAMS = $(TESTS)
-Test_parser_SOURCES = Test_parser.c
-Test_parser_LDADD = ../lib/libtasn1.la
-
-Test_tree_SOURCES = Test_tree.c
-Test_tree_LDADD = ../lib/libtasn1.la
VALGRIND=valgrind --leak-check=full --leak-resolution=high \
--show-reachable=yes --num-callers=50
TESTS_ENVIRONMENT = \
ASN1PARSER=$(srcdir)/Test_parser.asn \
ASN1TREE=$(srcdir)/Test_tree.asn \
+ ASN1ENCODING=$(srcdir)/Test_encoding.asn \
`if type valgrind > /dev/null 2>&1; then echo $(VALGRIND); else echo $$SHELL -c; fi`