Dear Kornel,

On 2016-11-07, Kornel Benko wrote:
> Am Montag, 7. November 2016 um 07:29:39, schrieb Guenter Milde 
> <mi...@users.sf.net>

>> the recent discussion about http://www.lyx.org/trac/ticket/10474
>> showed, that input encoding support was never fully tested.

>> I suggest to extend the tests in autotests/export/latex/Unicode-characters
>> to all encodings defined in lib/encodings.

>> Could you write a rule testing 
>> "autotests/export/latex/Unicode-characters/*.lyx" with all encodings

> I don't understand. This directory already exists ...

Yes, but currently, it only tests 2 out of 51 LyX-supported input encodings.
And, it does so with 2*9 separate files for 9 Unicode blocks in 2 fixed
encodings (ascii and utf8).

Instead of adding 9*49 new files (and changing 51 files with every
correction/addition), I'd prefer a ctest rule that allows to test all 51
LyX-supported input encodings based on 9 sample files.

The test machinery does a similar action with the test of various export
routes for one sample file.

Just like doc/de/Intro.lyx is tested as

  Test #923: export/doc/de/Intro_xhtml
  Test #924: export/doc/de/Intro_dvi
  Test #925: export/doc/de/Intro_dvi3_texF
  Test #926: export/doc/de/Intro_dvi3_systemF
  Test #927: export/doc/de/Intro_pdf
  Test #928: export/doc/de/Intro_pdf2
  Test #929: export/doc/de/Intro_pdf3
  Test #930: export/doc/de/Intro_pdf4_texF
  Test #931: export/doc/de/Intro_pdf4_systemF
  Test #932: export/doc/de/Intro_pdf5_texF
  Test #933: export/doc/de/Intro_pdf5_systemF

I'd like an "expansion" of
export/latex/Unicode-characters/084-misc-symbols.lyx into

 export/export/latex/Unicode-characters/084-misc-symbols_pdf2
 export/export/latex/Unicode-characters/084-misc-symbols_pdf2_utf8
 export/export/latex/Unicode-characters/084-misc-symbols_pdf2_armscii
 export/export/latex/Unicode-characters/084-misc-symbols_pdf2_latin1
 ...
 export/export/latex/Unicode-characters/084-misc-symbols_pdf2_tis620-0
 export/export/latex/Unicode-characters/084-misc-symbols_pdf2_utf8-plain
 export/export/latex/Unicode-characters/084-misc-symbols_pdf2_ascii
 
Would this be feasible?

Thanks,

Günter 
 

Reply via email to