Commit Graph

751 Commits

Author SHA1 Message Date
Kornel Benko
b6c5603ab0 Cmake tests: Amend 667c0647: Use jing to test only docbook5 exports 2020-10-13 15:42:29 +02:00
Thibaut Cuvelier
4de89acbf4 Amend 667c0647a5
Consistent indentation, use of the latest schema everywhere, typo.
2020-10-10 22:18:16 +02:00
Kornel Benko
667c0647a5 Cmake docbook tests: Add jing.jar to test created docbook files
Usefull only if tested with data from repository.
This means: The file 'jing.jar' is not part of the distribution.
2020-10-10 12:43:17 +02:00
Scott Kostyshak
bf0f662e93 ctests: ignore Japanese dvi3 systemF tests
These started to fail due to a "luatex" package update in the TL20
cycle. From an ML thread [1]:

  The LuaTeX-ja package, which is loaded by bxjs* class, is not
  designed to be used with dvilua(la)tex.

[1] https://www.mail-archive.com/search?l=mid&q=20200917155146.ec1bd9f9b5d5f5936513e5dd%40yahoo.co.jp
2020-09-25 15:16:46 -04:00
Scott Kostyshak
6be7e7ce72 Typo 2020-09-25 15:16:46 -04:00
Kornel Benko
21fe8a8e5b Cmake tests: Remove docbook, xhtml, lyx2lyx tests from unreliableTests
The relevant export-output is done by lyx and not dependent
on some external driver (like latex)
(Graphics conversions don't count here IMHO)
2020-09-20 14:25:04 +02:00
Kornel Benko
758775ac92 Cmake export xhtml tests: load dtd if checking ouput with xmllint 2020-09-20 11:47:04 +02:00
Scott Kostyshak
5542ccd3f9 ctests: invert 'wontfix' failing lyx2lyx tests
We decided looking into it wasn't worth the time. Note that the
tests are only about formats 2.0.x and 1.6.x. For discussion, see:

https://www.mail-archive.com/search?l=mid&q=20200915233446.atwbyulny5gsbtyi%40tallinn
2020-09-15 19:38:25 -04:00
Scott Kostyshak
b4f3963ab2 Uninvert two Hebrew pdf5 systemF tests
These exports now pass, and the output looks reasonable to me
(although I do not know Hebrew). I believe they work now because of
Jürgen's fixes at a7ad0747 and d7b64b8e.
2020-09-11 14:10:12 -04:00
Kornel Benko
f74739075e Amend aef29bb: 2020-08-30 09:58:29 +02:00
Scott Kostyshak
73aef078ac ctests: mark ru XY dvi3_systemF tests wrong output 2020-08-30 00:34:06 -04:00
Scott Kostyshak
aef29bbe6f ctests: invert ru XY LuaTeX tests
The following error is given during the compilation:

  ! Package xypdf Error: pdfTeX version 1.40.0 or higher is needed for the xypdf
2020-08-30 00:33:51 -04:00
Scott Kostyshak
57253974bc ctests: invert ru Math LuaTeX tests
There are issues due to varioref. Consistent with 6e50327a.
2020-08-29 14:57:50 -04:00
Scott Kostyshak
2a665dcc05 ctests: invert LuaTeX + DavidCLM exports
Thanks to Jürgen, who mentions the following:

  luaotfload does not find "DavidCLM". In fact, at least on my system,
  there is no such font, only "DavidCLM Medium" (and other shapes). This
  one is found. Apparently, luaotfload cannot infer from the one to the
  other.

  As opposed to LuaTEX, XeTeX also queries TEXMF so maybe it just finds
  its font there.
2020-08-29 11:12:05 -04:00
Kornel Benko
084781d530 Revert "Ignore missing glyphs for fr/Customization.lyx"
This reverts commit 7ec0870cce.
After setting the Dejavu font in c4cba1d3, this is no longer needed
2020-08-29 15:20:49 +02:00
Scott Kostyshak
f86ec91afb ctests: invert Hebrew dvi3, pdf5 TeX font tests
These exports fail with the following error:

  "! Right-to-Left Support Error: use TeX--XeT or e-TeX engine."
2020-08-26 23:20:00 -04:00
Scott Kostyshak
a21bc08cc0 ctests: comment out a comment 2020-08-26 23:20:00 -04:00
Scott Kostyshak
c44cfec348 ctests: add ertroundtrip lable and invert a lyx22x
In many cases, round trip with older formats involves exporting ERT
or preamble code in the backwards conversion. In the forwards
conversion, if this code is not parsed, often errors can result.
However, in many cases, especially for older formats, it might not
be worth the time or code complexity to address these cases. Such
tests are labled "ertroundtrip".

This commit also inverts a currently failing lyx22x test under the
label "ertroundtrip" since the above paragraph is my best guess as
to why that test is failing. It is likely not worth the time to fix
it, especially since the APA7 layout wasn't even shipped for LyX
2.2.x.
2020-08-26 14:19:45 -04:00
Kornel Benko
af146f07e6 Cmake export tests: Ignore some pdflatex tests for Hebrew documents
These tests are not expected to succeed anytime soon.
2020-08-25 14:34:48 +02:00
Kornel Benko
7ec0870cce Ignore missing glyphs for fr/Customization.lyx 2020-08-24 13:51:09 +02:00
Kornel Benko
dbe9867ed1 Cmake export tests: Typo 2020-08-23 11:38:57 +02:00
Kornel Benko
3e18adc110 Cmake docbook tests: Check for correct use of namespaces 2020-08-22 17:40:34 +02:00
Kornel Benko
bc3e3e330f Cmake export tests: Ignore some test of files used as a child document only 2020-08-22 11:41:56 +02:00
Scott Kostyshak
08725c5832 ctests: Uninvert an export fixed by new TL
The export fails with a TL19, and passes with an updated TL20
system. Kornel confirms.

A quick manual check of the output looks good.
2020-08-21 14:20:56 -04:00
Kornel Benko
e3cfcce8c5 Cmake export tests: mixed_ltr-art_arabi-standard-font does not work with luatex + tex font 2020-08-19 12:14:01 +02:00
Kornel Benko
babb0d2d3a Cmake export tests: Handle some tests which do not end 2020-08-19 11:58:20 +02:00
Kornel Benko
6e50327a68 Cmake export tests: Add some tests not working with lualatex/xetex 2020-08-17 16:22:01 +02:00
Kornel Benko
0d50206610 Cmake tests: Correct an entry (file name has changed) 2020-08-15 15:57:02 +02:00
Kornel Benko
e33017a78d Cmake tests: Adapt to new testcase 2020-08-15 14:47:37 +02:00
Kornel Benko
89feea25f1 Cmake docbook tests: Check the exported with one more tool 2020-08-05 12:54:36 +02:00
Kornel Benko
2952c78ea5 Cmake export tests: Adapt test filtering
1.) Ignore exports for docbook specific files
2.) Because of dvips problem invert test for some Foils-lyx-files
2020-08-02 19:40:55 +02:00
Kornel Benko
a913b5aa24 Cmake docbook tests: typos 2020-08-01 21:08:35 +02:00
Kornel Benko
decc775834 Cmake docbook export: Try to handle quotation marks in parameter values properly 2020-08-01 09:40:23 +02:00
Kornel Benko
b62c6e8961 Cmake export tests: Make the destination directory for test results unique
Exporting files with identical names (but in different directories)
could lead to conflicts in parallel executed tests.
2020-08-01 09:35:20 +02:00
Kornel Benko
0666e80ed9 Amend 4ec788ce: Remove temporary files after tests 2020-07-31 15:28:25 +02:00
Kornel Benko
4ec788ce3f Cmake export tests: Export to docbook5
The sax-parser is choking on tags like 'section*' or 'Braille (default)'.
Also setting parameters like 'height=12pt' are not valid.

