mirror of
https://github.com/openharmony/third_party_libexif.git
synced 2026-08-27 05:51:18 -04:00
4a9402248a
Signed-off-by: duanhan <duanhan1@huawei.com>
67 lines
2.6 KiB
Makefile
67 lines
2.6 KiB
Makefile
# 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
|