[lltx] fontspec test suite

Will Robertson wspr81 at gmail.com
Fri Jun 4 16:24:10 CEST 2010


On 04/06/2010, at 11:34 PM, Manuel Pégourié-Gonnard wrote:

> Yep, we need to create it. You'll probably add mkdir -p build in a next version.

I will, will I? :)


> Atm, I've got two problems:
> - my shell's test command (aka [) doesn't seem to like '=='. Since I don't see
> it listed on [1], I assume it's better to use '='. Also, as a general rule, it
> is safer to prepend something to the strings being tested, like
> 
> test "x$a" = "x$b"
> 
> so as to avoid problems with strings starting with special symbols, as well as
> empty strings.

Ah yes; I've seen that before.


> - I'm afraid the second problem is more serious: my compare command doesn't
> include the string "dB" in its output:
[...]
> 
> which make your grep fail on the output fail. Probably a version issue?
> 
> mpg at roth:~/tex/packages/fontspec% compare --version                      (test)
> Version: ImageMagick 6.6.0-4 2010-03-17 Q16 http://www.imagemagick.org

Unfortunately yes: I've only got 6.2.9 09/24/06. MacTeX must has a particularly old version.


> Or maybe we can combine both modes: ship the .safe.pdf files (I think they are
> valuable) and allow a (local) regression-testing mode. It should be doable by
> adjusting the location of the reference files depending on the target.

That's a good idea.


-- Will




More information about the lualatex-dev mailing list