diff options
author | James Booth <boothj5@gmail.com> | 2015-07-03 15:14:34 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-07-03 15:14:34 +0100 |
commit | 252c7c2e065e141dc9c44d76a2c4d4b9b2f488ca (patch) | |
tree | 88427d56892afa11355e3143a20f6ab19bdc78ab /Makefile.am | |
parent | b98e119c86f4a12d451221a8925f1ed451103f21 (diff) | |
download | profani-tty-252c7c2e065e141dc9c44d76a2c4d4b9b2f488ca.tar.gz |
Only run functional tests when libstabber available
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index bcae2923..6a6e9217 100644 --- a/Makefile.am +++ b/Makefile.am @@ -153,14 +153,19 @@ if INCLUDE_GIT_VERSION BUILT_SOURCES = $(git_include) endif -TESTS = tests/unittests/unittests tests/functionaltests/functionaltests -check_PROGRAMS = tests/unittests/unittests tests/functionaltests/functionaltests +TESTS = tests/unittests/unittests +check_PROGRAMS = tests/unittests/unittests tests_unittests_unittests_SOURCES = $(unittest_sources) tests_unittests_unittests_CFLAGS = -w tests_unittests_unittests_LDADD = -lcmocka + +if HAVE_STABBER +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 man_MANS = $(man_sources) |