From nobody Sun Feb 8 19:43:14 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1621234172; cv=none; d=zohomail.com; s=zohoarc; b=HQl2VQuwTssJHPMTN/Q97Yud7TtvhlLSIKHrQNwNTh08USTvR3gNzNr6l79Evq2HfoSpDH1QguQvBtJZoqP/2bxswbtt/XFsDlh5sTUaE/jcXQnBLr0C27ZpCfQOoDBg0lM8eKyoEaX1yEvkf9Nq7FSPZX+vwsApBK7ciZxFjpE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621234172; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=nDwwHyGlGkhc7Z/vOrt8n1DIxG4HgnbDUPsmbP3bwgQ=; b=Pfjv+P0cXgHHyIW40+z9Q5QmwM1QxE5ni6BJFiCFXI65HC0wkaK65h8HauVz0XKjEGlzXHnv/u3g8+58ToCv72arMNFZ8d7WPbsJC6Z7e5uNsPmkhQwvMBZnB3WCe8zpmlOul+YcCTxeGEHp89s6aYQ4hsJxnDchkJcnsPtppdg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1621234172865939.6102522809906; Sun, 16 May 2021 23:49:32 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-194-2sLFF9rxPYSRpzdB61ry_w-1; Mon, 17 May 2021 02:49:30 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D36B4107ACE4; Mon, 17 May 2021 06:49:24 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C82FF5D9F0; Mon, 17 May 2021 06:49:23 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3F33A180B463; Mon, 17 May 2021 06:49:22 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14H6nGO5016793 for ; Mon, 17 May 2021 02:49:16 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8BBD81F051; Mon, 17 May 2021 06:49:16 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.193.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0E7E91A86D for ; Mon, 17 May 2021 06:49:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621234171; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=nDwwHyGlGkhc7Z/vOrt8n1DIxG4HgnbDUPsmbP3bwgQ=; b=Xy/osRXruCgCIjLrXq2ux4y++yfsvv4AmS19t/+ZH6ncL6UnY2tPydLEzTkmvtJEJmEEWM rTE3G5R73JTOJSwry8Oa7iS6D5m+pCR+2dNn57YuV0HK01GJ/yPD3vUnFSdWRLCa6bFrgV 6sDjY3MSstQs1pVEF1SZInJ9JCNW0nc= X-MC-Unique: 2sLFF9rxPYSRpzdB61ry_w-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/3] testutils: Drop libtool binary name handling Date: Mon, 17 May 2021 08:49:08 +0200 Message-Id: <4612c267df6655a833ca788f3277e1182fea7efa.1621234104.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Back in the old days, we used to use libtool to run compiled libraries. That meant we had to deal with "lt-" prefix for our binaries. With meson that's no longer the case. Signed-off-by: Michal Privoznik --- tests/testutils.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/testutils.c b/tests/testutils.c index d6b7c2a580..870a3b081a 100644 --- a/tests/testutils.c +++ b/tests/testutils.c @@ -750,8 +750,7 @@ int virTestMain(int argc, size_t noutputs =3D 0; virLogOutput *output =3D NULL; virLogOutput **outputs =3D NULL; - g_autofree char *baseprogname =3D NULL; - const char *progname; + g_autofree char *progname =3D NULL; g_autofree const char **preloads =3D NULL; size_t npreloads =3D 0; g_autofree char *mock =3D NULL; @@ -784,9 +783,7 @@ int virTestMain(int argc, VIR_TEST_PRELOAD(mock); } =20 - progname =3D baseprogname =3D g_path_get_basename(argv[0]); - if (STRPREFIX(progname, "lt-")) - progname +=3D 3; + progname =3D g_path_get_basename(argv[0]); =20 g_setenv("VIR_TEST_MOCK_PROGNAME", progname, TRUE); =20 --=20 2.26.3