git: 0306b707bc95 - stable/15 - 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:38:57 UTC
The branch stable/15 has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=0306b707bc955036f115749c288a77a5bdcc7691
commit 0306b707bc955036f115749c288a77a5bdcc7691
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:37:29 +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 a29b709e8a9d..59a811788826 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -2121,6 +2121,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_GOOGLETEST} == no