Added libexpect check for functional tests

This commit is contained in:
James Booth
2015-07-20 23:28:23 +01:00
parent d40998c4af
commit c5a04de9fb
2 changed files with 6 additions and 1 deletions

View File

@@ -162,12 +162,14 @@ tests_unittests_unittests_CFLAGS = -w
tests_unittests_unittests_LDADD = -lcmocka
if HAVE_STABBER
if HAVE_EXPECT
TESTS += tests/functionaltests/functionaltests
check_PROGRAMS += tests/functionaltests/functionaltests
tests_functionaltests_functionaltests_SOURCES = $(functionaltest_sources)
tests_functionaltests_functionaltests_CFLAGS = -I/usr/include/tcl8.6 -I/usr/include/tcl8.5
tests_functionaltests_functionaltests_LDADD = -lcmocka -lstabber -lexpect -ltcl
endif
endif
man_MANS = $(man_sources)