[liblouis-liblouisxml] SV: Re: Running yaml tests manually

  • From: Bue Vester-Andersen <bue@xxxxxxxxxxxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Thu, 20 Apr 2017 12:26:10 +0200

Hello Dave, James, and Bert,

 

Thanks for the good advice. I had already been experimenting with the 
LOU_TABLEPATH variable, but I thought it was to point directly to the tables 
directory.

 

Bue

 

 

Fra: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] På vegne af Bert Frees
Sendt: 20. april 2017 10:38
Til: liblouis-liblouisxml@xxxxxxxxxxxxx
Emne: [liblouis-liblouisxml] Re: Running yaml tests manually

 

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 
<mailto: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 < <mailto:dave@xxxxxxxxx
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: