fix/functional_tests #63

Closed
jabber.developer2 wants to merge 33 commits from fix/functional_tests into master
19 changed files with 314 additions and 220 deletions
Showing only changes of commit 6f94c4bae2 - Show all commits

View File

@@ -296,8 +296,7 @@ tests_unittests_unittests_LDADD = -lcmocka
# https://github.com/profanity-im/stabber/issues/5
#
# Note: Debian/Ubuntu's libexpect requires -ltcl8.6 for linkage.
if HAVE_STABBER
if HAVE_EXPECT
TESTS += tests/functionaltests/functionaltests
check_PROGRAMS += tests/functionaltests/functionaltests
tests_functionaltests_functionaltests_SOURCES = $(functionaltest_sources)
@@ -305,8 +304,7 @@ tests_functionaltests_functionaltests_CPPFLAGS = -Itests/ -I$(top_srcdir)/extern
tests_functionaltests_functionaltests_CFLAGS = $(AM_CFLAGS) -I/usr/include/tcl8.6 -I/usr/include/tcl8.5 -I$(top_srcdir)/external/stabber
tests_functionaltests_functionaltests_LDFLAGS = -L$(top_srcdir)/external/stabber/.libs -Wl,-rpath,$(top_srcdir)/external/stabber/.libs
tests_functionaltests_functionaltests_LDADD = -lcmocka -lstabber -lexpect -ltcl8.6
endif
endif
man1_MANS = $(man1_sources)