From 6f94c4bae21f6b3d6d49a1ab053c484d8d84b602 Mon Sep 17 00:00:00 2001 From: "jabber.developer2" Date: Mon, 15 Dec 2025 15:53:48 +0300 Subject: [PATCH] fix(tests): Include functional tests regardless of the availability of libstabber and libexpect. --- Makefile.am | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index d9934762..bfedc42a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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)