mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
ctests: invert chess lyx2lyx tests
In export.cmake, if the detected output format is pdf3, we try to export to "platex", which usually makes sense, but for this file we would need to export to "latex". This file is very particular, and also old, so I do not know if it is worth the time to handle this case. This commit inverts the following tests: export/examples/Articles/Chess/Game_1_lyx16 (Failed) export/examples/Articles/Chess/Game_1_lyx20 (Failed) export/examples/Articles/Chess/Game_1_lyx21 (Failed) export/examples/Articles/Chess/Game_1_lyx22 (Failed) export/examples/Articles/Chess/Game_1_lyx23 (Failed)
This commit is contained in:
parent
f6741c72e1
commit
6e05409d13
@ -235,6 +235,9 @@ if (extension MATCHES "\\.lyx$")
|
||||
if (${_export_format} MATCHES "pdf2")
|
||||
set(_texformat "pdflatex")
|
||||
elseif(${_export_format} MATCHES "pdf3")
|
||||
# Ideally we would set to "platex" if Japanese, and "latex" if not Japanese.
|
||||
# For example, currently we invert export/examples/Articles/Chess/Game_1_lyx because
|
||||
# it should be exported to "latex" instead of "platex".
|
||||
set(_texformat "platex")
|
||||
elseif(${_export_format} MATCHES "pdf4")
|
||||
set(_texformat "xetex")
|
||||
|
@ -57,6 +57,10 @@ export/export/lyx2lyx/lyx_2_3_test2_lyx(16|20)
|
||||
# clear it is worth the time to try to fix the issue.
|
||||
export/doc/ja/UserGuide_lyx(16|20)
|
||||
export/examples/ja/Modules/LilyPond_Book_lyx(16|20)
|
||||
# in export.cmake, if output format is pdf3, we try to export to "platex" which
|
||||
# makes sense for all other tests except this one (which should be exported to
|
||||
# "latex" instead).
|
||||
export/examples/Articles/Chess/Game_1_lyx.*
|
||||
|
||||
# nonstandard tests failing for unknown reason:
|
||||
export/templates/Articles/R_Journal_(dvi3|pdf[45])_systemF
|
||||
|
Loading…
Reference in New Issue
Block a user