Am Mittwoch, 28. Oktober 2015 um 18:56:39, schrieb Stephan Witt <st.w...@gmx.net> > Am 28.10.2015 um 17:19 schrieb Scott Kostyshak <skost...@lyx.org>: > > > On Wed, Oct 28, 2015 at 05:02:33PM +0100, Kornel Benko wrote: > >> Am Dienstag, 27. Oktober 2015 um 14:33:59, schrieb Kornel Benko > >> <kor...@lyx.org> > >>> Am Dienstag, 27. Oktober 2015 um 12:34:47, schrieb Kornel Benko > >>> <kor...@lyx.org> > >>>> Am Dienstag, 27. Oktober 2015 um 11:48:20, schrieb Vincent van > >>>> Ravesteijn <v...@lyx.org> > >>>>>>> > >>>>>>> Well yes, there is no "env" command on Windows. > >>> > >>> ... > >>> > >>> I tried to remove 'env'. The attached still works for me. > >>> > >>>>> Vincent > >>>> > >> > >> It looks like the relevant code to set environment for tests added by > >> add_test() command > >> is in the cmake-sources at lest since february 2009. Searching the net, > >> there are posts > >> mentioning cmake2.6 with this feature. > >> > >> So I cannot imagine, why the patch should break anything on linux. But it > >> may help for Windows. > >> (new file env_custom_command.cmake belongs to src/tex2lyx/test/ dir) > > > > And for Mac now that Stephan has taken a crack at running them, > > hopefully he will let us know if this commit changes anything (but as > > you say, this is not expected). > > No, it doesn't change anything on Mac. With git master at > e430586ec36e2bb1646191682f434e45fb871d26 I have: > > $ ctest -C Debug -R 'export/doc/.*_texF$' -j8 > ... > 77% tests passed, 70 tests failed out of 302 > > Label Time Summary: > export = 8710.41 sec > reverted = 935.73 sec > > Total Test time (real) = 1119.05 sec > > Stephan
Stephan, the change should effect only 1.) ctest -R check_layout 2.) target updatetex2lyxtests, e.g. "make updatetex2lyxtests" so I don't wonder too much :) Kornel
signature.asc
Description: This is a digitally signed message part.