From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D49A76048 for ; Fri, 11 Oct 2024 07:30:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728631858; cv=none; b=EGDxFXYY+X2on0XhQ5DCa7kEXDdBru0r+YrSsSTlm/uu6Z4EjdKNYVmjweSkS9j762OdqSRapTKvBdqxjoxR+8VKK9pQlXkJj95/xZA57hCHY6qQ6HlnKcrbd1JS0UYsWgxooZeHj19hJ18pMB1M6DLwAPP+qofX2CVHpyRmj+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728631858; c=relaxed/simple; bh=jhMA/QLCieigTnYYROpPY8AL1QJuHIldTPfMchqHtnQ=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=fuPoNZ8i7OW0ZYxe/TRaqjpuAPuAp2Y82X1pQireedxGZzYbL2QJhQaiEEzwVza4+yXKaT5hg6aA2gwdB6KSlHgb0rOOzkhleGrE9GRUkoRNJ+Xo6PeQJ8RddU8be6uPiOujf9nCgGK9CVi8hhjsx+ainj0zy6ckfTSCMRT/J8Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--davidgow.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=vkPdpoBW; arc=none smtp.client-ip=209.85.219.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--davidgow.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="vkPdpoBW" Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-e0b8fa94718so2543159276.0 for ; Fri, 11 Oct 2024 00:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1728631856; x=1729236656; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id :mime-version:date:from:to:cc:subject:date:message-id:reply-to; bh=+ieNIZIvQhGiMx7MBdNBRx3MY2c4Ipc7B769GYKuhAU=; b=vkPdpoBWDfo0EmmZ6pzX7HakmjsOjQSQ232mNF1nZfo5BICxvTm/jhD/JI9RTskH/D 9JiHlWKsWM4w989/mMV8+jDp2t3RvGiJ916t/+kYIpzZfr3V1ucNCgITtLAuLEpnDZKS vFmeIfA6h2eECndvD4loPzIe23i2AKVrqdyYhwvzjCIrlTBgwl6NgMm7lIRTAv8MxOKq uwnpKFn1ONBlbrovKDEfu0D+Fgn4Gxm2bLfE370Nv3wGu6FDSKfdNfDkK8pDf5EYVgWY 3abajQ5cog04nRviLYjyPd+Ox89LnaGGwIbMv3jC9CrGXtejstwasiXQcnbpdbJrQb0q qBfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728631856; x=1729236656; h=content-transfer-encoding:cc:to:from:subject:message-id :mime-version:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+ieNIZIvQhGiMx7MBdNBRx3MY2c4Ipc7B769GYKuhAU=; b=XUKS9rneyrnkd/H8Or5/sjc0BjYYDkZw7TXPEv4SWaDaLBepEoRmky2lA6fdxc7WN0 +jLRHPKvjmXy5+JSnob+SAQRm9ffZCJzjZqr+e7YZaqo6AAnofO/yxU7fXj2QvFaLv2S 2bbPTNFWQrrjefAfiuQOmaJ8cd3jRLpAEfZjqlvnhviCIqEXB+r3oBGBUhFmaQ4QDo8a vaBEHXnrXE9W4DXbdBZhSzCNAMYdPaDfRSqZ6edWMPAFkDYWfhiASvo9DcH/YTthL49b qUDy8VglRiuGOmFd6i76Kt/tvDOlrhD3JhTojBikNu0O2SEeLR97mWMCaEBx/14NN1r9 BrpQ== X-Forwarded-Encrypted: i=1; AJvYcCVgV29PQBOLR2C9hrjw/RBKKOgayLb2gLf8X+P39ht7WgrPUG/PZBwyctj6sd+MyHW8/iaDTambN0mfwyM=@vger.kernel.org X-Gm-Message-State: AOJu0YzlLbOXkryYfZFrxce4PACw09gMp3INgBDYYwsJwdgRhoRv8fmH EiRPHGGMpNtk2atbYGOZcZWJQjOFhWBvz5iNH8Jrynj9LanN7JQVwR2IFUJ3GVqiFq3JlwIN4EC 3XRyV5/HKug== X-Google-Smtp-Source: AGHT+IE0ePNXz/vSuw3M1OFtmXAeLRhKk4WtKB9j9MsyYVGcSaA4NCqVZKE0+I9SPYt3TnkQr6jBKJGmNvL3pQ== X-Received: from slicestar.c.googlers.com ([fda3:e722:ac3:cc00:b1:7045:ac11:6237]) (user=davidgow job=sendgmr) by 2002:a25:8049:0:b0:e28:ee55:c3d with SMTP id 3f1490d57ef6-e2919dc14efmr6193276.1.1728631855960; Fri, 11 Oct 2024 00:30:55 -0700 (PDT) Date: Fri, 11 Oct 2024 15:25:04 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.47.0.rc1.288.g06298d1525-goog Message-ID: <20241011072509.3068328-2-davidgow@google.com> Subject: [PATCH 0/6] KUnit test moves / renames From: David Gow To: Andrew Morton , Shuah Khan , Brendan Higgins , Rae Moar , Kees Cook Cc: linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, Stephen Rothwell , David Gow Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable As discussed in [1], the KUnit test naming scheme has changed to avoid name conflicts (and tab-completion woes) with the files being tested. These renames and moves have caused a nasty set of merge conflicts, so this series collates and rebases them all to be applied via mm-nonmm-unstable alongside any lib/ changes[2]. Thanks to everyone whose patches appear here, and everyone who reviewed on the original series. I hope I didn't break them too much during the rebase! Link: https://lore.kernel.org/lkml/20240720165441.it.320-kees@kernel.org/ [= 1] Link: https://lore.kernel.org/lkml/CABVgOSmbSzcGUi=3DE4piSojh3A4_0GjE0fAYbq= KjtYGbE9beYRQ@mail.gmail.com/ [2] --- Bruno Sobreira Fran=C3=A7a (1): lib/math: Add int_log test suite Diego Vieira (1): lib/tests/kfifo_kunit.c: add tests for the kfifo structure Gabriela Bittencourt (2): unicode: kunit: refactor selftest to kunit tests unicode: kunit: change tests filename and path Kees Cook (1): lib: Move KUnit tests into tests/ subdirectory Luis Felipe Hernandez (1): lib: math: Move kunit tests into tests/ subdir MAINTAINERS | 19 +- arch/m68k/configs/amiga_defconfig | 2 +- arch/m68k/configs/apollo_defconfig | 2 +- arch/m68k/configs/atari_defconfig | 2 +- arch/m68k/configs/bvme6000_defconfig | 2 +- arch/m68k/configs/hp300_defconfig | 2 +- arch/m68k/configs/mac_defconfig | 2 +- arch/m68k/configs/multi_defconfig | 2 +- arch/m68k/configs/mvme147_defconfig | 2 +- arch/m68k/configs/mvme16x_defconfig | 2 +- arch/m68k/configs/q40_defconfig | 2 +- arch/m68k/configs/sun3_defconfig | 2 +- arch/m68k/configs/sun3x_defconfig | 2 +- arch/powerpc/configs/ppc64_defconfig | 2 +- fs/unicode/Kconfig | 5 +- fs/unicode/Makefile | 2 +- fs/unicode/tests/.kunitconfig | 3 + .../{utf8-selftest.c =3D> tests/utf8_kunit.c} | 149 ++++++------ fs/unicode/utf8-norm.c | 2 +- lib/Kconfig.debug | 31 ++- lib/Makefile | 36 +-- lib/math/Makefile | 5 +- lib/math/tests/Makefile | 6 +- .../{test_div64.c =3D> tests/div64_kunit.c} | 0 lib/math/tests/int_log_kunit.c | 75 ++++++ .../mul_u64_u64_div_u64_kunit.c} | 2 +- .../rational_kunit.c} | 0 lib/tests/Makefile | 39 +++ lib/{ =3D> tests}/bitfield_kunit.c | 0 lib/{ =3D> tests}/checksum_kunit.c | 0 lib/{ =3D> tests}/cmdline_kunit.c | 0 lib/{ =3D> tests}/cpumask_kunit.c | 0 lib/{ =3D> tests}/fortify_kunit.c | 0 lib/{ =3D> tests}/hashtable_test.c | 0 lib/{ =3D> tests}/is_signed_type_kunit.c | 0 lib/tests/kfifo_kunit.c | 224 ++++++++++++++++++ lib/{ =3D> tests}/kunit_iov_iter.c | 0 lib/{ =3D> tests}/list-test.c | 0 lib/{ =3D> tests}/memcpy_kunit.c | 0 lib/{ =3D> tests}/overflow_kunit.c | 0 lib/{ =3D> tests}/siphash_kunit.c | 0 lib/{ =3D> tests}/slub_kunit.c | 0 lib/{ =3D> tests}/stackinit_kunit.c | 0 lib/{ =3D> tests}/string_helpers_kunit.c | 0 lib/{ =3D> tests}/string_kunit.c | 0 lib/{ =3D> tests}/test_bits.c | 0 lib/{ =3D> tests}/test_fprobe.c | 0 lib/{ =3D> tests}/test_hash.c | 0 lib/{ =3D> tests}/test_kprobes.c | 0 lib/{ =3D> tests}/test_linear_ranges.c | 0 lib/{ =3D> tests}/test_list_sort.c | 0 lib/{ =3D> tests}/test_sort.c | 0 lib/{ =3D> tests}/usercopy_kunit.c | 0 53 files changed, 474 insertions(+), 150 deletions(-) create mode 100644 fs/unicode/tests/.kunitconfig rename fs/unicode/{utf8-selftest.c =3D> tests/utf8_kunit.c} (64%) rename lib/math/{test_div64.c =3D> tests/div64_kunit.c} (100%) create mode 100644 lib/math/tests/int_log_kunit.c rename lib/math/{test_mul_u64_u64_div_u64.c =3D> tests/mul_u64_u64_div_u64= _kunit.c} (98%) rename lib/math/{rational-test.c =3D> tests/rational_kunit.c} (100%) create mode 100644 lib/tests/Makefile rename lib/{ =3D> tests}/bitfield_kunit.c (100%) rename lib/{ =3D> tests}/checksum_kunit.c (100%) rename lib/{ =3D> tests}/cmdline_kunit.c (100%) rename lib/{ =3D> tests}/cpumask_kunit.c (100%) rename lib/{ =3D> tests}/fortify_kunit.c (100%) rename lib/{ =3D> tests}/hashtable_test.c (100%) rename lib/{ =3D> tests}/is_signed_type_kunit.c (100%) create mode 100644 lib/tests/kfifo_kunit.c rename lib/{ =3D> tests}/kunit_iov_iter.c (100%) rename lib/{ =3D> tests}/list-test.c (100%) rename lib/{ =3D> tests}/memcpy_kunit.c (100%) rename lib/{ =3D> tests}/overflow_kunit.c (100%) rename lib/{ =3D> tests}/siphash_kunit.c (100%) rename lib/{ =3D> tests}/slub_kunit.c (100%) rename lib/{ =3D> tests}/stackinit_kunit.c (100%) rename lib/{ =3D> tests}/string_helpers_kunit.c (100%) rename lib/{ =3D> tests}/string_kunit.c (100%) rename lib/{ =3D> tests}/test_bits.c (100%) rename lib/{ =3D> tests}/test_fprobe.c (100%) rename lib/{ =3D> tests}/test_hash.c (100%) rename lib/{ =3D> tests}/test_kprobes.c (100%) rename lib/{ =3D> tests}/test_linear_ranges.c (100%) rename lib/{ =3D> tests}/test_list_sort.c (100%) rename lib/{ =3D> tests}/test_sort.c (100%) rename lib/{ =3D> tests}/usercopy_kunit.c (100%) --=20 2.47.0.rc1.288.g06298d1525-goog