From c448ba9cc7c68b91a122e293402dcc96f511b655 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 30 Apr 2025 14:38:52 -0400 Subject: [PATCH] run_tests: only allow help2man skipping in CI Make sure we run this for local devs. Change-Id: I472b7c347086d54649dd9d5778eea4737447b353 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/471921 Tested-by: Mike Frysinger Reviewed-by: Scott Lee Commit-Queue: Mike Frysinger --- run_tests | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run_tests b/run_tests index ea34e675..9a8fad3b 100755 --- a/run_tests +++ b/run_tests @@ -104,7 +104,8 @@ def run_isort(): def run_update_manpages() -> int: """Returns the exit code from release/update-manpages.""" - if not shutil.which("help2mafn"): + # Allow this to fail on CI, but not local devs. + if is_ci() and not shutil.which("help2man"): print("update-manpages: help2man not found; skipping test") return 0