[liblouis-liblouisxml] Re: Why is there an error in this test run?

  • From: Keith Creasy <kcreasy@xxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Fri, 6 Jun 2014 10:38:34 +0000

OK. Thanks Bert. We'll run using make check. One of our first orders of 
business is to write a test to check every action to ensure that all work for 
both text and UTD output. 

Keith



-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Bert Frees
Sent: Friday, June 6, 2014 5:14 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: Why is there an error in this test run?

Keith and John,

There was a bug in the script indeed when run by itself and not through `make 
check`. I fixed that bug now, but it doesn't matter really. The script is 
supposed to be run with make check anyway because make takes care of setting 
LD_LIBRARY_PATH etc.

You may also consider setting the `colors` var in the script to false. It is 
merely a visual help for myself, but I noticed from your emails that it 
produces garbage in your shell.

Thanks,
Bert


Bert Frees writes:

> This used to work. Haven't used it for a while. Let me check what's wrong.
>
> Bert
>
> Keith Creasy writes:
>
>> Yes, this is what I found also. Thanks.
>>
>>
>> -----Original Message-----
>> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
>> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John 
>> J. Boyer
>> Sent: Thursday, June 05, 2014 10:56 AM
>> To: liblouis-liblouisxml@xxxxxxxxxxxxx
>> Subject: [liblouis-liblouisxml] Why is there an error in this test run?
>>
>> Below is a typescript of running the tests in liblouisutdml. There seems to 
>> be a problem in finding things.
>>
>> Script started on Thu 05 Jun 2014 09:48:57 AM CDT 
>> $31:3>./run_test_suite.sh
>> ---------------------------------------------------------------------
>> -----------
>> TESTS
>> ---------------------------------------------------------------------
>> -----------
>> ./run_test_suite.sh: 49: cd: can't cd to /test_suite/test_* Running test_*...
>> Can't find configuration file 'styles.cfg'
>> Can't open input file input.xml.
>>
>>    [1m[91mERROR[0m[0m
>>
>> Summary:
>> --------
>> Tests run: 1, Failures: 0, Expected failures: 0, Errors: 1
>>
>> $31:3>exit
>> exit
>>
>> Script done on Thu 05 Jun 2014 09:49:48 AM CDT
>>
>> John
For a description of the software, to download it and links to project pages go 
to http://www.abilitiessoft.com
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: