Commit Graph

765 Commits

Author SHA1 Message Date
Scott Kostyshak
1aa4987b2f Address failures of Seminar examples on new TL20
Compilation of our Seminar example file fails on updated TL20. The
maintainer of "Seminar" is not planning to fix the core issue and
states the following (in a private email with permission to quote):

  it is a problem with the new hook management of the current latex.ltx
  seminar is a quite old package and there is no reason to use it with a
  new LaTeX format. It won't be fixed, so the usual way is to use the
  package latexrealease to get the old hook management.

This commit adds a note to the example files explaining the
workaround of exporting to a .tex file and prepending the following
line:

  \RequirePackage[2020-02-02]{latexrelease}

We now invert the relevant tests.
2020-10-29 23:29:26 -04:00
Thibaut Cuvelier
df0ea858ed DocBook: use the same normalisation for biblio IDs and their references. 2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
2e8bffa3c5 DocBook: update test suite.
Still an unexplained failure: for basic, in the test suite, the .bib file is not found; with the GUI, it is found.
2020-10-30 01:59:34 +01:00
Scott Kostyshak
c9fd498a7f ctests: Invert some tests for new ru Additional
These inversions are consistent with ru Math manual tests.
2020-10-29 16:08:32 -04:00
Scott Kostyshak
33228178a8 ctests: invert unicode failures from menukeys pack
The issue is already reported and it seems a fix could be released
soon (in which case we will uninvert the tests):

  https://github.com/tweh/menukeys/issues/59
2020-10-28 16:37:51 -04:00
Scott Kostyshak
35d3ccf75b ctests: ignore zh_CN dvi3_systemF tests
These exports had wrong output before, and now (on updated TL20)
they fail with the following error message:

  DVI output is not supported in LuaTeX-ja
2020-10-27 23:08:25 -04:00
Kornel Benko
26f3dfe45d Amend 3a452a24: DocBook: disable an inverted test for a LyX bug.
The disabled test has to appear before the regex for enabled tests
2020-10-18 10:10:46 +02:00
Thibaut Cuvelier
3a452a240b DocBook: disable an inverted test for a LyX bug. 2020-10-18 08:23:36 +02:00
Thibaut Cuvelier
f3c22f3b95 DocBook: dummy documents from the docs are not complete. 2020-10-18 08:23:36 +02:00
Kornel Benko
b940a81520 Amend 31ad4d6e: DocBook: move tests to inverted instead of ignored.
Allow inverted tests without explicit language setting in testname
2020-10-17 12:58:30 +02:00
Thibaut Cuvelier
31ad4d6e21 DocBook: move tests to inverted instead of ignored.
LyX should still avoid crashing on those, and if they start to pass, then something is wrong (most likely, a very large part of the files is being ignored).
2020-10-17 05:55:16 +02:00
Thibaut Cuvelier
3100ab0c7d DocBook: mark test as not working. 2020-10-16 18:59:23 +02:00
Thibaut Cuvelier
700557783d DocBook: MissingEndLayoutBetweenTables can't pass. 2020-10-16 04:30:41 +02:00
Thibaut Cuvelier
0790754ec2 Fix filterXml4Sax.pl to work under Windows 2020-10-13 21:38:38 +02:00
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