Added new test that combines asn1_der_decoding_startEnd() with asn1_der_coding().
[platform/upstream/libtasn1.git] / tests / Makefile.am
index c3f65cd..1dc9a98 100644 (file)
@@ -1,6 +1,5 @@
 ## Process this file with automake to produce Makefile.in
-# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-# Free Software Foundation, Inc.
+# Copyright (C) 2002-2014 Free Software Foundation, Inc.
 #
 # This file is part of LIBTASN1.
 #
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAG_VISIBILITY)
 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I../gl
 
 AM_LDFLAGS = -no-install
 LDADD = ../lib/libtasn1.la ../gl/libgnu.la
 
 EXTRA_DIST = Test_parser.asn Test_tree.asn Test_tree_asn1_tab.c        \
-       Test_encoding.asn pkix.asn TestIndef.p12
+       Test_encoding.asn pkix.asn TestIndef.p12 choice.asn coding-decoding2.asn
 
 # For crlf.
-EXTRA_DIST += crlf.cer
-dist_check_SCRIPTS = crlf
+EXTRA_DIST += crlf.cer crl.der
+dist_check_SCRIPTS = crlf benchmark
 
 dist_check_SCRIPTS += threadsafety
 
 MOSTLYCLEANFILES = Test_parser_ERROR.asn
 
-check_PROGRAMS = Test_parser Test_tree Test_encoding Test_indefinite   \
-       Test_errors
+check_PROGRAMS = Test_parser Test_tree Test_encoding Test_indefinite \
+       Test_errors Test_simple Test_overflow Test_strings Test_choice \
+       Test_encdec copynode coding-decoding2
 
 TESTS = Test_parser Test_tree Test_encoding Test_indefinite    \
-       Test_errors crlf threadsafety
+       Test_errors Test_simple Test_overflow crlf threadsafety \
+       Test_strings Test_choice Test_encdec copynode coding-decoding2
 
 TESTS_ENVIRONMENT = \
        ASN1PARSER=$(srcdir)/Test_parser.asn \
        ASN1TREE=$(srcdir)/Test_tree.asn \
+       ASN1CHOICE=$(srcdir)/choice.asn \
+       ASN1CODINGDECODING2=$(srcdir)/codingdecoding2.asn \
        ASN1PKIX=$(srcdir)/pkix.asn \
-       ASN1PKIX=$(srcdir)/pkix.asn \
+       ASN1CRLDER=$(srcdir)/crl.der \
        ASN1INDEF=$(srcdir)/TestIndef.p12 \
        ASN1ENCODING=$(srcdir)/Test_encoding.asn \
        THREADSAFETY_FILES=`find $(top_srcdir)/lib -name \*.c` \