From patchwork Fri Dec 20 09:25:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Xu X-Patchwork-Id: 1213982 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47fNVL3BYrz9sPc for ; Fri, 20 Dec 2019 20:19:22 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id AC1EC3C22D4 for ; Fri, 20 Dec 2019 10:19:14 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [217.194.8.3]) by picard.linux.it (Postfix) with ESMTP id 1BAF93C147F for ; Fri, 20 Dec 2019 10:19:04 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by in-3.smtp.seeweb.it (Postfix) with ESMTPS id 02F6C1A0BC45 for ; Fri, 20 Dec 2019 10:19:02 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Dec 2019 01:19:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,335,1571727600"; d="scan'208";a="267480050" Received: from xpf-desktop.sh.intel.com ([10.239.13.102]) by FMSMGA003.fm.intel.com with ESMTP; 20 Dec 2019 01:19:00 -0800 From: Pengfei Xu To: ltp , Pengfei Xu , Neri Ricardo , Su Heng , Kasten Robert , Cyril Hrubis Date: Fri, 20 Dec 2019 17:25:28 +0800 Message-Id: <20191220092529.3239-3-pengfei.xu@intel.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20191220092529.3239-1-pengfei.xu@intel.com> References: <20191220092529.3239-1-pengfei.xu@intel.com> X-Virus-Scanned: clamav-milter 0.99.2 at in-3.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=7.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-3.smtp.seeweb.it Subject: [LTP] [PATCH v5 3/4] lib: add usage that any kconfig with or without expected value in document X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Signed-off-by: Pengfei Xu --- doc/test-writing-guidelines.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/test-writing-guidelines.txt b/doc/test-writing-guidelines.txt index 79d857fea..2299b6982 100644 --- a/doc/test-writing-guidelines.txt +++ b/doc/test-writing-guidelines.txt @@ -1590,7 +1590,13 @@ aborted with 'TCONF' if any of the required options were not set. #include "tst_test.h" static const char *kconfigs[] = { - "CONFIG_X86_INTEL_UMIP", + "CONFIG_EXT4_FS=y", + "CONFIG_MMU", + /* one CONFIG_A without expected value, add |NA as the end is optional */ + "CONFIG_MMU|NA", + "CONFIG_X86_INTEL_UMIP|CONFIG_X86_UMIP=y", + /* CONFIG_A|CONFIG_B without expected value, need to add |NA as the end */ + "CONFIG_X86_INTEL_UMIP|CONFIG_X86_UMIP|NA", NULL };