Subject: [bug#56771] [PATCH 30/33] gnu: libjami: Enable test agent.

From: Maxim Cournoyer <[email-masked]>
Date: Mon, 25 Jul 2022 19:08:00 -0400

* gnu/packages/jami.scm (libjami)[configure-flags]: Add '--enable-agent' and
remove FIXME.
[tests?]: Update comment.
---
 gnu/packages/jami.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index 617b477193..44052b03c4 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -409,15 +409,17 @@ (define-public libjami
     (build-system gnu-build-system)
     (arguments
      (list
-      ;; The test suite fails to link when building libjami as a shared library:
-      ;; "testAccount_factory.cpp:(.text+0xc52): undefined reference to
-      ;; `jami::AccountFactory::AccountFactory()'.
+      ;; The test suite fails to link when building libjami as a shared
+      ;; library: "sip_account/sip_empty_offer.cpp:228:1: error: no
+      ;; declaration matches ‘void
+      ;; jami::test::SipEmptyOfferTest::onCallStateChange(const string&, const
+      ;; string&, jami::test::CallData&)’".
       #:tests? #f
       ;; The agent links the daemon binary with libguile, which enables the
       ;; execution of test plans described in Scheme.  It may be useful in
       ;; user scripts too, until more general purpose Scheme bindings are made
       ;; available (see: test/agent/README.md).
-      #:configure-flags #~(list "--disable-agent"
+      #:configure-flags #~(list "--enable-agent"
                                 "--enable-debug"
                                 ;; Disable static libraries to avoid
                                 ;; installing a 98 MiB archive.
-- 
2.36.1