Skip to content

Add tests for center/right alignment for above-lines text - #431

Open
lbssousa wants to merge 10 commits into
gregorio-project:developfrom
lbssousa:fix-1768
Open

Add tests for center/right alignment for above-lines text#431
lbssousa wants to merge 10 commits into
gregorio-project:developfrom
lbssousa:fix-1768

Conversation

@lbssousa

@lbssousa lbssousa commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

lbssousa added 10 commits August 8, 2026 21:08
tests/gabc-gabc/glyphs and tests/gabc-output/glyphs are symlinks to
tests/gabc-dump/glyphs, so the .gabc added there in the gabc-dump
commit was already being exercised as a gabc-gabc round-trip test and
a gabc-output compile+render smoke test, just without expectations.
Add the missing .exp and .pdf, generated and accepted via the harness.
Running the full test suite against fix-1768 surfaced three unrelated,
pre-existing tests whose expectations were stale:

- gabc-gtex/bugs/fix-42-f.tex: \GreSetTextAboveLines's signature change
  (text -> alignment,text) affects any fixture using above-lines-text.
- gabc-gabc/bugs/fix-42-f.exp, gabc-gabc/glyphs/above_lines_text.exp,
  gabc-gabc/glyphs/clear.exp: gabc-write.c never serialized syllable-
  level <alt>...</alt> back to gabc on develop -- a pre-existing bug
  (the tag was silently dropped on a gabc->gabc round trip) that the
  above-lines-text-alignment feature's gabc-write.c change fixes as a
  side effect, since it needed to add that missing code path anyway to
  also emit the alignment suffix. These three fixtures documented the
  old (buggy) behavior; regenerated and accepted via the harness.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant