xref: /freebsd/contrib/expat/tests/Makefile.am (revision ffd294a1f4c23863c3e515d16dce31d5509bcb01)
10a48773fSEric van Gyzen#
20a48773fSEric van Gyzen#                          __  __            _
30a48773fSEric van Gyzen#                       ___\ \/ /_ __   __ _| |_
40a48773fSEric van Gyzen#                      / _ \\  /| '_ \ / _` | __|
50a48773fSEric van Gyzen#                     |  __//  \| |_) | (_| | |_
60a48773fSEric van Gyzen#                      \___/_/\_\ .__/ \__,_|\__|
70a48773fSEric van Gyzen#                               |_| XML parser
80a48773fSEric van Gyzen#
9*ffd294a1SEnji Cooper# Copyright (c) 2017-2024 Sebastian Pipping <sebastian@pipping.org>
104543ef51SXin LI# Copyright (c) 2017-2022 Rhodri James <rhodri@wildebeest.org.uk>
11cc68614dSXin LI# Copyright (c) 2020      Jeffrey Walton <noloader@gmail.com>
12*ffd294a1SEnji Cooper# Copyright (c) 2024      Dag-Erling Smørgrav <des@des.dev>
130a48773fSEric van Gyzen# Licensed under the MIT license:
140a48773fSEric van Gyzen#
150a48773fSEric van Gyzen# Permission is  hereby granted,  free of charge,  to any  person obtaining
160a48773fSEric van Gyzen# a  copy  of  this  software   and  associated  documentation  files  (the
170a48773fSEric van Gyzen# "Software"),  to  deal in  the  Software  without restriction,  including
180a48773fSEric van Gyzen# without  limitation the  rights  to use,  copy,  modify, merge,  publish,
190a48773fSEric van Gyzen# distribute, sublicense, and/or sell copies of the Software, and to permit
200a48773fSEric van Gyzen# persons  to whom  the Software  is  furnished to  do so,  subject to  the
210a48773fSEric van Gyzen# following conditions:
220a48773fSEric van Gyzen#
230a48773fSEric van Gyzen# The above copyright  notice and this permission notice  shall be included
240a48773fSEric van Gyzen# in all copies or substantial portions of the Software.
250a48773fSEric van Gyzen#
260a48773fSEric van Gyzen# THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY  OF  ANY  KIND,
270a48773fSEric van Gyzen# EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT LIMITED  TO  THE WARRANTIES  OF
280a48773fSEric van Gyzen# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
290a48773fSEric van Gyzen# NO EVENT SHALL THE AUTHORS OR  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
300a48773fSEric van Gyzen# DAMAGES OR  OTHER LIABILITY, WHETHER  IN AN  ACTION OF CONTRACT,  TORT OR
310a48773fSEric van Gyzen# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
320a48773fSEric van Gyzen# USE OR OTHER DEALINGS IN THE SOFTWARE.
330a48773fSEric van Gyzen
340a48773fSEric van GyzenSUBDIRS = . benchmark
350a48773fSEric van Gyzen
36*ffd294a1SEnji CooperAM_CPPFLAGS = @AM_CPPFLAGS@ -I$(srcdir)/../lib -DXML_TESTING
370a48773fSEric van Gyzen
384543ef51SXin LIcheck_PROGRAMS = runtests runtests_cxx
394543ef51SXin LITESTS = runtests runtests_cxx
400a48773fSEric van Gyzen
410a48773fSEric van Gyzen# To support MinGW and Non-MinGW at the same time:
420a48773fSEric van GyzenLOG_DRIVER = $(srcdir)/../test-driver-wrapper.sh
430a48773fSEric van Gyzen
440a48773fSEric van Gyzenruntests_SOURCES = \
454543ef51SXin LI    acc_tests.c \
464543ef51SXin LI    alloc_tests.c \
474543ef51SXin LI    basic_tests.c \
484543ef51SXin LI    chardata.c \
494543ef51SXin LI    common.c \
504543ef51SXin LI    dummy.c \
514543ef51SXin LI    handlers.c \
524543ef51SXin LI    memcheck.c \
534543ef51SXin LI    minicheck.c \
544543ef51SXin LI    misc_tests.c \
554543ef51SXin LI    ns_tests.c \
564543ef51SXin LI    nsalloc_tests.c \
574543ef51SXin LI    runtests.c \
584543ef51SXin LI    structdata.c
590a48773fSEric van Gyzen
604543ef51SXin LIruntests_cxx_SOURCES = \
614543ef51SXin LI    acc_tests_cxx.cpp \
624543ef51SXin LI    alloc_tests_cxx.cpp \
634543ef51SXin LI    basic_tests_cxx.cpp \
644543ef51SXin LI    chardata_cxx.cpp \
654543ef51SXin LI    common_cxx.cpp \
664543ef51SXin LI    dummy_cxx.cpp \
674543ef51SXin LI    handlers_cxx.cpp \
684543ef51SXin LI    memcheck_cxx.cpp \
694543ef51SXin LI    minicheck_cxx.cpp \
704543ef51SXin LI    misc_tests_cxx.cpp \
714543ef51SXin LI    nsalloc_tests_cxx.cpp \
724543ef51SXin LI    ns_tests_cxx.cpp \
734543ef51SXin LI    runtests_cxx.cpp \
744543ef51SXin LI    structdata_cxx.cpp
750a48773fSEric van Gyzen
76*ffd294a1SEnji Cooperruntests_LDADD = ../lib/libtestpat.la
77*ffd294a1SEnji Cooperruntests_cxx_LDADD = ../lib/libtestpat.la
78cc68614dSXin LI
79cc68614dSXin LIruntests_LDFLAGS = @AM_LDFLAGS@ @LIBM@
804543ef51SXin LIruntests_cxx_LDFLAGS = @AM_LDFLAGS@ @LIBM@
810a48773fSEric van Gyzen
820a48773fSEric van GyzenEXTRA_DIST = \
834543ef51SXin LI    acc_tests.h \
844543ef51SXin LI    alloc_tests.h \
854543ef51SXin LI    basic_tests.h \
860a48773fSEric van Gyzen    chardata.h \
874543ef51SXin LI    common.h \
884543ef51SXin LI    dummy.h \
894543ef51SXin LI    handlers.h \
904543ef51SXin LI    misc_tests.h \
914543ef51SXin LI    ns_tests.h \
924543ef51SXin LI    nsalloc_tests.h \
930a48773fSEric van Gyzen    structdata.h \
940a48773fSEric van Gyzen    minicheck.h \
950a48773fSEric van Gyzen    memcheck.h \
96*ffd294a1SEnji Cooper    README.md \
970a48773fSEric van Gyzen    udiffer.py \
980a48773fSEric van Gyzen    xmltest.log.expected \
990a48773fSEric van Gyzen    xmltest.sh
100