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
This commit is contained in:
Enji Cooper
2026-02-02 21:40:50 -08:00
parent 1ccee516ed
commit 7baa76c30c
+4
View File
@@ -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