From patchwork Thu May 11 08:33:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?5Lu75pWP5pWPKOiBlOmAmumbhuWbouiBlOmAmuaVsOWtl+enkeaKgOaciemZkOWFrOWPuOacrOmDqCk=?= X-Patchwork-Id: 13237663 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EE81C77B7F for ; Thu, 11 May 2023 08:34:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234840AbjEKIeX convert rfc822-to-8bit (ORCPT ); Thu, 11 May 2023 04:34:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjEKIeV (ORCPT ); Thu, 11 May 2023 04:34:21 -0400 Received: from senda.mailex.chinaunicom.cn (senda.mailex.chinaunicom.cn [123.138.59.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4957430D8 for ; Thu, 11 May 2023 01:34:08 -0700 (PDT) Received: from M10-XA-MLCEN02.MailSrv.cnc.intra (unknown [10.236.3.198]) by senda.mailex.chinaunicom.cn (SkyGuard) with ESMTPS id 4QH4xf4F5Fz3F4Hp for ; Thu, 11 May 2023 16:36:38 +0800 (CST) Received: from smtpbg.qq.com (10.237.2.99) by M10-XA-MLCEN02.MailSrv.cnc.intra (10.236.3.198) with Microsoft SMTP Server id 15.0.1497.47; Thu, 11 May 2023 16:33:58 +0800 X-QQ-mid: Ymail-xx24b003-t1683794036tk8 Received: from localhost.localdomain (unknown [10.3.224.193]) by smtp.qq.com (ESMTP) with id ; Thu, 11 May 2023 16:33:55 +0800 (CST) X-QQ-SSF: 0190000000000060I630050A0000000 X-QQ-GoodBg: 0 From: =?gb18030?b?yM7D9MP0KMGqzai8r83FwarNqMr919a/xry809DP3rmry76xvrK/KQ==?= To: =?gb18030?q?kvm?= CC: =?gb18030?q?pbonzini?= , =?gb18030?q?andrew=2Ejones?= Subject: [kvm-unit-tests PATCH] run_tests: add list tests name option on command line Date: Thu, 11 May 2023 16:33:29 +0800 Message-ID: <20230511083329.3432954-1-renmm6@chinaunicom.cn> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: Ymail-xx:chinaunicom.cn:mail-xx:mail-xx24b003-zhyw47w Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From: rminmin Add '-l | --list' option on command line to output all tests name only, and cloud be filtered by group with '-g | --group' option. E.g. List all vmx group tests name: $ ./run_tests.sh -g vmx -l List all tests name: $ ./run_tests.sh -l Signed-off-by: rminmin --- run_tests.sh | 14 ++++++++++++-- scripts/common.bash | 24 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) -- 2.33.0 Èç¹ûÄú´íÎó½ÓÊÕÁ˸ÃÓʼþ£¬Çëͨ¹ýµç×ÓÓʼþÁ¢¼´Í¨ÖªÎÒÃÇ¡£Çë»Ø¸´Óʼþµ½ hqs-spmc@chinaunicom.cn£¬¼´¿ÉÒÔÍ˶©´ËÓʼþ¡£ÎÒÃǽ«Á¢¼´½«ÄúµÄÐÅÏ¢´ÓÎÒÃǵķ¢ËÍĿ¼ÖÐɾ³ý¡£ If you have received this email in error please notify us immediately by e-mail. Please reply to hqs-spmc@chinaunicom.cn ,you can unsubscribe from this mail. We will immediately remove your information from send catalogue of our. diff --git a/run_tests.sh b/run_tests.sh index f61e005..a95c2bc 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -15,7 +15,7 @@ function usage() { cat <