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