From patchwork Fri May 12 06:24:08 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: 13238707 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 EC080C77B7C for ; Fri, 12 May 2023 06:24:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239887AbjELGYl convert rfc822-to-8bit (ORCPT ); Fri, 12 May 2023 02:24:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbjELGYj (ORCPT ); Fri, 12 May 2023 02:24:39 -0400 Received: from sendb.mailex.chinaunicom.cn (sendb.mailex.chinaunicom.cn [123.138.59.137]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38C8230FF for ; Thu, 11 May 2023 23:24:36 -0700 (PDT) Received: from M10-XA-MLCEN02.MailSrv.cnc.intra (unknown [10.236.3.198]) by sendb.mailex.chinaunicom.cn (SkyGuard) with ESMTPS id 4QHdzs5RbBz3F8Z3 for ; Fri, 12 May 2023 14:25:29 +0800 (CST) Received: from smtpbg.qq.com (10.237.2.97) by M10-XA-MLCEN02.MailSrv.cnc.intra (10.236.3.198) with Microsoft SMTP Server id 15.0.1497.47; Fri, 12 May 2023 14:24:28 +0800 X-QQ-mid: Ymail-xx24b003-t1683872666toc Received: from localhost.localdomain (unknown [10.3.224.193]) by smtp.qq.com (ESMTP) with id ; Fri, 12 May 2023 14:24:25 +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?= , =?gb18030?q?rmm1985?= Subject: [kvm-unit-tests PATCH v2] run_tests: add list tests name option on command line Date: Fri, 12 May 2023 14:24:08 +0800 Message-ID: <20230512062408.3436005-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-zhyw45w 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 | 21 +++++++++++++++++++-- 1 file changed, 19 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..af25f24 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -15,7 +15,7 @@ function usage() { cat <