summaryrefslogtreecommitdiffstats
path: root/run_tests
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2025-04-30 14:38:52 -0400
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2025-04-30 11:47:18 -0700
commitc448ba9cc7c68b91a122e293402dcc96f511b655 (patch)
tree985d4f7a8c01d744230d1a8a4660d9cc9805f5ea /run_tests
parent21cbcc54e99db175619959a5b185bbb4d9b81d5a (diff)
downloadgit-repo-c448ba9cc7c68b91a122e293402dcc96f511b655.tar.gz
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 <vapier@google.com> Reviewed-by: Scott Lee <ddoman@google.com> Commit-Queue: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'run_tests')
-rwxr-xr-xrun_tests3
1 files changed, 2 insertions, 1 deletions
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():
104 104
105def run_update_manpages() -> int: 105def run_update_manpages() -> int:
106 """Returns the exit code from release/update-manpages.""" 106 """Returns the exit code from release/update-manpages."""
107 if not shutil.which("help2mafn"): 107 # Allow this to fail on CI, but not local devs.
108 if is_ci() and not shutil.which("help2man"):
108 print("update-manpages: help2man not found; skipping test") 109 print("update-manpages: help2man not found; skipping test")
109 return 0 110 return 0
110 111