From nobody Sun Feb 8 05:54:53 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=1620673756; cv=none; d=zohomail.com; s=zohoarc; b=g/AxbU0JRWsPLgxzMFRJP50h03u2vPH3aSulTrh6okXmN1LzbEdrjxDrvlbrh+pGh1j77bmaDbzprdoXh/2y13U8gWIIjaJgbi8kk5yATzJbQhAoUh13hgUfB1ebmlzS0rVySGrSCahOjAeWwo/8gJKnLXUygoSZLoEnTdWZiKQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620673756; 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=OA1pOjkdehVyXBH2+6ikQimAJTy1v6yw22mJ91vIqVM=; b=oC/Knci77/NjhcY1JpzEGsdLxU0JE7IzFPDWYp3o0gVgs6Vj1eIP/hObjWzzgXnbeiBw4zChA7yXsg6SvldsIwmnZuPQbHdSVEEjph+cintpTRuixgS3hGXT3n2WJdukOrKKCQpkt7RxO/al14bSnSScYZ8U2kk1Fa93iHBuim8= 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 1620673756601606.5131866665016; Mon, 10 May 2021 12:09:16 -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-582-NESMbnvzPUWnfLn7YpKMbQ-1; Mon, 10 May 2021 15:09:12 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6AA736D269; Mon, 10 May 2021 19:08:13 +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 08B8F70E6D; Mon, 10 May 2021 19:08:11 +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 1F577180B464; Mon, 10 May 2021 19:08:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14AJ86IP005914 for ; Mon, 10 May 2021 15:08:06 -0400 Received: by smtp.corp.redhat.com (Postfix) id 79A0193262; Mon, 10 May 2021 19:08:06 +0000 (UTC) Received: from foo.redhat.com (ovpn-115-206.ams2.redhat.com [10.36.115.206]) by smtp.corp.redhat.com (Postfix) with ESMTP id CCEE88CAB7; Mon, 10 May 2021 19:08:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620673755; 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=OA1pOjkdehVyXBH2+6ikQimAJTy1v6yw22mJ91vIqVM=; b=g00sGD7C8+xMn5/RKTAOtK4+m0+54JCA6cs+TGArnHmjt9DCJF2fCTlMTCpXRxRgHE/2v4 TZ0FSN+gtT4CSoMKutrd95x89gbQhNauhwzoEc1WcFVWBsvhjaHdmZXQweqNvMnG3AXpAP OLAxcpu6gZuo2N2uuGol2VvXJ4Kkn5M= X-MC-Unique: NESMbnvzPUWnfLn7YpKMbQ-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/4] gitlab: only print failed tests in codestyle job Date: Mon, 10 May 2021 20:07:58 +0100 Message-Id: <20210510190801.945694-2-berrange@redhat.com> In-Reply-To: <20210510190801.945694-1-berrange@redhat.com> References: <20210510190801.945694-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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.15 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) "meson test" will only print a list of which tests fail by default, so we were sending the full test log to stdout on failure. This makes it really hard to see the errors though as the test log has all succcesful tests too. "ninja test" will print the same as "meson test", following by details of each failure. It does this using the "--print-errorlog" flag, so lets use that in the codestyle job. Signed-off-by: Daniel P. Berrang=C3=A9 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 89f618e678..cf0ce268b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -555,7 +555,7 @@ codestyle: script: - meson build --werror || (cat build/meson-logs/meson-log.txt && exit = 1) - ninja -C build libvirt-pot-dep - - meson test -C build --suite syntax-check --no-rebuild || (cat build/= meson-logs/testlog.txt && exit 1) + - meson test -C build --suite syntax-check --no-rebuild --print-errorl= ogs =20 =20 # This artifact published by this job is downloaded to push to Weblate --=20 2.31.1