From patchwork Wed Mar 8 17:00:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jones X-Patchwork-Id: 9611705 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 6600C602B4 for ; Wed, 8 Mar 2017 17:00:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55CF9285EE for ; Wed, 8 Mar 2017 17:00:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A8CA2861E; Wed, 8 Mar 2017 17:00:47 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 CDED9285EE for ; Wed, 8 Mar 2017 17:00:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754128AbdCHRAk (ORCPT ); Wed, 8 Mar 2017 12:00:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:30302 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501AbdCHRAj (ORCPT ); Wed, 8 Mar 2017 12:00:39 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AE7AD4DD4B; Wed, 8 Mar 2017 17:00:39 +0000 (UTC) Received: from hawk.localdomain.com (ovpn-204-229.brq.redhat.com [10.40.204.229]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v28H0bB6027959; Wed, 8 Mar 2017 12:00:38 -0500 From: Andrew Jones To: kvm@vger.kernel.org Cc: christoffer.dall@linaro.org, rkrcmar@redhat.com, pbonzini@redhat.com Subject: [kvm-unit-tests PATCH] run_tests: add run all tests parameter Date: Wed, 8 Mar 2017 18:00:35 +0100 Message-Id: <1488992435-15268-1-git-send-email-drjones@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 08 Mar 2017 17:00:39 +0000 (UTC) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Tests can be flagged as 'nodefault' in unittests.cfg files. Allow running all tests, including all nodefault tests by just calling run_tests.sh with a new -a parameter. (Also cleanup the help text.) Suggested-by: Christoffer Dall Signed-off-by: Andrew Jones Reviewed-by: Paolo Bonzini --- run_tests.sh | 14 +++++++++----- scripts/runtime.bash | 1 + 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index 09cd057b7f41d..c35a058023467 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,6 +1,7 @@ #!/bin/bash verbose="no" +run_all_tests="no" # don't run nodefault tests if [ ! -f config.mak ]; then echo "run ./configure && make first. See ./configure -h" @@ -13,13 +14,13 @@ function usage() { cat <