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