From patchwork Wed Jan 11 09:00:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amir Goldstein X-Patchwork-Id: 9509549 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DB4F360231 for ; Wed, 11 Jan 2017 09:00:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBBAC2029C for ; Wed, 11 Jan 2017 09:00:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFB232756B; Wed, 11 Jan 2017 09:00:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E0D82041F for ; Wed, 11 Jan 2017 09:00:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936820AbdAKJAd (ORCPT ); Wed, 11 Jan 2017 04:00:33 -0500 Received: from mail-wj0-f193.google.com ([209.85.210.193]:33118 "EHLO mail-wj0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755341AbdAKJAQ (ORCPT ); Wed, 11 Jan 2017 04:00:16 -0500 Received: by mail-wj0-f193.google.com with SMTP id kp2so89878700wjc.0 for ; Wed, 11 Jan 2017 01:00:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=PeQtv+h+Sa2mTtfyv15xbYvJcFFjlRE2xs760fHI8Mk=; b=rVCXJMkjhXe8Xy8/XGA0NaIFdT0sXVJTqt9R5RIyAM9qxEnWzWYAZDMMGewTvx+mmA 4M0E+FJSFDSOfcv5R+UF88jfysHs84RS0SVE11k8jEZ/1o6RLon+xC+K00UUxk+CnkuN suk4gDhRA7ziy7VkXmkCeDO7hCYSf5R27RDCL64TqV3nLkPAeRJVY0MnYzC0h2qPShsr ApDsqCww3y/14fxlYVBQasN4vo7qQGyBcrCnBLCeXEYkmokDfzZYPD5GwcsAW1kdRvcS 42K0UyRsBnVOMlE52Ay7uulIZAKjLTEDr3INNNo+SQEHHRJYtBEMElsbbVduNLwwJ/rv cYpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PeQtv+h+Sa2mTtfyv15xbYvJcFFjlRE2xs760fHI8Mk=; b=MbEhTC5g7wHVpB3HlOfa+jdRJPdj1IsarFrTG/UyFGf0WiDCJ7IabpUZeabNBm0Ax2 RstdmE0g/Q83k3DNs+q7k4+gl+7rPlW4ayF29pj50XbjFtyQLyxYPLI6xjpN2i2Z+aKP v7zgQ3e9GYXMu/jwhFbMpE3evqIpqxoXVsZaeSpExlpRnA8uPMxXhI/mKA8SLIntdynk 2ZLnAgvFWSzqJXCpX2fi3jTXKfCv8Wi64b1bCr65WdFQQM7j6wlUWa6wWpsCywlBudVl ul8ryJ83Jt2EkwdMY8V2Br0YvoppjFsr2FGo/l7E5r7qp7HEId5LoB+dRzi59rfQHROP fVxw== X-Gm-Message-State: AIkVDXI9jWZP7hon369tzUT1MuYMzVxlPinpbOuXOa6pgpU8v251Lm3noy4smZzStsXEUw== X-Received: by 10.194.0.97 with SMTP id 1mr3463977wjd.223.1484125215335; Wed, 11 Jan 2017 01:00:15 -0800 (PST) Received: from amir-VirtualBox.ctera.local (bzq-82-81-193-202.cablep.bezeqint.net. [82.81.193.202]) by smtp.gmail.com with ESMTPSA id d29sm7893220wmi.19.2017.01.11.01.00.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jan 2017 01:00:14 -0800 (PST) From: Amir Goldstein To: Theodore Ts'o Cc: fstests@vger.kernel.org Subject: [PATCH] Support xfstest -x group command line option Date: Wed, 11 Jan 2017 11:00:03 +0200 Message-Id: <1484125203-12175-1-git-send-email-amir73il@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Note that while kvm-xfstests -X is NOT equivalent to the check -X command line option, kvm-xfstests -x is exactly the same as check -x . Signed-off-by: Amir Goldstein --- 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 ;;