Failed about 150 export tests

Kornel Benko kornel at lyx.org
Tue Aug 16 16:40:52 UTC 2022


Am Tue, 16 Aug 2022 18:28:57 +0200
schrieb Kornel Benko <kornel at lyx.org>:

> Am Tue, 16 Aug 2022 17:59:12 +0200
> schrieb "Jürgen Spitzmüller" <jspitzm at gmail.com>:
> 
> > Am Dienstag, dem 16.08.2022 um 17:14 +0200 schrieb Jürgen Spitzmüller:  
> > > I am not sure which info I need. Best would be tex files of failing
> > > cases.    
> > 
> > Also, could you remind me again how to run these tests? Development.lyx
> > says I should run ctest, but this apparently does not run the right
> > tests.
> >   
> 
> 1.) You have to use cmake to build
> 2.) To configure for export test use (in the build-directory)
> 	$ cmake .... -DLYX_ENABLE_EXPORT_TESTS:BOOL=ON ....
> 
> 3.) After the compilation ( e.g. '$ make all' or '$ make package') the tests should be
> ready. To check, use '$ ctest -N' ==> this should list all available tests.

4.) to run a specific test, one has to select the test with a regex, e.g.
	$ ctest -R en-de-el
    which should run
Test project /BUILD/BUILDMint18/BuildLyxGitQt5.9.5local-gcc8.4.0
  Test #392: DEFAULTOUTPUT_export/export/latex/CJK/en-de-el-ru-ja_utf8-cjk_pdf2
  Test #393: DEFAULTOUTPUT_export/export/latex/CJK/en-de-el-ru-ja_utf8_pdf2
  Test #394: DEFAULTOUTPUT_export/export/latex/CJK/en-de-el-ru-ko_utf8-cjk_pdf2
  Test #395: export/export/latex/CJK/en-de-el-ru-ko_utf8_docbook5
  Test #396: export/export/latex/CJK/en-de-el-ru-ko_utf8_dvi
  Test #397: export/export/latex/CJK/en-de-el-ru-ko_utf8_dvi3_systemF
  Test #398: export/export/latex/CJK/en-de-el-ru-ko_utf8_pdf
  Test #399: export/export/latex/CJK/en-de-el-ru-ko_utf8_pdf2
  Test #400: export/export/latex/CJK/en-de-el-ru-ko_utf8_pdf3
  Test #401: export/export/latex/CJK/en-de-el-ru-ko_utf8_pdf4_systemF
  Test #402: export/export/latex/CJK/en-de-el-ru-ko_utf8_pdf5_systemF
  Test #403: DEFAULTOUTPUT_export/export/latex/CJK/en-de-el-ru-zh_CN_language-default_pdf2
  Test #404: DEFAULTOUTPUT_export/export/latex/CJK/en-de-el-ru-zh_CN_utf8-cjk_pdf2
  Test #405: DEFAULTOUTPUT_export/export/latex/CJK/en-de-el-ru-zh_CN_utf8_pdf2
  Test #406: DEFAULTOUTPUT_export/export/latex/CJK/en-de-el-ru-zh_TW_utf8-cjk_pdf2
  Test #408: DEFAULTOUTPUT_export/export/latex/CJK/ja-en-de-el-ru_utf8-cjk_pdf2
  Test #409: DEFAULTOUTPUT_export/export/latex/CJK/ja-en-de-el-ru_utf8_pdf2
  Test #410: DEFAULTOUTPUT_export/export/latex/CJK/ko-en-de-el-ru_utf8-cjk_pdf2
  Test #411: DEFAULTOUTPUT_export/export/latex/CJK/ko-en-de-el-ru_utf8_pdf2
  Test #413: DEFAULTOUTPUT_export/export/latex/CJK/zh_CN-en-de-el-ru_language-default_pdf2
  Test #414: DEFAULTOUTPUT_export/export/latex/CJK/zh_CN-en-de-el-ru_utf8-cjk_pdf2
  Test #415: DEFAULTOUTPUT_export/export/latex/CJK/zh_CN-en-de-el-ru_utf8_pdf2

Total Tests: 22
  One can of course specify
	$ ctest -R en-de-el-ru-ja_utf8-cjk_pdf2
  to only run this one test.

  Also, with more powerful machines, one can run tests in parallel, say 10 processes.
	$ ctest -R en-de-el -j10

  The results are to be found in Testing/Temporary/LastTest.log

 	Kornel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220816/755c7e62/attachment-0001.asc>


More information about the lyx-devel mailing list