add wide test to Makefile.am

This commit is contained in:
Jez Higgins 2012-11-20 08:20:40 +00:00
parent bf8e7e314b
commit f837aa99e1

View file

@ -1,5 +1,8 @@
check_PROGRAMS = xslt_test
if HAS_STD_WSTRING
check_PROGRAMS += xslt_test_wide
endif
if WANT_TESTS
TESTS = $(check_PROGRAMS)
endif
@ -14,12 +17,15 @@ TESTLIBS = $(LIBARABICA) ../CppUnit/libcppunit.la
SYSLIBS = @PARSER_LIBS@
test_sources = scope_test.hpp \
xslt_test.hpp \
xslt_test.cpp
xslt_test.hpp
xslt_test_SOURCES = main.cpp \
$(test_sources)
xslt_test_LDADD = $(TESTLIBS) $(LIBELEPHANT) $(SYSLIBS)
xslt_test_DEPENDENCIES = $(TESTLIBS)
xslt_test_wide_SOURCES = main_wide.cpp \
$(test_sources)
xslt_test_wide_LDADD = $(TESTLIBS) $(LIBELEPHANT) $(SYSLIBS)
xslt_test_wide_DEPENDENCIES = $(TESTLIBS)