[liblouis-liblouisxml] Re: Running yaml tests manually

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 20 Apr 2017 11:46:55 +0200

On 04/20/2017 12:02 AM, James Teh wrote:

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

Thanks to this explanation. I added a comment in the documentation that uses your suggestion.

When Bert and I changed the handling of the test environment we had a balance to strike
- it needs to work when building from a different directory (such as when running `make distcheck`
- it should not pick up tables from directories you are not aware of.

That is why you have to specify tables with the "tables/" (or "tests/tables/") prefix.

Running individual YAML tests seems a bit cumbersome indeed. However I'm not sure if this was any better before the above change.

HTH
Christian

--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland


-----
Tag der offenen Tuer "Eine Reise durch die Schweiz"
Die SBS laedt Sie herzlich ein: 24. Juni 2017 von 9 bis 16 Uhr. Mehr Informationen erhalten Sie unter www.sbs.ch/offenetuer
For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: