Wrap overlay text instead of cutting it; the project check is a regression check, renamed check.sh; concrete Headroom steps; Mouse-1 measured
This commit is contained in:
@@ -126,9 +126,11 @@ def verify_command(issue, worktree):
|
||||
m = VERIFY_RE.search(issue.get("description") or "")
|
||||
if m:
|
||||
return m.group("cmd").strip(), "from the task description"
|
||||
project_script = os.path.join(worktree, ".harness", "verify.sh")
|
||||
if os.path.isfile(project_script):
|
||||
return ".harness/verify.sh", "the project's .harness/verify.sh"
|
||||
# The project's own check. check.sh is the current name; verify.sh is what
|
||||
# the earlier project wrote, and is still honoured.
|
||||
for name in (".harness/check.sh", ".harness/verify.sh"):
|
||||
if os.path.isfile(os.path.join(worktree, name)):
|
||||
return name, "the project's " + name
|
||||
return None, "none"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user