public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Amir Goldstein <amir73il@gmail.com>
To: Theodore Ts'o <tytso@mit.edu>
Cc: fstests@vger.kernel.org
Subject: [PATCH] Support xfstest -x group command line option
Date: Wed, 11 Jan 2017 11:00:03 +0200	[thread overview]
Message-ID: <1484125203-12175-1-git-send-email-amir73il@gmail.com> (raw)

Note that while kvm-xfstests -X <test> is NOT equivalent to
the check -X command line option, kvm-xfstests -x <group> is
exactly the same as check -x <group>.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
---
 kvm-xfstests/util/parse_cli | 4 ++++
 1 file changed, 4 insertions(+)

Also via github pull request:
https://github.com/tytso/xfstests-bld/pull/3

diff --git a/kvm-xfstests/util/parse_cli b/kvm-xfstests/util/parse_cli
index b42c8ba..0956ebb 100644
--- a/kvm-xfstests/util/parse_cli
+++ b/kvm-xfstests/util/parse_cli
@@ -26,6 +26,7 @@ print_help ()
     fi
     echo "	-o opts		- Extra kernel command line options"
     echo "	-r ram		- Specify memory to be used in megabytes"
+    echo "	-x group	- Exclude group of tests from running"
     echo "	-X test		- Exclude test from running"
     echo "	--kernel file	- Boot the specified kernel"
     if test "$GCE_XFSTESTS" != "yes" ; then
@@ -155,6 +156,9 @@ while [ "$1" != "" ]; do
 	-g) shift
 	    FSTESTSET="$FSTESTSET,-g,$1"
 	    ;;
+	-x) shift
+	    FSTESTSET="$FSTESTSET,-x,$1"
+	    ;;
 	-h|--help|help)
 	    print_help
 	    ;;
-- 
2.7.4


             reply	other threads:[~2017-01-11  9:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11  9:00 Amir Goldstein [this message]
2017-01-31  2:44 ` [PATCH] Support xfstest -x group command line option Amir Goldstein

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=1484125203-12175-1-git-send-email-amir73il@gmail.com \
    --to=amir73il@gmail.com \
    --cc=fstests@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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