Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / liblouis / src / tests / harness / Makefile.am
1 harness_TESTS =                                 \
2         da-dk-g16-dictionary_harness.txt        \
3         da-dk-g18-dictionary_harness.txt        \
4         da-dk-g26-dictionary_harness.txt        \
5         da-dk-g28-dictionary_harness.txt        \
6         en-GB-g2_harness.txt                    \
7         en-gb-g1_harness.txt                    \
8         en-ueb-g2-dictionary_harness.txt        \
9         en-us-g2-dictionary_harness.txt         \
10         ethio-g1_harness.txt                    \
11         hu-hu-comp8_harness.txt                 \
12         hu-hu-g1-hyph_harness.txt               \
13         hu-hu-g1_harness.txt                    \
14         iu-ca-g1_harness.txt                    \
15         ko-g2_harness.txt                       \
16         letterDefTest_harness.txt               \
17         nocross_harness.txt                     \
18         ta-ta-g1_harness.txt                    \
19         chr-us-g1_harness.txt
20
21 EXTRA_DIST = $(harness_TESTS)                   \
22              runHarness.py
23
24 HARNESS_DIR = $(top_srcdir)/tests/harness
25
26 harness_ENVIRONMENT =                                                                                           \
27         HARNESS_DIR=$(HARNESS_DIR)                                                                              \
28         LOUIS_TABLEPATH=$(top_srcdir)/tables,$(top_srcdir)/tests/tables,$(top_srcdir)/tests/tables/moreTables   \
29         PYTHONPATH=$(HARNESS_DIR):$(top_srcdir)/python:$$PYTHONPATH                                             \
30         LD_LIBRARY_PATH=$(top_srcdir)/liblouis/.libs:$$LD_LIBRARY_PATH                                          \
31         PATH=$(top_srcdir)/tools:$$PATH
32
33 if HAVE_PYTHON
34 if HAVE_UCS4
35 runall runAll:
36         @$(harness_ENVIRONMENT) ./runHarness.py
37
38 $(harness_TESTS):
39         @$(harness_ENVIRONMENT) ./runHarness.py $@
40 else
41 runall runAll:
42         @echo Please configure with --enable-ucs4
43 endif
44 else
45 runall runAll:
46         @echo Python is required to run the harness tests.
47 endif
48
49 check:
50         @true
51
52 .PHONY: runall runAll $(harness_TESTS)
53