Skip to content

Commit c448ba9

Browse files
vapierLUCI
authored and
LUCI
committed
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 <[email protected]> Reviewed-by: Scott Lee <[email protected]> Commit-Queue: Mike Frysinger <[email protected]>
1 parent 21cbcc5 commit c448ba9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

run_tests

+2-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def run_isort():
104104

105105
def run_update_manpages() -> int:
106106
"""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"):
108109
print("update-manpages: help2man not found; skipping test")
109110
return 0
110111

0 commit comments

Comments
 (0)