1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
# Copyright (C) 2001-2021 Lutz Mueller <lutz@users.sourceforge.net>, et. al.
# SPDX-License-Identifier: LGPL-2.0-or-later
SUBDIRS = nls
# By default, a few definitions like bindir, srcdir are already set.
AM_TESTS_ENVIRONMENT =
# Run all tests without i18n and l10n for proper comparisons
AM_TESTS_ENVIRONMENT += LC_ALL='C'; export LC_ALL;
# Some AC_SUBST variables needed in test case scripts
AM_TESTS_ENVIRONMENT += DIFF='$(DIFF)'; export DIFF;
AM_TESTS_ENVIRONMENT += DIFF_U='$(DIFF_U)'; export DIFF_U;
AM_TESTS_ENVIRONMENT += EXEEXT='$(EXEEXT)'; export EXEEXT;
AM_TESTS_ENVIRONMENT += FAILMALLOC_PATH='$(FAILMALLOC_PATH)'; export FAILMALLOC_PATH;
# Notes about tests:
# - Add "small" tests and stuff here.
# - Add "big" tests and stuff to explicitly test for (fixed) bugs
# to libexif-testsuite:
# * We don't want to force people to download dozens of big test images
# just for one small library. The ones included here are carefully chosen
# as a basic self-contained regression test set.
# * Proper testing is done with the "exif" program in libexif-testsuite.
# And this is just the lib - we don't have the program available
# here yet.
TESTS = test-mem test-value test-integers test-parse test-parse-from-data test-tagtable test-sorted \
test-fuzzer test-null test-gps parse-regression.sh swap-byte-order.sh \
extract-parse.sh check-mnote.sh
TESTS += check-failmalloc.sh
check_PROGRAMS = test-mem test-mnote test-value test-integers test-parse test-parse-from-data \
test-tagtable test-sorted test-fuzzer test-extract test-null test-gps
LDADD = $(top_builddir)/libexif/libexif.la $(LTLIBINTL)
EXTRA_DIST = \
test-fuzzer-persistent.c \
parse-regression.sh \
swap-byte-order.sh \
extract-parse.sh \
check-mnote.sh \
check-failmalloc.sh \
testdata/canon_makernote_variant_1.jpg \
testdata/canon_makernote_variant_1.jpg.parsed \
testdata/fuji_makernote_variant_1.jpg \
testdata/fuji_makernote_variant_1.jpg.parsed \
testdata/olympus_makernote_variant_2.jpg \
testdata/olympus_makernote_variant_2.jpg.parsed \
testdata/olympus_makernote_variant_3.jpg \
testdata/olympus_makernote_variant_3.jpg.parsed \
testdata/olympus_makernote_variant_4.jpg \
testdata/olympus_makernote_variant_4.jpg.parsed \
testdata/olympus_makernote_variant_5.jpg \
testdata/olympus_makernote_variant_5.jpg.parsed \
testdata/pentax_makernote_variant_2.jpg \
testdata/pentax_makernote_variant_2.jpg.parsed \
testdata/pentax_makernote_variant_3.jpg \
testdata/pentax_makernote_variant_3.jpg.parsed \
testdata/pentax_makernote_variant_4.jpg \
testdata/pentax_makernote_variant_4.jpg.parsed
EXTRA_DIST += inc-comparetool.sh
|