From patchwork Mon Jul 22 12:00:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 813721 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp1831909wro; Mon, 22 Jul 2024 05:02:50 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXzFlK8vwhAdmtBKhFiSd1/VD9lyMnoAa70jQZyT/saHNj3wQLJ8lbh8LDG4sWArdey1PZYTuIA2NHxn1vcxLtP X-Google-Smtp-Source: AGHT+IEIhr68osQxRxTthFnaY1G9/cOsmO0XOdbienMH1XhXRxNvFOIzWr6K4dFPLua/VC4EqzyD X-Received: by 2002:a05:620a:4014:b0:79f:90:7d50 with SMTP id af79cd13be357-7a1a653a74bmr733499385a.32.1721649770195; Mon, 22 Jul 2024 05:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721649770; cv=none; d=google.com; s=arc-20160816; b=03qhmdtlNnnXOkCsndtpMnc0Be2ZxMjsIm4Ij+WWnEu8zzukgG6Wo0JEX8eTDuFIBm cZ56ojhnHNPZDx0PhpczVRELcE559zIcnHvEksZ8KdPHmUF4D4Xj0Nu3mux/EsApGt+e ycLrvDh4nxvH4HgYkbiqVdXZPEAl15ZUtaTWUyT/fgdztKdFYgTGHNEmbGHRg3+3vgzl XEmpUhnRVfdl0uYCsmhMHFkIAra8W+UoqKsjIDMSYgNFiecAdC7zXk0MHFiZHHso2j8G Wpey8YxtdsX+HaxrPKq+lccUyl4njv6rB+v9VJO/r/9xnKqQKiaBFI3IGmBS41uxnw5i 2MtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=KYP/qN9CqCq6MZ5BTqGrnGUxUZgcx6ua6iOxSEzuB0U=; fh=GI2e/SBiq4MTIPc9mHou6R6WJe3VvhdDMWKbaXflkfU=; b=EUbiCy7WeTYS5KXh2ot720GyMiZjpOTH3qxbbyRZd7HwzXUJJsazr4tVygs7AAnlQD fV0acBVpHivK1IicpSbnpWTRCmco9cRkU1D+QtlZwAI05iUdyKxNeKJfwLTA7k2hTNr3 9HWiqn/fzHY3OeKr4UFAdtx7BC0oI41zwWwcVb+bsDRCgnz5U4gI+EbIJonun0WF39nh jFO6b5tdYlP/FTz+/OCbV0bIoQS4QtZpqEvXVlvtbCmWWw8rACKE0KgGfBIw3/VjesqF /r3e9rCM4EN33dm2i8vhxqvSSL6SetLzWxSwHQYS/j9/hcfGOc0C3hYJNy18OfmeYya+ zX0Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pm5CKlex; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7a198f98348si783942785a.35.2024.07.22.05.02.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Jul 2024 05:02:50 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Pm5CKlex; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVrjw-0003AU-K9; Mon, 22 Jul 2024 08:02:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVriw-00078I-Sb for qemu-devel@nongnu.org; Mon, 22 Jul 2024 08:01:05 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVriu-0006XO-DV for qemu-devel@nongnu.org; Mon, 22 Jul 2024 08:01:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721649658; h=from:from: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; bh=KYP/qN9CqCq6MZ5BTqGrnGUxUZgcx6ua6iOxSEzuB0U=; b=Pm5CKlexEUg7jbszTFDoBzKHTsyGXaC/W01RZSvH6Z52RLk9VPyDanlbxOWZl7eB98mkqs Feqm8MYBYcvaGJdpZUmjZanFVrSqCeYbQdWTInj52lAGjWWH0ynrHMwkr5wGqFJfW7rQN0 qbsylc/ki9PsXERYqK+xXCkTzR1SLA4= Received: from mx-prod-mc-04.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-194-AkYQQXhFMAahljUUHV6chA-1; Mon, 22 Jul 2024 08:00:54 -0400 X-MC-Unique: AkYQQXhFMAahljUUHV6chA-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 41C70190549A; Mon, 22 Jul 2024 12:00:50 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.194.179]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 346391955DC9; Mon, 22 Jul 2024 12:00:36 +0000 (UTC) From: Thomas Huth To: Richard Henderson Cc: qemu-devel@nongnu.org Subject: [PULL 04/12] tests/avocado: Allow overwriting AVOCADO_SHOW env variable Date: Mon, 22 Jul 2024 14:00:18 +0200 Message-ID: <20240722120026.675449-5-thuth@redhat.com> In-Reply-To: <20240722120026.675449-1-thuth@redhat.com> References: <20240722120026.675449-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.133, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé The 'app' level logging is useful, but sometimes we want more, for example QEMU leverages the 'console' logging. Allow overwriting AVOCADO_SHOW from environment, i.e.: $ make check-avocado AVOCADO_SHOW='app,console' Signed-off-by: Philippe Mathieu-Daudé Message-ID: <20240719180211.48073-1-philmd@linaro.org> Signed-off-by: Thomas Huth --- tests/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index d39d5dd6a4..6618bfed70 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -97,7 +97,7 @@ endif # Controls the output generated by Avocado when running tests. # Any number of command separated loggers are accepted. For more # information please refer to "avocado --help". -AVOCADO_SHOW=app +AVOCADO_SHOW?=app ifndef AVOCADO_TAGS AVOCADO_CMDLINE_TAGS=$(patsubst %-softmmu,-t arch:%, \ $(filter %-softmmu,$(TARGETS)))