On Sun, May 30, 2010 at 05:44:08PM +0200, Manuel Pégourié-Gonnard wrote: > Le 30/05/2010 17:35, Will Robertson a écrit : > > $ luatex tests/color.tex > > [...] > > ! LuaTeX error ./otfl-font-otf.lua:314: attempt to index local 'bb' (a > > number v > > alue). > > <to be read again> > > \font > > l.6 \font > > > > \testb=file:lmroman10-regular.otf:color=FFFF0099;+liga;+tlig;+trep"... > > > > > > But if I first `cd tests` & then `luatex color.tex` then things work fine. > > Is `make check` not quite doing the right thing or is just that I'm still > > on TL09? > > > The culprit is probably that files from the current working directory are > found > first, so when you change your working directory, you also change the version > used (easy to check in the log). > > I think the makefile is doing the right thing by running in the top-level > directory, so that the current version is hopefully used instead of the system > version.
Note that, for some tests, names texligatures and opbd, luatex must be run from the tests directory to find the *.fea files, otherwise the visual result of the tests will be wrong. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
