Commit Graph

74 Commits

Author SHA1 Message Date
Kornel Benko
857748c9e2 Cmake export tests: move some beamer-conference-ornate-20min tests to nonstandard set 2015-11-26 16:07:10 +01:00
Kornel Benko
12faf2b161 Cmake export tests: Added sublabel handling also to revertedTests
As an example the inserted label 'chemgreek' shows also
how to reset the sublabels.
2015-11-24 20:18:08 +01:00
Kornel Benko
76e0568697 Cmake export tests: Added development/mathmacros to the list 2015-11-22 15:10:46 +01:00
Kornel Benko
98746f3bda Cmake export tests: Move some tests around.
Some tests behave different on different systems.
Probably missing font, or tex class ...
2015-11-21 19:37:41 +01:00
Kornel Benko
6cb396e79d Cmake export tests: Ignoring some japanese tests.
Compiling Japanese tex files with anything other than platex is
ATM not successful.
2015-11-21 14:20:54 +01:00
Kornel Benko
c818fea3af Cmake export tests: Finished categorizing tests.
Now
'ctest -L export' should be without errors
If there _are_ errors, the appropriate test should go to nonstandardTests

'ctest -L reverted' should be without errors
If there _are_ errors, the appropriate test should go to nonstandardTests

'ctest -L nonstandard'
Tests here may, or may not fail. Depends of installed tex extensions
2015-11-20 10:20:10 +01:00
Kornel Benko
ee72677fde Cmake export tests: List of inverted tests is expanding
Comments, why a test is moved into the set of inverted are, as usual, from Günter Milde.
2015-11-19 02:54:25 +01:00
Kornel Benko
3d766ad241 Cmake export tests: More tests to be inverted, suspended or made non-standard
All comments in revertedTests comes from Günter Milde
Non standard test is new. It should collect all tests
which may not work because of some missing non-standard
tex package or some exotic system font.
2015-11-17 18:22:45 +01:00
Kornel Benko
b835c454ec Cmake export tests: More tests to be reverted.
Again, thanks to Günter Milde.
ATM, the latex comments in user preamble are removed before export test.
2015-11-16 18:47:34 +01:00
Kornel Benko
b98dd4ecc1 Cmake export tests: Some more corrected exports.
Thanks to Günter Milde.
2015-11-16 11:51:54 +01:00
Kornel Benko
30714a9708 Cmake export tests: ctest_export/doc/el/Intro_pdf5_systemF now compiles 2015-11-12 21:30:16 +01:00
Kornel Benko
c4ae71ceb2 Cmake export tests: Set inputencoding to ascii if test with xetex and tex fonts. 2015-11-10 13:01:49 +01:00
Günter Milde
88d1c790b6 Correct reason for the failure of the math manual export with luatex. 2015-11-05 09:45:04 +01:00
Kornel Benko
9495551bfd Cmake tests: Expand for some more suspended testcases
All dvi_texF and pdf5_texF testcases are nov candidates for being suspended.
After commit 279d084, now export/.*/Math_(dvi3|pdf5)_texF fails,
therefore the tests are also inverted.
2015-11-04 20:53:53 +01:00
Kornel Benko
9594f6fc2d Cmake tests: Removed tests from revertedTests.
Due to commit f739c98, some pdf4_texF are now OK
2015-11-04 12:11:29 +01:00
Kornel Benko
978016eb8f Cmake export tests: Remove some testcases from 'revertedTests'
Some of the tests are now compilable, probably because of some  newer
TL2015 packages.
Reverts partly commit 8a4c9b6 for export/templates/ectaart...
2015-10-31 22:17:24 +01:00
Scott Kostyshak
50e99b82c9 ctests: invert Math.lyx tests failing from mhchem
The math document now depends on the mhchem package which produces
wrong output with XeTeX/LuaTeX and both TeX fonts and non-TeX fonts

See:
https://www.mail-archive.com/search?l=mid&q=n0sne9%24iis%241%40ger.gmane.org
2015-10-30 02:43:36 -04:00
Scott Kostyshak
4f396c3364 ctests: comment for why the Russian docs fail
The LuaTeX non-TeX font tests fail because of LyX's preamble (the
part regarding hyperref), as explained by Günter.
2015-10-28 10:54:46 -04:00
Scott Kostyshak
b0c27e2bbc Invert some ctests that correctly fail
These exports correctly fail now that we've switched to polyglossia.
Although they compiled without error with babel, the resulting PDFs
had gibberish.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
aeac6deca1 ctests: uninvert tests that were fixed by updates
I believe these tests were fixed by TeX Live updates.

Comparing the log files for a system where the tests fail with a
system where the tests pass, below are some of the differences
between the "good" and "bad" logs:

bad:
LaTeX2e <2015/01/01>
Babel <3.9l>
Package: fontspec 2015/03/14 v2.4c
Package: expl3 2015/03/01 v5547 L3 programming layer

good:
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m>
Package: fontspec 2015/07/22 v2.4d
Package: expl3 2015/07/30 v5724 L3 programming layer
2015-10-25 00:12:26 -04:00
Scott Kostyshak
2b1b233bc0 Fix polyglossia exports for docs with babel cmds
Many of our documents have babel-specific preamble code. By putting
this code in a \@ifpackageloaded{babel}{}{} conditional, XeTeX and
LuaTeX compilation with polyglossia now works. This fixes some
LuaTeX tests that were broken by edd37de8 and also allows us to
uninvert some XeTeX tests.

Note that in some of the files although the preambles were fixed to
allow for polyglossia, they still do not compile without errors:
es/Math.lyx
es/Customization.lyx
de/Customization.lyx