The added filter tries to 'correct' the input for the sax parser.
E.g. 'Braille (default)' ==> 'Braille__default_', 'section*' ==> 'section_'
and 'height =12pt' ==> 'height="12pt"'
2020-07-31 15:24:48 +02:00
Kornel Benko
1dbc50a30d Cmake tests: Add check of the exported docbook file with xmllint 2020-07-20 16:55:28 +02:00
Kornel Benko
15947a7db4 Cmake tests: Add docbook5 exports to the tests 2020-07-20 10:42:34 +02:00
Thibaut Cuvelier
8a6e500570 Remove old example, as its mechanisms are now deprecated. 2020-07-02 15:27:20 +02:00
Kornel Benko
48d75d30b7 Cmake export tests: Adapt to new template
These tests are not working with lualatex and tex fonts
(American_Psychological_Association_%28APA_v\.7%29_(dvi3|pdf5)_texF)
2020-06-09 21:40:17 +02:00
Kornel Benko
92d248f712 Modify 2 tests to reflect actual GUI
bug-10636: The position of 'View->Code Preview Pane' in dialog changed
bug-export-latex: Add comment
2020-05-30 11:14:26 +02:00
Kornel Benko
9e3086fbfc FindAdv: Remaining tests working now again
All of these changes were due to
1.) Changed latex output (white space)
2.) changed reaction of dialog shortcut to return from
  find-adv settings to search tab
3.) debug-mode of libstdc++
4.) LASSERT in InsetMathGrid.cpp
2020-05-29 20:56:38 +02:00
Kornel Benko
158919e203 FindAdv: next 3 tests working 2020-05-29 20:18:45 +02:00
Kornel Benko
9da4390a9b FindAdv: Correct next test (keytest/findadv-16)
Provided that the LASSERT in src/mathed/InsetMathGrid.cpp:1824
is removed.
2020-05-29 20:04:57 +02:00
Kornel Benko
8028dce129 FindAdv: Correct some testcases 2020-05-29 14:22:34 +02:00
Günter Milde
c1357cbd01 ctest autotest for #11773 language nesting with lyx2lyx.
* invert failing lyx2lyx tests for ko/Welcome
* add dedicated test sample
* set language for English text part in ko/Welcome.

Also

* fix a lyx2lyx language test sample
* fix clause in unreliableTests
2020-03-05 00:24:08 +01:00
Kornel Benko
fe4ba565f6 Partially revert 43b81bec, export.cmake was not intended to change 2020-01-17 23:52:23 +01:00
Kornel Benko
43b81becc6 Cmake config: Rename some variables to match the ones used by automake
LYX_RELEASE_VERSION renamed to LYX_RELEASE_VERSION
and got the new value of
LYX_RELEASE_PATCH
from configure.ac too
2020-01-17 14:25:57 +01:00
Günter Milde
9486ef6ade ctests: ignore irrelevant export formats for some dedicated tests. 2020-01-01 16:09:36 +01:00
Günter Milde
8f9dfd2edf ctests: supported-languages Fix inputenc Error: Invalid UTF-8 byte "A0".
This happens with "inputenc: auto-legacy" if a language with default
encoding "utf8" (e.g. Turkmen or Mongolian) is used in a Quote
(or another environment).
2019-12-30 17:48:20 +01:00