Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1756411pxb; Wed, 9 Feb 2022 03:58:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxL3VXn4z1JvtSBr31n8O8fNY32U8wtrOe3pbk31/m3p/33NjX9Avf07xmnS2q+A+YOTHSE X-Received: by 2002:a17:90b:1d88:: with SMTP id pf8mr2108449pjb.162.1644407901347; Wed, 09 Feb 2022 03:58:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644407901; cv=none; d=google.com; s=arc-20160816; b=kZbY9ZxLU5itQP9jZrQappgE7Ey+Xi3Gu5ozIjktVGy0J9hO918B7+mJpadjuWG/2W dizxNoAjYQ8czGqyRIwEPVw3FMa6+hK6brR6GIE8E+8U7Di2DSFRbKJt8CffYJ10RKB6 lufq/AK/WtUwGdv2Odm3K1PnGDhlmH4ilzhtAAlYfr1sZhnEbTeXgLZ1gxH9oGplLQ/L Q65h62buZF+CYjGmuvA5snhms+wkEHhQaxk44QvS7tBjn80sJBtAIoCc6DctHvdawa8f Nq3SuH8/nUQoHaYEW3hb2UaRXEd033xpmed1LJiffXTAuQDz8G9KnyMi+1BQS43PMz1C DIFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WCtWFg+2ZTROg0FVurXxDeV6iuL/FS0K6/hQoh3qXPg=; b=NcC/2WWzl6bC9j9ZTX7DAicZ3eIxVMjqhek4bTaUsDxK/92XPLSdDgoYVbave6L3l0 4WIHvf+dXcHALKDA2o/SS1oI70GRCdFxSNDyaSOpjEuutCwOT4W35BZHyB/Rzaw1i4xr 8wxo/b+az7ddmFHyXij4TUm5Yn/FjhO+bzzU+K2ytKicdY7P1OzscWwTTDkTMtxWHXn+ eCsYo5/tg6KvJAKKSQH0OY1cJq65aCtXajcr/+KB+O+l6wz8GBr2N0qVk43+T3PyKz7e BEU7y6tKw3WwNmhGJOlR5HI9PnyyXHl4KpOyLQtrNZ5CKXPg6fP9ZiWizpar4s7pSZyj mzvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="poNWY/0H"; spf=softfail (google.com: domain of transitioning linux-nfs-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id mh11si5574820pjb.126.2022.02.09.03.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 03:58:21 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-nfs-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="poNWY/0H"; spf=softfail (google.com: domain of transitioning linux-nfs-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 37224E0EEA52; Wed, 9 Feb 2022 02:03:01 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386252AbiBHWXD (ORCPT + 99 others); Tue, 8 Feb 2022 17:23:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387069AbiBHVwj (ORCPT ); Tue, 8 Feb 2022 16:52:39 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14FE5C0612B8; Tue, 8 Feb 2022 13:52:39 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 67D5CCE1C9B; Tue, 8 Feb 2022 21:52:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E913C340EE; Tue, 8 Feb 2022 21:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644357155; bh=e2FM1V1/4GHLdTXW9RpgJI03OpLLahT/Clg2E6le/10=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=poNWY/0HwItxg3uLd/DJwy3Epe1guC1sb9SZsJ8ORMxYUgCjiD2WoY+ufGDx6GGDJ O1BuHJh5tkDSJmlD+0WqEPOWTtmAuM+nVKfimhorM8EtDJqoUiS/vuoB84sSbwChLe RnXLyl9I4cNUY1Ci08CwQPce9OyHsnDT09j/UKHKlCDuht+RZG2Rp7fjExuGQbWRG6 KLwfauqHZ9/NILCUiHg/XBvfIUiWQQUU17MDVVohrQyJJSQkprw/8itFDXpmMYXMM7 j/LCikKLIJy/1OWX5pV3ROkQ+ryT4SaYAHCnvmlRzDHZvFCN9xVvM2LQ+YjIa2VOop QU7FENANL0JeQ== From: Anna Schumaker To: fstests@vger.kernel.org Cc: linux-nfs@vger.kernel.org Subject: [PATCH 1/4] check: Export CHECK_OPTIONS and PLATFORM for Xunit Reporting Date: Tue, 8 Feb 2022 16:52:29 -0500 Message-Id: <20220208215232.491780-2-anna@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220208215232.491780-1-anna@kernel.org> References: <20220208215232.491780-1-anna@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Anna Schumaker I found that running ./check by hand with Xunit reporting enabled caused the PLATFORM variable to be unset, and the CHECK_OPTIONS was the default "-g auto" instead of the "-g quick" that I also passed in. This patch sets both variables so Xunit reporting is accurate. Signed-off-by: Anna Schumaker --- Maybe there is a better way to do this? If so please let me know! --- check | 2 ++ 1 file changed, 2 insertions(+) diff --git a/check b/check index a08631213cbb..c8a38345123a 100755 --- a/check +++ b/check @@ -273,6 +273,7 @@ _prepare_test_list() } # Process command arguments first. +export CHECK_OPTIONS="$*" while [ $# -gt 0 ]; do case "$1" in -\? | -h | --help) usage ;; @@ -360,6 +361,7 @@ if ! . ./common/rc; then echo "check: failed to source common/rc" exit 1 fi +export PLATFORM=$(_full_platform_details) if [ -n "$subdir_xfile" ]; then for d in $SRC_GROUPS $FSTYP; do -- 2.35.1