author | Alberto Bertogli
<albertito@blitiri.com.ar> 2025-06-09 10:59:10 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2025-06-09 10:59:10 UTC |
parent | 2482339969bacf911573a713501ef771a8aebce8 |
ipa.go | +6 | -1 |
test/golden/auto/etheria.png | +0 | -0 |
test/run.sh | +8 | -1 |
diff --git a/ipa.go b/ipa.go index 53a869a..c4770f0 100644 --- a/ipa.go +++ b/ipa.go @@ -38,7 +38,12 @@ var namesIPA = map[string]string{ "frosta": "fɹɔsta", "netossa": "nɛttɔsa", "spinnerella": "spɪnɝɛɫə", - "etheria": "iθiɹɑ", + + // In the show this appears written a few times, but with different + // spellings. The first glyph is fEET or pEt, and the last is All or fUn. + // We pick the one from the last episode, where it appears in the corridor + // towards the heart. + "etheria": "iθiɹiə", // These are words in English, but we want to make sure they're always // identified. diff --git a/test/golden/auto/etheria.png b/test/golden/auto/etheria.png index a696f96..207bcc2 100644 Binary files a/test/golden/auto/etheria.png and b/test/golden/auto/etheria.png differ diff --git a/test/run.sh b/test/run.sh index 4947e40..f02ae6d 100755 --- a/test/run.sh +++ b/test/run.sh @@ -50,7 +50,14 @@ if ! ls --zero golden/*.png golden/auto/*.png | parallel -0 --results .3-compare magick compare -metric SSIM -compose src \ {} .2-render/{/.}.png .2-render/{/.}-diff.png ; then - grep -v '^1$' .3-compare/*.err + for i in $(grep --files-with-matches -v '^1$' .3-compare/*.err); do + C="$(basename "$i" .err)" + echo "$C differs!" + echo " view: test/.2-render/$C.png" + echo " diff: test/.2-render/$C-diff.png" + echo " accept: cp test/.2-render/$C.png test/golden/auto/" + echo + done fail fi