From patchwork Thu Apr 20 23:32:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Matlack X-Patchwork-Id: 9691481 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 6016F6037F for ; Thu, 20 Apr 2017 23:32:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4673028499 for ; Thu, 20 Apr 2017 23:32:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37B562849C; Thu, 20 Apr 2017 23:32:51 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 292CD28499 for ; Thu, 20 Apr 2017 23:32:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034031AbdDTXcr (ORCPT ); Thu, 20 Apr 2017 19:32:47 -0400 Received: from mail-io0-f179.google.com ([209.85.223.179]:34601 "EHLO mail-io0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034027AbdDTXcp (ORCPT ); Thu, 20 Apr 2017 19:32:45 -0400 Received: by mail-io0-f179.google.com with SMTP id a103so93052660ioj.1 for ; Thu, 20 Apr 2017 16:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=SQbQM4hoZFI5Z+Xe0JF3TytqCGWE8FWCawl0THMFWug=; b=fEhKDo6fPbH6cxG+kbHHQf+AoDwmlHDKeryTResLgyByCv2CTAVTEN/uxcZNU06DnC iWeZ7KKO/mbFemFsitjSLvT7b4qxLMtH7304ZtOhXXHyRyoN+ytul61UIMu9VKXwdvXv ag+NZKwB1cYuBXtBKWs+6kkD0BoLoM72GiATn8M08zjYa/WD6/AJGk+rK3BF6LfzR3Oq 8kZPDwI9XmQ34LyUVx1DU+jC4qSXHbqXv7MlFan/3DQ837K8KbL7HfJfu5js1STlRDAD e941Xb6z0JTBJf9dpUNeaI3OdPY0QnHe3P+LFVXsDuGJnvjOE2f2Y5dN5wlbXaaMP7LQ NgUA== 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=SQbQM4hoZFI5Z+Xe0JF3TytqCGWE8FWCawl0THMFWug=; b=MYrHMQz7NyYQdeljAD9toTnLZvKuharoonhAGCw3gWd94il8KCotqBl6yydhfNWFrV 9/bE5uKwsYtF+i87vUc3lHpJ+PC0Xo+ULKAKGkhAHGlDUTPWqdy4FM4cQFI4TdvEccL4 l1Kf/8MvEWNtur8/Hnoo1sWDOSYofUJFCzcn51XbiA2pGuTw1AGP6YGER86vVv90JtTr SBkRkcFDsPPKvJ3GsPuMf2RuQ2b01mYECW5qGWBZ4TXfg0vu7m3zwY3JgBsP+NUNfPQ+ LgAC58L743x24TVfiU9Z5SQA4NL9B7dEks7vZZOK0ybPAmqQr0vB0a4mO/UG5cMvYkVa UfaA== X-Gm-Message-State: AN3rC/4K3V1Xdc0ZI9Bv7UNtiYZzsbmKgoFk+SmiUlfibqfxonl+L6ad Q/9hME9vXaBlJAzrBS4AoA== X-Received: by 10.84.231.16 with SMTP id f16mr11100800plk.58.1492731163770; Thu, 20 Apr 2017 16:32:43 -0700 (PDT) Received: from dmatlack.sea.corp.google.com ([100.100.206.82]) by smtp.gmail.com with ESMTPSA id a187sm12302864pfa.59.2017.04.20.16.32.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Apr 2017 16:32:42 -0700 (PDT) From: David Matlack To: kvm@vger.kernel.org Cc: Peter Feiner , David Matlack Subject: [kvm-unit-tests PATCH] scripts: add test runner filter Date: Thu, 20 Apr 2017 16:32:34 -0700 Message-Id: <20170420233234.119643-1-dmatlack@google.com> X-Mailer: git-send-email 2.12.2.816.g2cccc81164-goog Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Peter Feiner Add -t option to run_tests.sh. Only test with the given name is run. It's an error if there's no matching test. Signed-off-by: Peter Feiner Signed-off-by: David Matlack --- run_tests.sh | 6 +++++- scripts/common.bash | 19 +++++++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index c35a05802346..9c914a3678ca 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -16,6 +16,7 @@ cat <