git: 2033efe8bd02 - stable/14 - usr.bin/factor: remove tests when MK_GAMES=no
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Feb 2026 03:43:27 UTC
The branch stable/14 has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=2033efe8bd023bfdfe7b1354ea3f2151b2de864c
commit 2033efe8bd023bfdfe7b1354ea3f2151b2de864c
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-02-03 05:40:50 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-02-22 03:43:07 +0000
usr.bin/factor: remove tests when MK_GAMES=no
factor(1) is only installed when MK_GAMES != no. Ergo, remove the tests
when that's not true.
MFC after: 1 week
(cherry picked from commit 7baa76c30c833750007e8d8823c9f5d94f5b2925)
---
tools/build/mk/OptionalObsoleteFiles.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 52bf3224e8d9..e5626cf2144f 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -2104,6 +2104,10 @@ OLD_FILES+=usr/share/man/man6/random.6.gz
OLD_FILES+=usr/share/man/man6/rot13.6.gz
OLD_FILES+=usr/share/man/man8/strfile.8.gz
OLD_FILES+=usr/share/man/man8/unstr.8.gz
+OLD_FILES+=usr/tests/usr.bin/factor/factor_tests
+OLD_FILES+=usr/tests/usr.bin/factor/primes_tests
+OLD_FILES+=usr/tests/usr.bin/factor/Kyuafile
+OLD_DIRS+=usr/tests/usr.bin/factor
.endif
.if ${MK_GH_BC} == no