Similar fixes might be desired in other manuals but these at least
fix regressions in the tests.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
efa78b22fc ctests: uninvert some tests
These tests were accidentally removed from the inverted list at
b2e49892.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
44cdffa39e ctests: uninvert some XeTeX tests that are fixed
These tests were probably fixed with the recent fixes regarding
polyglossia by Jürgen and Georg.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
4f2536afcf Correct PolyglossiaOpts for Serbian
PolyglossiaOpts are case-sensitive so "latin" must be changed to
"Latin". Without this change, compiling examples/sr/Braille.lyx
with LuaTeX and system fonts gives the following error:

  Package Polyglossia Error: Unknown script `latin' for Serbian
  language
2015-10-25 00:12:26 -04:00
Scott Kostyshak
adb8e9ea99 ctests: invert a test for a file recently added
The H-P-statements example was recently introduced (a610e29c) and
the LuaTeX test with system fonts has never passed.
2015-10-25 00:12:25 -04:00
Scott Kostyshak
d6a3dcbd58 Fix export with polyglossia and uninvert a manual 2015-10-25 00:12:25 -04:00
Scott Kostyshak
78c60de9bb Use "babel only" for some Spanish manuals
Many of our Spanish documents use babel-specific features in the
documents, e.g. to write "sin" in Spanish ("sen"). Because babel
seems to have good support for Spanish, I am setting the "Always
babel" for the manuals.

This fixes several LuaTeX tests with non-TeX fonts. A XeTeX test is
also reverted accordingly.
2015-10-25 00:12:25 -04:00
Scott Kostyshak
8e22c77e79 ctests: uninvert a XeTeX test that now passes
This test was probably fixed with the recent fixes regarding
polyglossia by Jürgen and Georg.
2015-10-25 00:11:24 -04:00
Scott Kostyshak
e181a881db ctests: invert sys font tests of colored-boxes.lyx
This example file was just committed and the system font tests do
not pass because of the user preamble code.
2015-10-19 01:58:46 -04:00
Scott Kostyshak
e202894536 ctests: invert a test that never passed
The H-P-statements example was recently introduced (a610e29c) and
the XeTeX test with system fonts has never passed.
2015-10-19 01:28:42 -04:00
Scott Kostyshak
66e4e94bdb ctests: invert a test that never passed
The ICUr template was recently introduced (5189d7be) and the XeTeX
test with system fonts has never passed.
2015-10-19 01:28:42 -04:00
Kornel Benko
b2e4989212 Cmake export tests: Luatex tests pass now on some more files. 2015-06-19 10:54:40 +02:00
Scott Kostyshak
5f7395d648 ctex.lyx: use free fonts by default
Now with TeX Live 2014 (and also with 2015), we can export ctex.lyx
with free fonts. I have confirmed that the output is correct.
2015-05-05 02:15:44 -04:00
Scott Kostyshak
e3546485ce ctests: PDF-form only works with (pdf|lua)latex
This is even stated in the file.
2015-05-05 01:19:29 -04:00
Scott Kostyshak
42400823a7 ctest: do not disable the English version test 2015-04-08 15:04:43 -04:00
Scott Kostyshak
2292822f3c ctests: disable two fr/Math.lyx tests
One of the tests is also disabled for es/Math.lyx. However,
the other test passes for es/Math.lyx. To reproduce,
open fr/Math.lyx, click "Use non-TeX fonts", and choose
e.g. "FreeSans" for the three fonts. Then view as PDF (LuaTeX).

I put a note to look into why this one fails.
2015-04-08 14:26:07 -04:00
Scott Kostyshak
50b570e05a ctests: revert a MultilingualCaptions XeTeX test
This file and format exports correctly since 5753760b.
2015-03-10 23:35:49 -04:00
Scott Kostyshak
29e96634df ctests: invert some of the PDF-comment tests
Only pdflatex is expected to work reliably.
lualatex also appears to compile.
2015-02-21 14:08:54 -05:00
Scott Kostyshak
68c6d7943d ctests: revert Russian XeLaTeX and LuaLaTeX tests
These exports (with TeX fonts) have been successful since support
for proper font encoding for Russian was added at d7cf6ca7.
2015-02-18 03:29:59 -05:00
Scott Kostyshak
a6f7c598cd ctests: invert many of the ja template tests
We only expect pdf and pdf3 to pass. This is consistent with
other LyX Japanese documents.
2015-02-18 02:35:05 -05:00
Scott Kostyshak
0ce8bee57f ctests: un-invert some tests after updates
David Carlisle fixed some EuropeCV issues and other updates
on TeX Live 2014 fixed a few more exports.
2014-07-01 21:18:14 -04:00
Kornel Benko
7bc0a6f388 Cmake tests: Optimizing the cmake configuration time
The configuration time suffers mostly on checking, which of the export tests
is to be reverted.
1.) There is a new configuration flag now, "LYX_ENABLE_EXOPRT_TESTS.
   If not set (default) no export tests are created.
2.) If set, then the optimization halves the time needed for creation of tests.

The effect on my side:
        a.) Until now the time was:        ~ 26 seconds
        b.) The optimized time is now:     ~ 16 seconds
        c.) With not enabled export tests: ~  5 seconds
2014-06-21 21:15:54 +02:00
Kornel Benko
c9a6939ebb ctests: Use regular expressions 2014-06-19 21:04:18 +02:00
Scott Kostyshak
e11ae599ea Update ctests to reflect inputenc changes
There were changes to inputenc and luainputenc that are now
released in Tex Live 2014 that affect several exports. Some
exports that produced good PDFs now fail. Others that produced
incorrect PDFs (with gibberish) now correctly fail. Several
IEEEtran-* exports failed before and now export correct PDFs.

For more information, see

  http://tug.org/pipermail/tex-live/2014-May/035338.html
  https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184435.html
2014-06-19 10:26:15 -04:00
Scott Kostyshak
7ae0700c7e Fix a comment 2014-06-19 10:26:01 -04:00
Scott Kostyshak
f4adfca65a ctests: reinvert a test
This test was inverted before but got lost
in the transition to regular expressions.
2014-05-10 22:29:38 -04:00
Kornel Benko
2cab2c9f72 Cmake tests: Added more regular expressions 2 2014-04-25 13:53:29 +02:00
Scott Kostyshak
f887efedf1 ctests: regex to revert two instant_preview tests
These effectively revert the following:

    export/examples/instant_preview_dvi3_systemF
    export/examples/instant_preview_pdf2
2014-04-24 10:00:36 -04:00
Kornel Benko
970d31b044 Cmake tests: Added more regular expressions 2014-04-23 13:04:37 +02:00
Kornel Benko
ae33fa9e39 Cmake tests: simplify part of the set of reverted tests using regex 2014-04-21 19:20:40 +02:00