[liblouis-liblouisxml] Re: Running yaml tests manually

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Thu, 20 Apr 2017 10:37:46 +0200

make check indeed uses the LOUIS_TABLEPATH environment variable to make it
work.

The tests that make check runs are special in the sense that their table
paths are relative to the base directory. That is why the LOUIS_TABLEPATH
is needed. I'm not really happy with this solution, I would have liked
things to be simpler, but we had to make a compromise.

If you just want to run a single test in the tests/yaml directory, do it
like Jamie suggested (if possibly).

If this is not possible (e.g. you don't have make), set the LOUIS_TABLEPATH
variable.

If you want to run a newly created test, simply make the table path
relative to the YAML file.





2017-04-20 0:02 GMT+02:00 James Teh <jamie@xxxxxxxxxxxx>:

Also, if you just want to run a single test, you can do this with make
check:
cd tests
make check TESTS=yaml/en-ueb-g2_backward.yaml



On 20 Apr 2017, at 7:58 am, Dave Mielke <dave@xxxxxxxxx> wrote:

[quoted lines by Bue Vester-Andersen on 2017/04/19 at 21:47 +0200]

What is the easiest way to run yaml tests manually?

Set the LOUIS_TABLEPATH environment variable to the top-level LibLouis
directory.


Other related posts: