Am Montag, 22. August 2016 um 20:02:01, schrieb Guillaume Munch <g...@lyx.org> > Le 20/08/2016 à 15:31, Scott Kostyshak a écrit : > > On Sat, Aug 20, 2016 at 02:25:16PM +0100, Guillaume Munch wrote: > >> Le 08/08/2016 à 17:40, Richard Heck a écrit : > >>> > >>> (We did not do a format change for that.) > >> > >> > >> I am worried at the idea of certain commits introducing hidden file > >> format changes. Is there a test somewhere that I could use, to check > >> that lyx writes the files identically as it does in earlier stable > >> releases? > > > > I don't think we currently have such tests. We only have tests relating > > to format, nothing to minor LyX releases. > > > > Thanks. How would I go about implementing such a test, re-using the > current machinery? It would be a simple opening, saving and comparing of > a list of lyx files (e.g. lib/doc). Easy enough to do with a bash > script. However I'm looking for the appropriate way. >
If something is easy to do with a shell script, then it is also easy to use a cmake script. Be invbratst : the testname invbratst.cmake : the cmake script ... : needed parameters to the script ??? : location of the script Embedding it in the cmake test machinery will look like: add_test(invbratst COMMAND ${CMAKE_COMMAND} ... -P ${TOP_SRC_DIR}/???/invbratst.cmake) Kornel
signature.asc
Description: This is a digitally signed message part.