Add Test_encoding.
authorSimon Josefsson <simon@josefsson.org>
Wed, 10 May 2006 09:14:50 +0000 (09:14 +0000)
committerSimon Josefsson <simon@josefsson.org>
Wed, 10 May 2006 09:14:50 +0000 (09:14 +0000)
Simplify.

tests/Makefile.am

index 34ed44f..268ffad 100644 (file)
 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`