From: Anna Schumaker <anna@kernel.org>
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 [thread overview]
Message-ID: <20220208215232.491780-2-anna@kernel.org> (raw)
In-Reply-To: <20220208215232.491780-1-anna@kernel.org>
From: Anna Schumaker <Anna.Schumaker@Netapp.com>
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 <Anna.Schumaker@Netapp.com>
---
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
next prev parent reply other threads:[~2022-02-08 22:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-08 21:52 [PATCH 0/4] Improvements for NFS Anna Schumaker
2022-02-08 21:52 ` Anna Schumaker [this message]
2022-02-08 21:52 ` [PATCH 2/4] generic/531: Move test from 'quick' group to 'stress' Anna Schumaker
2022-02-23 16:54 ` Darrick J. Wong
2022-02-23 19:38 ` Anna Schumaker
2022-02-24 4:14 ` Darrick J. Wong
2022-02-08 21:52 ` [PATCH 3/4] generic/578: Test that filefrag is supported before running Anna Schumaker
2022-02-23 16:57 ` Darrick J. Wong
2022-02-23 18:24 ` Anna Schumaker
2022-02-24 4:15 ` Darrick J. Wong
2022-02-08 21:52 ` [PATCH 4/4] generic/633: Check if idmapped mounts are " Anna Schumaker
2022-02-19 8:40 ` Su Yue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220208215232.491780-2-anna@kernel.org \
--to=anna@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).