From nobody Sat Nov 23 16:56:09 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 172367301169990.5928706094902; Wed, 14 Aug 2024 15:03:31 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id B20FE132D; Wed, 14 Aug 2024 18:03:30 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 0931B159C; Wed, 14 Aug 2024 17:43:41 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 6C5521400; Wed, 14 Aug 2024 17:43:36 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 3376B1396 for ; Wed, 14 Aug 2024 17:43:22 -0400 (EDT) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-220-l3ubH1ESOj-FBGsLTe0UcA-1; Wed, 14 Aug 2024 17:43:20 -0400 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 731861955F4A for ; Wed, 14 Aug 2024 21:43:19 +0000 (UTC) Received: from hjs.brq.redhat.com (unknown [10.43.3.187]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id C247C196BE80 for ; Wed, 14 Aug 2024 21:43:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1723671801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ny4KFlsOacTq0CzciNVedm8lkr1nK8v1rHm8RPPT8p0=; b=KIkrNZUByBqclImSZ9TDtJe6yvr7Z2GHjIO7QTDtsdrmuEpfFwuRiabiyCMy+kCSyuwrqe Dwyo04uvh2esHmNQj5i0eA6axuoPhBLZWWkq0uPHLy1YTomFesJnHyTro35kNqE9hJlx4p yYm6YDW0CTucWtOKljVcHsXSXRiJhXU= X-MC-Unique: l3ubH1ESOj-FBGsLTe0UcA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: devel@lists.libvirt.org Subject: [libvirt PATCH 12/20] tests: depend on WITH_JSON_C instead of WITH_YAJL Date: Wed, 14 Aug 2024 23:40:27 +0200 Message-ID: <3fa130065ce33511c16e493554bedb60de8ed25c.1723671635.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: XSZKFTVF7WWSVDXN6ZYEJZHENWIS3JBZ X-Message-ID-Hash: XSZKFTVF7WWSVDXN6ZYEJZHENWIS3JBZ X-MailFrom: jtomko@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1723673012741116600 Content-Type: text/plain; charset="utf-8" After the series finale, there will be no WITH_YAJL anymore. Signed-off-by: J=C3=A1n Tomko --- tests/meson.build | 6 +++--- tests/virnetdaemontest.c | 2 +- tests/virstoragetest.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index d1fc122fc7..d6e73bfba0 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -330,7 +330,7 @@ if host_machine.system() =3D=3D 'linux' { 'name': 'virscsitest' }, { 'name': 'virusbtest' }, ] - if conf.has('WITH_YAJL') + if conf.has('WITH_JSON_C') tests +=3D [ { 'name': 'virnetdevopenvswitchtest' }, ] @@ -407,7 +407,7 @@ if conf.has('WITH_NETWORK') ] endif =20 -if conf.has('WITH_NODE_DEVICES') and conf.has('WITH_YAJL') +if conf.has('WITH_NODE_DEVICES') and conf.has('WITH_JSON_C') tests +=3D [ { 'name': 'nodedevmdevctltest', 'link_with': [ node_device_driver_impl= ] }, ] @@ -556,7 +556,7 @@ if conf.has('WITH_VMX') ] endif =20 -if conf.has('WITH_YAJL') +if conf.has('WITH_JSON_C') tests +=3D [ { 'name': 'virjsontest' }, { 'name': 'virmacmaptest' }, diff --git a/tests/virnetdaemontest.c b/tests/virnetdaemontest.c index 74c20479d4..3c00c55c72 100644 --- a/tests/virnetdaemontest.c +++ b/tests/virnetdaemontest.c @@ -26,7 +26,7 @@ =20 #define VIR_FROM_THIS VIR_FROM_RPC =20 -#if !defined(WIN32) && defined(WITH_YAJL) +#if !defined(WIN32) && defined(WITH_JSON_C) struct testClientPriv { int magic; }; diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c index d07a05d04b..91c389dead 100644 --- a/tests/virstoragetest.c +++ b/tests/virstoragetest.c @@ -815,7 +815,7 @@ mymain(void) " \= n" "\n", 1); =20 -#ifdef WITH_YAJL +#ifdef WITH_JSON_C TEST_BACKING_PARSE("json:", NULL); TEST_BACKING_PARSE("json:asdgsdfg", NULL); TEST_BACKING_PARSE("json:{}", NULL); @@ -1192,7 +1192,7 @@ mymain(void) "
\n" "\n"); =20 -#endif /* WITH_YAJL */ +#endif /* WITH_JSON_C */ =20 return ret =3D=3D 0 ? EXIT_SUCCESS : EXIT_FAILURE; } --=20 2.45.2