Skip to content

Commit

Permalink
Merge pull request #995 from googlefonts/ttx-diff-truncate-from-back
Browse files Browse the repository at this point in the history
[ttx_diff] If truncating stderr, truncate head
  • Loading branch information
rsheeter authored Oct 3, 2024
2 parents 771b14f + 1ddb86d commit 7395150
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/scripts/ttx_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,12 +606,12 @@ def main(argv):
build_fontc(source.resolve(), fontc_manifest_path, build_dir, compare)
except BuildFail as e:
failures["fontc"] = {"command": " ".join(
e.command), "stderr": e.stderr[:MAX_ERR_LEN]}
e.command), "stderr": e.stderr[-MAX_ERR_LEN:]}
try:
build_fontmake(source.resolve(), build_dir, compare)
except BuildFail as e:
failures["fontmake"] = {"command": " ".join(
e.command), "stderr": e.stderr[:MAX_ERR_LEN]}
e.command), "stderr": e.stderr[-MAX_ERR_LEN:]}

report_errors_and_exit_if_there_were_any(failures)

Expand Down

0 comments on commit 7395150

Please sign in to comment.