Re: ctests: give output of LaTeX error

2016-10-11 Thread Scott Kostyshak
On Tue, Oct 11, 2016 at 01:51:05PM +0200, Kornel Benko wrote: > Try this patch. Setting env var LYX_DEBUG_LATEX to '1' will produce logs with > latex. > No change of logs if set to '0' or not set at all. Looks good. If that covers Günter's request I think it makes sense to go in, at least until

Re: ctests: give output of LaTeX error

2016-10-11 Thread Kornel Benko
Am Montag, 10. Oktober 2016 um 19:44:09, schrieb Kornel Benko > Am Montag, 10. Oktober 2016 um 09:56:00, schrieb Scott Kostyshak > > > On Mon, Oct 10, 2016 at 07:56:39AM +, Guenter Milde wrote: > > > > > > Difficult. > > > > > > Then the debug output for inverted and suspended tests would be

Re: ctests: give output of LaTeX error

2016-10-10 Thread Kornel Benko
Am Montag, 10. Oktober 2016 um 09:56:00, schrieb Scott Kostyshak > On Mon, Oct 10, 2016 at 07:56:39AM +, Guenter Milde wrote: > > > > Difficult. > > > > Then the debug output for inverted and suspended tests would be fine as > > workaround until we have the "keep the tempdir" option. > >

Re: ctests: give output of LaTeX error

2016-10-10 Thread Scott Kostyshak
On Mon, Oct 10, 2016 at 07:56:39AM +, Guenter Milde wrote: > > Difficult. > > Then the debug output for inverted and suspended tests would be fine as > workaround until we have the "keep the tempdir" option. +1 Also note that it is easy to turn the -dbg on. For example, you might want to d

Re: ctests: give output of LaTeX error

2016-10-10 Thread Guenter Milde
Dear Kornel and Scott, On 2016-10-09, Kornel Benko wrote: > Am Sonntag, 9. Oktober 2016 um 17:55:49, schrieb Scott Kostyshak > >> On Sun, Oct 09, 2016 at 09:28:47PM +, Guenter Milde wrote: >> > On 2016-10-09, Scott Kostyshak wrote: ... >> > > ... Günter, do you want the log output for >> >

Re: ctests: give output of LaTeX error

2016-10-09 Thread Kornel Benko
Am Sonntag, 9. Oktober 2016 um 17:55:49, schrieb Scott Kostyshak > On Sun, Oct 09, 2016 at 09:28:47PM +, Guenter Milde wrote: > > On 2016-10-09, Scott Kostyshak wrote: > > > > Good idea. Assuming we do not have many inverted tests that would keep > > > the file size of the log down. Günter,

Re: ctests: give output of LaTeX error

2016-10-09 Thread Scott Kostyshak
On Sun, Oct 09, 2016 at 09:28:47PM +, Guenter Milde wrote: > On 2016-10-09, Scott Kostyshak wrote: > > Good idea. Assuming we do not have many inverted tests that would keep > > the file size of the log down. Günter, do you want the log output for > > the non-inverted tests also? > > Preferab

Re: ctests: give output of LaTeX error

2016-10-09 Thread Guenter Milde
On 2016-10-09, Scott Kostyshak wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > On Sun, Oct 09, 2016 at 07:46:24PM +0200, Kornel Benko wrote: >> Am Sonntag, 9. Oktober 2016 um 19:21:57, schrieb Kornel Benko >> >> > Am Sonntag, 9. Oktober 2016 um 12:38:44, schrieb Scott Kostyshak

Re: ctests: give output of LaTeX error

2016-10-09 Thread Scott Kostyshak
On Sun, Oct 09, 2016 at 07:46:24PM +0200, Kornel Benko wrote: > Am Sonntag, 9. Oktober 2016 um 19:21:57, schrieb Kornel Benko > > Am Sonntag, 9. Oktober 2016 um 12:38:44, schrieb Scott Kostyshak > > > > > Is it possible to show the -dbg output only when there was an error? I > > > don't know if

Re: ctests: give output of LaTeX error

2016-10-09 Thread Kornel Benko
Am Sonntag, 9. Oktober 2016 um 19:21:57, schrieb Kornel Benko > Am Sonntag, 9. Oktober 2016 um 12:38:44, schrieb Scott Kostyshak > > > When encountering a ctest failure, we must run the test manually to see > > what the LaTeX error. It would be nice to be able to see the LaTeX error > > from the

Re: ctests: give output of LaTeX error

2016-10-09 Thread Kornel Benko
Am Sonntag, 9. Oktober 2016 um 12:38:44, schrieb Scott Kostyshak > When encountering a ctest failure, we must run the test manually to see > what the LaTeX error. It would be nice to be able to see the LaTeX error > from the ctest logs. The following tickets are related: > http://www.lyx.org/trac

ctests: give output of LaTeX error

2016-10-09 Thread Scott Kostyshak
When encountering a ctest failure, we must run the test manually to see what the LaTeX error. It would be nice to be able to see the LaTeX error from the ctest logs. The following tickets are related: http://www.lyx.org/trac/ticket/9931 http://www.lyx.org/trac/ticket/9866 One possibility would be