blob: 834152067afe8dfa365af16d483ae90f557371c5 (
plain)
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
|
AM_CPPFLAGS = -I$(top_srcdir)/src $(ENCHANT_CFLAGS)
AM_TESTS_ENVIRONMENT = \
ENCHANT_PREFIX_DIR=""; \
export ENCHANT_PREFIX_DIR; \
ENCHANT_CONFIG_DIR="config"; \
export ENCHANT_CONFIG_DIR; \
rm -f test.pwl lib; \
mkdir -p lib/enchant; \
cp $(top_builddir)/providers/@objdir@/*@shlibext@ lib/enchant || :;
cp $(srcdir)/test.pwl.orig $(builddir)/test.pwl; \
chmod +w $(builddir)/test.pwl;
DISTCLEANFILES = test.pwl lib/enchant/*@shlibext@ config/*
EXTRA_DIST = test.pwl.orig
LDADD = $(top_builddir)/src/libenchant.la $(ENCHANT_LIBS)
check_PROGRAMS = enchant.test enchantxx.test
enchant_test_SOURCES = enchant.test.c
enchantxx_test_SOURCES = enchantxx.test.cpp
TESTS = $(check_PROGRAMS)
# Enforce serial running of tests, so they don't contend for test.pwl
enchantxx.log: enchant.log
|