From nobody Mon Feb 9 00:56:40 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=1692986163; cv=none; d=zohomail.com; s=zohoarc; b=ITdHfTJscLnDDZ6gOQ2pmhtcNsV7hy5e7CWkx2cks4Xwc8rpZTOD9GwWeJMnvgHM7Ic3FrUmVoMqM0kTDF/zJOxjI0DQU3kxih4r6fPjM+MgLwvsItDuyBjIBvm61nS++JeNlVfNU57L7V9cCd6Hcu/vnHUION7IkVmdI4JlVxk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692986163; h=Content-Type:Content-Transfer-Encoding:Cc: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=Am49q4mOCTk7UKuVIOY1g+2DmJhwz8JivUlkKrrlfkk=; b=hbDLe5rP0vYXfx8P4OtnMx/U7NxJxMTVTqKM5KmKuymqxjQ3UoE7TmUdLLZgX5iX/vDNhNZSLmpNJTPgfY2UQUVP4jhLhsnM1DUyVQGH5Ma5Q2C3MIpiqSap+3XafYv8Bf7jB8tMvedTlhHUBwrP7f03nL1exvDAzlcHSKPfOJY= 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) 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 1692986163722215.15228840561042; Fri, 25 Aug 2023 10:56:03 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-588-4VIcGxmePOeb92cc54p2Tw-1; Fri, 25 Aug 2023 13:55:58 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 27AAC1875857; Fri, 25 Aug 2023 17:55:53 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 12357492C18; Fri, 25 Aug 2023 17:55:52 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7E3B719465BA; Fri, 25 Aug 2023 17:55:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8FA441946A42 for ; Fri, 25 Aug 2023 17:55:50 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 7238A4A9005; Fri, 25 Aug 2023 17:55:50 +0000 (UTC) Received: from orca.. (unknown [10.45.225.96]) by smtp.corp.redhat.com (Postfix) with ESMTP id ECF5A492C14; Fri, 25 Aug 2023 17:55:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692986162; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=Am49q4mOCTk7UKuVIOY1g+2DmJhwz8JivUlkKrrlfkk=; b=Upy2U9jpAQhFQpGeNhAO0Z8rldsJWuCwS3uKvlZfMjRlFhl4TprhROVWlnsuDJaO+2TZAv 7Ayi1r/qUB01kLVoLCUh6qwOsJVkvuxDvCHxKtUv2F5E3f5MMLFeOc5DOIQRkq0BkBqLlO I5IeveYez8FAqn2wmzOlRPj+p1GISdE= X-MC-Unique: 4VIcGxmePOeb92cc54p2Tw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 08/33] ci: build.sh: Add a wrapper function over the 'test' job Date: Fri, 25 Aug 2023 19:55:16 +0200 Message-ID: <90c4873945c17a8cbd27e44d4f1739a2eeff9186.1692986130.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Skultety Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1692986165338100001 Content-Type: text/plain; charset="utf-8"; x-default="true" This helper is a shell function transcript of its original GitLab CI counterpart. Signed-off-by: Erik Skultety --- ci/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/build.sh b/ci/build.sh index c56e45f51f..ab471f2741 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -66,3 +66,10 @@ run_dist() { git update-index --refresh run_cmd "$CMD" } + +run_test() { + local CMD=3D"meson test -C build $TEST_ARGS" + + run_meson_setup + run_cmd "$CMD" +} --=20 2.41.0