xref: /freebsd/contrib/expat/tests/Makefile.am (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
1#
2#                          __  __            _
3#                       ___\ \/ /_ __   __ _| |_
4#                      / _ \\  /| '_ \ / _` | __|
5#                     |  __//  \| |_) | (_| | |_
6#                      \___/_/\_\ .__/ \__,_|\__|
7#                               |_| XML parser
8#
9# Copyright (c) 2017-2024 Sebastian Pipping <sebastian@pipping.org>
10# Copyright (c) 2017-2022 Rhodri James <rhodri@wildebeest.org.uk>
11# Copyright (c) 2020      Jeffrey Walton <noloader@gmail.com>
12# Copyright (c) 2024      Dag-Erling Smørgrav <des@des.dev>
13# Licensed under the MIT license:
14#
15# Permission is  hereby granted,  free of charge,  to any  person obtaining
16# a  copy  of  this  software   and  associated  documentation  files  (the
17# "Software"),  to  deal in  the  Software  without restriction,  including
18# without  limitation the  rights  to use,  copy,  modify, merge,  publish,
19# distribute, sublicense, and/or sell copies of the Software, and to permit
20# persons  to whom  the Software  is  furnished to  do so,  subject to  the
21# following conditions:
22#
23# The above copyright  notice and this permission notice  shall be included
24# in all copies or substantial portions of the Software.
25#
26# THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY  OF  ANY  KIND,
27# EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT LIMITED  TO  THE WARRANTIES  OF
28# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
29# NO EVENT SHALL THE AUTHORS OR  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
30# DAMAGES OR  OTHER LIABILITY, WHETHER  IN AN  ACTION OF CONTRACT,  TORT OR
31# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
32# USE OR OTHER DEALINGS IN THE SOFTWARE.
33
34SUBDIRS = . benchmark
35
36AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(srcdir)/../lib -DXML_TESTING
37
38check_PROGRAMS = runtests runtests_cxx
39TESTS = runtests runtests_cxx
40
41# To support MinGW and Non-MinGW at the same time:
42LOG_DRIVER = $(srcdir)/../test-driver-wrapper.sh
43
44runtests_SOURCES = \
45    acc_tests.c \
46    alloc_tests.c \
47    basic_tests.c \
48    chardata.c \
49    common.c \
50    dummy.c \
51    handlers.c \
52    memcheck.c \
53    minicheck.c \
54    misc_tests.c \
55    ns_tests.c \
56    nsalloc_tests.c \
57    runtests.c \
58    structdata.c
59
60runtests_cxx_SOURCES = \
61    acc_tests_cxx.cpp \
62    alloc_tests_cxx.cpp \
63    basic_tests_cxx.cpp \
64    chardata_cxx.cpp \
65    common_cxx.cpp \
66    dummy_cxx.cpp \
67    handlers_cxx.cpp \
68    memcheck_cxx.cpp \
69    minicheck_cxx.cpp \
70    misc_tests_cxx.cpp \
71    nsalloc_tests_cxx.cpp \
72    ns_tests_cxx.cpp \
73    runtests_cxx.cpp \
74    structdata_cxx.cpp
75
76runtests_LDADD = ../lib/libtestpat.la
77runtests_cxx_LDADD = ../lib/libtestpat.la
78
79runtests_LDFLAGS = @AM_LDFLAGS@ @LIBM@
80runtests_cxx_LDFLAGS = @AM_LDFLAGS@ @LIBM@
81
82EXTRA_DIST = \
83    acc_tests.h \
84    alloc_tests.h \
85    basic_tests.h \
86    chardata.h \
87    common.h \
88    dummy.h \
89    handlers.h \
90    misc_tests.h \
91    ns_tests.h \
92    nsalloc_tests.h \
93    structdata.h \
94    minicheck.h \
95    memcheck.h \
96    README.md \
97    udiffer.py \
98    xmltest.log.expected \
99    xmltest.sh
100