Am Donnerstag, 21. Mai 2015 um 02:50:23, schrieb Uwe Stöhr <[email protected]>
> Am 20.05.2015 um 14:44 schrieb Kornel Benko:
> 
> > But you do it already, calling 'development/cmake/build.bat' for instance.
> 
> Yes, I do.
> 
> > What is so difficult to add some line as 'ctest someting' in a script?
> 
> Well the "something" is exactly the problem. What should I add there and 
> what does ctest mean? I don't know command line commands.
> 
> regards Uwe

OK,
1.) 'ctest' is a command like 'build' or 'echo' which you use in build.bat
2.) 'something' means options and parameter to this command.

To see which tests are possible you can use parameter '-N'. This shows all 
tests on standard output.
The next option, '-R' needs as parameter regular expression used as filter for 
test names.
The 'ctest' command is to be called from the build directory, so your script 
has to include
        ...
        set LYX_BUILD=D:\LyXGit\Master\compile-result
        cd "%LYX_BUILD%"
        rem make only tex2lyx tests
        ctest -R tex2lyx

For a specific test use the complete test name e.g.

        ctest -R tex2lyx/roundtrip/test-refstyle-theorems.tex

The test results are stored in the file 
%LYX_BUILD%/Testing/Telmporary/LastTest.log

There are more options, but this should be enough for a start.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to