git: 7baa76c30c83 - main - usr.bin/factor: remove tests when MK_GAMES=no

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Tue, 03 Feb 2026 05:42:12 UTC
The branch main has been updated by ngie:

URL: https://cgit.FreeBSD.org/src/commit/?id=7baa76c30c833750007e8d8823c9f5d94f5b2925

commit 7baa76c30c833750007e8d8823c9f5d94f5b2925
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-02-03 05:40:50 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-02-03 05:42:03 +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
---
 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 e4deee31dc77..8eeeb25c4fa4 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -2149,6 +2149,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