Make tests working while compiling the package
Willi Mann
10 years ago
0 | From: Willi Mann <willi@wm1.at> | |
1 | Date: Tue, 25 Dec 2012 19:13:26 +0100 | |
2 | Subject: Tell unrtf where to look for output format config files while | |
3 | running tests | |
4 | ||
5 | --- | |
6 | tests/Makefile.am | 2 +- | |
7 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
8 | ||
9 | diff --git a/tests/Makefile.am b/tests/Makefile.am | |
10 | index e0dd83b..01a374c 100644 | |
11 | --- a/tests/Makefile.am | |
12 | +++ b/tests/Makefile.am | |
13 | @@ -61,7 +61,7 @@ CLEANFILES = $(testresults_html) $(testresults_tex) | |
14 | # add the test scripts and the test data to the distributed files | |
15 | EXTRA_DIST = $(TESTS) $(testdata) | |
16 | ||
17 | -TESTS_ENVIRONMENT = UNRTF=$(top_builddir)/src/unrtf | |
18 | +TESTS_ENVIRONMENT = UNRTF=$(top_builddir)/src/unrtf UNRTF_SEARCH_PATH=$(top_builddir)/tests/ | |
19 | ||
20 | # ensure that the distributed scripts are executable before distribution. | |
21 | # Could be necessary if checking out CVS. |