From nobody Mon Nov 23 02:07:51 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jXq8l5xppz71h2D for ; Mon, 23 Nov 2026 02:07:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4jXq8l561Dz3FLd for ; Mon, 23 Nov 2026 02:07:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795399671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=13RabSLWQzooRuN6i0FroAyhH0BR//Aw2eSwOlkBgJ0=; b=sMwe5N8FvmZB+6eCPainlfEn33DdyGrOP/y5LZXpH8dUbbVnJSvWISxYFMsdww+Al/dHgX X9cZ+1K6NiRWCYneF5m3PgTy4v4Zh2qbPR5fqnqgOn+o4X14zlS2Ts9+0nMputd3gS1cb5 Dv3jw3MckYEgOpM81OJ4A7bWFrV8rPZrA/ia3nKe+r7GO1iJySmTH26SVGULCbAwxlCKDZ msCAzX0sUB9NJwhzB7poCtvoBKDJJwiZ5/+UGqmSeRTTQaVjvPTMqvT1r1LbsNFvnxP6LI oFZjBeiFi3Ppvwtk/2ioPH2+8titdrqm0l59KUBBxj4gqFsvC6muh3h8o87pzQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795399671; b=lSkqLcjQj6OyXwHUfcjOEDNZ9gwL3jsGM2/6Fc9+EyVbWU3eyx687hIm1Cq7vnsWFvKXGr qQOOZKVNROYDY8ddQwZ4DNZzi9S17OrGbj5JOVk4u0jaN7OEA0So1fwPzWbuOzlRbnMrkc Hxg37Km/5/Is2KzLx3yjfegcEjHl5rnl1GBE1JE+xkW6gkAg+xauhPGfQMz990/LFDPUl6 J6sgvCrkQ2DP2eN5I77e9n80llkXZvXo6nOHeoLcne/oy++3klCR75m9HUQyLmZwAVutUo exBk3FsEalLvPCcBlhpI1t7eBr4/NWSJHX4+1CvEAI7oLmLSdKDAaKhmo0t9/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795399671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=13RabSLWQzooRuN6i0FroAyhH0BR//Aw2eSwOlkBgJ0=; b=V2vcxL9Rz2DHWzttKQhEHy541cXs/jbUTJJku7KjupeFhJGtESzJjJifUNn+lzVcCq31wv 0NMtux+jttDRsOS5rBh8yGEUU6yb/x6ItWHJiJDgiidfkN0JYyXG+qjBYDk/O346VTTc16 2CkcWUIturtCb2j/8hzldgoFGo03RK+F1jhLn+hJmKuaZzGVyP0MR/OATTtLHJYZpQOcWt 3Fs9uBvUnN69pAHnXelzocHWscyE7vEP5ZHPUnEw5zJkem8cRIEy0qXk3+JogVbcxMOTN9 lgu/sSvhvMd4m9HwP53FjO3GVayrHwTyI5a7VKcPwspqzJPBUXQlb6okwDKWLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jXq8l4k5NzVr0 for ; Mon, 23 Nov 2026 02:07:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 7eb1 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 23 Nov 2026 02:07:51 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Enji Cooper Subject: git: a0e5c02ffebe - stable/15 - Remove CDDL and ctfconvert tests when their controlling knobs are disabled List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ngie X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: a0e5c02ffebef6ee22f5a6e1102f66bb0b60102a Auto-Submitted: auto-generated Date: Mon, 23 Nov 2026 02:07:51 +0000 Message-Id: <6b039ff7.7eb1.4022921b@gitrepo.freebsd.org> The branch stable/15 has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=a0e5c02ffebef6ee22f5a6e1102f66bb0b60102a commit a0e5c02ffebef6ee22f5a6e1102f66bb0b60102a Author: Enji Cooper AuthorDate: 2026-09-22 02:46:52 +0000 Commit: Enji Cooper CommitDate: 2026-11-23 02:07:25 +0000 Remove CDDL and ctfconvert tests when their controlling knobs are disabled In the event someone specified MK_CDDL == no prior to this change, all tests under `/usr/tests/cddl` would stick around after the change, resulting in errors. Similarly, MK_DTRACE == no removed ctfconvert, which the ctfconvert tests relied on (but remained around after the knob was disabled). Remove the tests under the respective blocks now so they don't linger around on systems where these knobs are disabled, resulting in false positives when running the complete test suite. The ctfconvert tests weren't specifically put under `${MK_DTRACE_TESTS}` == no because ctfconvert was bundled separately from the upstream provided Dtrace test suite. MFC after: 2 weeks MFC with: 30c20ca26 ("Remove Dtrace/ZFS tests if their knobs are disabled") (cherry picked from commit df6131e2b74d9f334c16387e9a46cafd6e27eb78) --- tools/build/mk/OptionalObsoleteFiles.inc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 9f0348a2581b..3b1e09f94b1d 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -1441,6 +1441,18 @@ OLD_FILES+=usr/share/man/man1/llvm-pdbutil.1.gz OLD_FILES+=usr/share/man/man1/opt.1.gz .endif +.if ${MK_CDDL} == no +CDDL_TEST_DIRS= cddl +. for d in ${CDDL_TEST_DIRS} +. if exists(${DESTDIR}${TESTSBASE}/${d}/) +TESTS_DIRS!=find ${DESTDIR}${TESTSBASE}/${d}/ -type d | sed -e 's,^${DESTDIR}/,,'; echo +OLD_DIRS+=${TESTS_DIRS} +TESTS_FILES!=find ${DESTDIR}${TESTSBASE}/${d}/ -type f | sed -e 's,^${DESTDIR}/,,'; echo +OLD_FILES+=${TESTS_FILES} +. endif +. endfor +.endif + .if ${MK_CLANG_EXTRAS} == no && ${MK_CLANG_FORMAT} == no OLD_FILES+=usr/bin/clang-format .endif @@ -1713,6 +1725,16 @@ OLD_DIRS+=usr/lib${libcompat}/dtrace OLD_DIRS+=usr/libexec/dwatch OLD_DIRS+=usr/share/dtrace/toolkit OLD_DIRS+=usr/share/dtrace + +CTFCONVERT_TEST_DIRS= cddl/usr.bin/ctfconvert +. for d in ${CTFCONVERT_TEST_DIRS} +. if exists(${DESTDIR}${TESTSBASE}/${d}/) +TESTS_DIRS!=find ${DESTDIR}${TESTSBASE}/${d}/ -type d | sed -e 's,^${DESTDIR}/,,'; echo +OLD_DIRS+=${TESTS_DIRS} +TESTS_FILES!=find ${DESTDIR}${TESTSBASE}/${d}/ -type f | sed -e 's,^${DESTDIR}/,,'; echo +OLD_FILES+=${TESTS_FILES} +. endif +. endfor .endif .if ${MK_DTRACE_TESTS} == no