From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones 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> Cc: christoffer.dall@linaro.org, rkrcmar@redhat.com, pbonzini@redhat.com To: kvm@vger.kernel.org Return-path: 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 Sender: kvm-owner@vger.kernel.org List-ID: 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 --- 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 <