Makefile.am
1.7 KB
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
harness_TESTS = \
da-dk-g16-dictionary_harness.txt \
da-dk-g18-dictionary_harness.txt \
da-dk-g26-dictionary_harness.txt \
da-dk-g28-dictionary_harness.txt \
en-GB-g2_harness.txt \
en-gb-g1_harness.txt \
en-ueb-g2-dictionary_harness.txt \
en-us-g2-dictionary_harness.txt \
ethio-g1_harness.txt \
ga-g1_harness.txt \
ga-g2_harness.txt \
fi_harness.txt \
hu-hu-comp8_harness.txt \
hu-hu-g1-hyph_harness.txt \
hu-hu-g1_harness.txt \
iu-ca-g1_harness.txt \
ko-g2_harness.txt \
letterDefTest_harness.txt \
nocross_harness.txt \
ta-ta-g1_harness.txt \
chr-us-g1_harness.txt \
nl-BE-g1_harness.txt \
en-us-g2-end-emphasis_harness.txt \
pl-pl-comp8_harness.txt \
fr-bfu-g2_harness.txt \
en-ueb-g1_harness.txt \
hr-8dots_harness.txt \
sr-g1_harness.txt \
no_harness.txt \
no_harness_g1.txt \
no_harness_g2.txt \
no_harness_8dot.txt
EXTRA_DIST = $(harness_TESTS) \
runHarness.py
HARNESS_DIR = $(top_srcdir)/tests/harness
harness_ENVIRONMENT = \
HARNESS_DIR=$(HARNESS_DIR) \
LOUIS_TABLEPATH=$(top_srcdir)/tables,$(top_srcdir)/tests/tables,$(top_srcdir)/tests/tables/moreTables \
PYTHONPATH=$(HARNESS_DIR):$(top_builddir)/python:$$PYTHONPATH \
LD_LIBRARY_PATH=$(top_builddir)/liblouis/.libs:$$LD_LIBRARY_PATH \
PATH=$(top_builddir)/tools:$$PATH
if HAVE_PYTHON
if HAVE_UCS4
runall runAll:
@$(harness_ENVIRONMENT) $(HARNESS_DIR)/runHarness.py
$(harness_TESTS):
@$(harness_ENVIRONMENT) $(HARNESS_DIR)/runHarness.py $@
else
runall runAll:
@echo Please configure with --enable-ucs4
endif
else
runall runAll:
@echo Python is required to run the harness tests.
endif
check:
@true
.PHONY: runall runAll $(harness_TESTS)