Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3172159rwa; Mon, 22 Aug 2022 23:22:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR45YK5PMkNksOAUVOZeOiTgOaBKkxv5bBHq60iSXFGEc8e48GOU5K9UUtdWMEagDKilL75r X-Received: by 2002:a17:903:2348:b0:172:e54b:7f81 with SMTP id c8-20020a170903234800b00172e54b7f81mr8938805plh.138.1661235735986; Mon, 22 Aug 2022 23:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661235735; cv=none; d=google.com; s=arc-20160816; b=sBWJDfMCKIhjVk77DDLFQ71MhXhePxNBVUhwyEhSqIMurO6lO5tCTzVarz1sVUAZ1b zBImzXWHOeUTapBy7SUfl4u2zHukgIEaXKcMOYRe2RSRqD4Ezwv03qgDQNugk58itA10 ibKo2cKObTJZcNHlGdCa8KoT6+dh1tgXZfp1piFoCLcTYNnLOpiEKbxLBYnLhSCY3mng xaHOGyW6YxpYQAfiFuaoZa5YSXwX27msnqWrXo+6XrigsWG9q2rqVeUFqwqXxzxTfd+p 7wfeSmzhmY5Ekath3GUvr9lWiGGZEQ2Nn87w7fAD2m/4Iq11cw2Dzyq+ZBPJgzvEZ5Ip SJfA== 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:dkim-signature; bh=PY6VpCbbV6eKayfhqO5mg2OaPJoPkC0jqNdIYvD8Vsw=; b=crpi2b/Pqj9sRZZ+NVbiFc3gGSdcz36iqfuSj4c7Haeq0SuzZBcc+uQ1bSH0y5vO7T I7ZMfEmoYwGD/hN9U7ek5unMJOKwtUGsRpz2cRBcaESicw/Wr1ksVRQszTgmS5E3a/8t P/JD2BDPRCyeqVWAujKkI/T+kCXUscNAM7+v3ydKnmO0EcefbtFVEpnoBJMhOV8upDol 7viIQnYix7EjaXtyiNKhTmLwOCQLHuYsSdhA6x7i3r3/fhZYg0fqe2fHQT2vZKZO43w3 14aV4yyQAuZSPFqGgddj/1UFAxnAIn7nFM3nqJOQpgSaXKLFhtO3rNzTHjR7TA7E+AsL 2Vyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svanheule.net header.s=mail1707 header.b=JlPdWXOD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svanheule.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k14-20020a170902ce0e00b0016efb388a9dsi12232632plg.446.2022.08.22.23.22.04; Mon, 22 Aug 2022 23:22:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@svanheule.net header.s=mail1707 header.b=JlPdWXOD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svanheule.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240484AbiHWGMl (ORCPT + 99 others); Tue, 23 Aug 2022 02:12:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231827AbiHWGMj (ORCPT ); Tue, 23 Aug 2022 02:12:39 -0400 Received: from polaris.svanheule.net (polaris.svanheule.net [IPv6:2a00:c98:2060:a004:1::200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB3D35FAF6 for ; Mon, 22 Aug 2022 23:12:38 -0700 (PDT) Received: from terra.. (unknown [IPv6:2a02:a03f:eaf9:8401:aa9f:5d01:1b2a:e3cd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id BEEEA31020C; Tue, 23 Aug 2022 08:12:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1661235157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PY6VpCbbV6eKayfhqO5mg2OaPJoPkC0jqNdIYvD8Vsw=; b=JlPdWXODG78Z0UZccT/otmBI0q1BUba8S7RpU+Le5EJXugVsVJL1UIdKYt0FffCw1A0U3p 2UfIXGB+Dx30ai7/xoZHUeY9hpxkH91Lmwf2DsU1cI89zRMGgfNyFy/0lZ9Ae5gLh9BAit UbYzGlvgCrMM50TFro4BAcjhnTrmaLiRv2h+jYxTJOcVdrDTLen3BMeSNov6ZfNbR5NZ++ D1VVPnqzgEbhp5LJhGmjioNT2JV9ERTCfVxyIbtg9Nxmz3uTS9s0xrbhJB8kTHMJSlL/jm +C8KD2pPC23/bKNf3lWVySE915dEkG25k8aAi6l4Ic7g3urnvh+wCxIq3JgYqA== From: Sander Vanheule To: Yury Norov , Andy Shevchenko , Rasmus Villemoes , Brendan Higgins , David Gow , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com Cc: =?UTF-8?q?Ma=C3=ADra=20Canal?= , linux-kernel@vger.kernel.org, Sander Vanheule Subject: [PATCH v3 0/5] cpumask: KUnit test suite fixes and improvements Date: Tue, 23 Aug 2022 08:12:17 +0200 Message-Id: X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fixes the reported issues, and implements the suggested improvements, for the version of the cpumask tests [1] that was merged with commit c41e8866c28c ("lib/test: introduce cpumask KUnit test suite"). These changes include fixes for the tests, and better alignment with the KUnit style guidelines. [1] https://lore.kernel.org/all/85217b5de6d62257313ad7fde3e1969421acad75.1659077534.git.sander@svanheule.net/ Changes since v2: Link: https://lore.kernel.org/lkml/cover.1661007338.git.sander@svanheule.net/ - Update commit message of "lib/test_cpumask: drop cpu_possible_mask full test" - Use *_MSG() macros to only print mask contents on failure Changes since v1: Link: https://lore.kernel.org/lkml/cover.1660068429.git.sander@svanheule.net/ - Collect tags - Rewrite commit message of "lib/test_cpumask: drop cpu_possible_mask full test" - Also CC KUnit mailing list Sander Vanheule (5): lib/test_cpumask: drop cpu_possible_mask full test lib/test_cpumask: fix cpu_possible_mask last test lib/test_cpumask: follow KUnit style guidelines lib/cpumask_kunit: log mask contents lib/cpumask_kunit: add tests file to MAINTAINERS MAINTAINERS | 1 + lib/Kconfig.debug | 7 +++- lib/Makefile | 2 +- lib/{test_cpumask.c => cpumask_kunit.c} | 52 +++++++++++++++---------- 4 files changed, 38 insertions(+), 24 deletions(-) rename lib/{test_cpumask.c => cpumask_kunit.c} (58%) -- 2.37.2