Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3969191pxv; Mon, 19 Jul 2021 13:11:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6353+vArBqUSR1yy1rCuU9lFAshsoNZOig3S1P0dO+cfc402iQKCKSS9IeZThfNOM6MJ2 X-Received: by 2002:a17:906:74c1:: with SMTP id z1mr28920568ejl.466.1626725503013; Mon, 19 Jul 2021 13:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626725503; cv=none; d=google.com; s=arc-20160816; b=QLyTJDDJ7+JifTpUWoi1ggQDoHNNL8AQF1L10/1mfdygB65IycrAfJXEbJ0HEbqVPY 1F8tNLGVebr/F5rXuecIrJ+vs3OL0ibdC0D3VGkI8QwRRawsBSQ6HdAN1rwJQrAjEPrM 1UXWeJ1aTi6yj8qftdZ1VzC6ywHTgE/049jAMXqJ4BghMLS+d9gfZiuVyAgi7/cthS5v bUh7GOcBW+7wXCz9qsp6+QqiFtWSExyAGP5KDBFKG8/9ZMhEPkq9oBanfY96xK711ukZ 5qlKxWCKSPTSWx7QuJ4HBc1U6LyZCIFn/dmNiy0wlJQazjmzqY2Rp640q5NwNdvOCaGV I8tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=fJcg77fkN9975oTUE4LNPWB7ZTJgrFp5GEAXqgIgBp8=; b=WselKXlmCNxnZuo2x7xQ3K+xXe1UIbptuehpM+25Pf80tbHvNItemRat0gDkFLNxpi SzhO/Lh9Abw8bz8Zd8nQQoxM41dbAwyxx7nfEuc9yuASzDMv+8ftjZPo5+S4dom2jXD/ oW74K44A6ai7fBYR/MsOn1XgOoCHZoL8RJGRXSv1SiLp1zMjNHHUsDvfMen7jWbzZ7eB x78kBoH3vUjPl46B9VRrJlZAz3bwYY6AlHYuT3LPxqjOAaTUQZCeTIh1IOhz+kyn74xK AsPihyZumoF7aZjcn/O8TMlLoxU20wsVczlQ8e1GXcsgFwhwdx7Osr5iBdHHiaCy/1DS h2+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb8si11503159edb.495.2021.07.19.13.11.18; Mon, 19 Jul 2021 13:11:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384843AbhGSShu (ORCPT + 99 others); Mon, 19 Jul 2021 14:37:50 -0400 Received: from mail-ej1-f47.google.com ([209.85.218.47]:33552 "EHLO mail-ej1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383807AbhGSSLa (ORCPT ); Mon, 19 Jul 2021 14:11:30 -0400 Received: by mail-ej1-f47.google.com with SMTP id bu12so30520289ejb.0 for ; Mon, 19 Jul 2021 11:52:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fJcg77fkN9975oTUE4LNPWB7ZTJgrFp5GEAXqgIgBp8=; b=rOCHsGUbwHgVwaFofQnQ35Knv6YewC+yII6QhoaDKr4cGpz2zy8kgX4yYI89ajwxVM xIlni2tsJf6mkx40m20IOk+atYdDnnmQOgDOR69sTzZg8ECh8vKKV3uoZznlWiE3lH4d gr22wcLqbYhxGnhdzvlwpd/xbla4ZENkFvVhw9jqbPojk6bO2JKEZtN62/TR7WR2QgVR ot83gQzC++Hd4gS7hTAfCPNxoBUh5+ePFCss9vAd+3QSYj6bRvm/WRsM1Cwv1XkviqfS Z1KuhbtEkBuZJ7hGEcmE7dtS1GesTMJf8sRqulmrd1Sz/TjXEOCqcEkFVG4HhWb7NnkC z9XQ== X-Gm-Message-State: AOAM533YrxcYNsTVBQP8gaxcr/h1In9LuEycyiAh0gLqk4GPHZgImbLG AlERYqYpJJBPis7U8l/Weu0e5t257oQ= X-Received: by 2002:a17:906:2413:: with SMTP id z19mr28082455eja.215.1626720728519; Mon, 19 Jul 2021 11:52:08 -0700 (PDT) Received: from msft-t490s.fritz.box (host-95-250-115-52.retail.telecomitalia.it. [95.250.115.52]) by smtp.gmail.com with ESMTPSA id g3sm6217408ejp.2.2021.07.19.11.52.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 11:52:07 -0700 (PDT) From: Matteo Croce To: linux-kernel@vger.kernel.org Cc: Peter Rosin , Geert Uytterhoeven , Andrew Morton Subject: [PATCH] lib/test_string.c: move string selftest in the Runtime Testing menu Date: Mon, 19 Jul 2021 20:51:58 +0200 Message-Id: <20210719185158.190371-1-mcroce@linux.microsoft.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matteo Croce STRING_SELFTEST is presented in the "Library routines" menu. Move it in Kernel hacking > Kernel Testing and Coverage > Runtime Testing together with other similar tests found in lib/ --- Runtime Testing <*> Test functions located in the hexdump module at runtime <*> Test string functions (NEW) <*> Test functions located in the string_helpers module at runtime <*> Test strscpy*() family of functions at runtime <*> Test kstrto*() family of functions at runtime <*> Test printf() family of functions at runtime <*> Test scanf() family of functions at runtime Signed-off-by: Matteo Croce --- lib/Kconfig | 3 --- lib/Kconfig.debug | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig index d241fe476fda..5c9c0687f76d 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -683,9 +683,6 @@ config PARMAN config OBJAGG tristate "objagg" if COMPILE_TEST -config STRING_SELFTEST - tristate "Test string functions" - endmenu config GENERIC_IOREMAP diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 831212722924..5ddd575159fb 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -2180,6 +2180,9 @@ config ASYNC_RAID6_TEST config TEST_HEXDUMP tristate "Test functions located in the hexdump module at runtime" +config STRING_SELFTEST + tristate "Test string functions at runtime" + config TEST_STRING_HELPERS tristate "Test functions located in the string_helpers module at runtime" -- 2.31.1