Commit Graph

303 Commits

Author SHA1 Message Date
Kornel Benko
fd2995d36a Cmake export tests: Adapt the new TableErrorIfSlovakTextInserted.lyx to tests 2015-12-20 12:13:37 +01:00
Günter Milde
29e97ac38b inverted autotests: Sublabel TeXlimit
Sort test that fail due to LaTeX limitations under the new label TeXlimit.
Replaces the sublabels "chemgreek" and "assert-fail".
2015-12-19 16:49:53 +01:00
Günter Milde
a3aec58cf7 inapt autotests: update comments and labels. 2015-12-19 16:49:52 +01:00
Günter Milde
d501f76051 inverted autotests: update comments, label "attic", remove ignored tests.
Remove patterns matching tests now ignored (CJK/Korean, latex8).
Move patterns matching documents in the attic under new sublabel.
Add more verbose comments.
2015-12-19 16:49:52 +01:00
Günter Milde
b31fcb828b ignored autotests: Update comments and add Taiwanese (zh_CN) with TeX fonts. 2015-12-19 16:49:52 +01:00
Kornel Benko
e0dd541634 Cmake export tests: Adapt exports to changed mathmacros path.
Missed in last commit.
2015-12-18 10:29:55 +01:00
Kornel Benko
1a3b5a4ea7 Moved development/mathmacros dir to autotests dir 2015-12-18 07:56:20 +01:00
Kornel Benko
4e9fe808d7 Cmake export tests: Correct some quirks
1.) Label lyx2lyx was handled wrong (removed '2')
2.) tests were named '_lyx2lyx' instead of only 'lyx2lyx'
2015-12-17 12:57:34 +01:00
Kornel Benko
8876ad1035 Remove non-lyx file form tests. 2015-12-17 09:43:56 +01:00
Günter Milde
1d66b6432a Revert "autotests: Sort and review patterns for test categorization and labeling."
This reverts commit 1e06e83e30.
following the request in
http://permalink.gmane.org/gmane.editors.lyx.devel/159408
2015-12-17 07:37:07 +01:00
Günter Milde
1e06e83e30 autotests: Sort and review patterns for test categorization and labeling. 2015-12-17 00:33:44 +01:00
Kornel Benko
ffe376a647 Cmake export tests: Add missing failing tests 2015-12-16 09:56:38 +01:00
Günter Milde
2b39a82489 Cmake export tests: really *move* Spanish tests.
Deleting patterns moved to "unreliableTests" from "suspiciousTests".
Also some sorting of the patterns in suspiciousTests is done.
2015-12-15 15:40:49 +01:00
Kornel Benko
57e1320012 Cmake export tests: move spanish manuals tests for (xe|lua)latex and tex font to unreliableTests
Comment by Günter Milde:
Actually, *all* Spanish manuals either fail or have wrong output with
Unicode TeX engines and 8-bit fonts. The reason is known: a bug in Babel
that uses utf8 strings whenever Xe- or LuaTeX is detected.
2015-12-15 08:10:52 +01:00
Kornel Benko
6366b4a21b Cmake export tests: Disable inputencoding setting
It was used for the combination pdf4_texF, but since LyX should
nowadays set the correct encoding, this is not needed anymore.
2015-12-14 19:05:18 +01:00
Kornel Benko
2bd2ac1860 Cmake export tests: Lualatex does not like bahasa language 2015-12-14 18:56:00 +01:00
Kornel Benko
3ed174cc03 Cmake export tests: Handle default output format 'pdf2' in manuals like 'default'
This is, because almost all manuals are now having pdf2 as default.
2015-12-13 12:31:43 +01:00
Kornel Benko
de4d43e609 Cmake export tests: Add indonesian attic to suspended too 2015-12-13 12:30:44 +01:00
Kornel Benko
3ac20d7689 Cmake export tests: Correct handling of Indonesian Userguide
It was moved to attic in 98d7d8ba61
2015-12-13 11:49:31 +01:00
Kornel Benko
5b5b1a4515 Cmake export tests: Handle attic files with now missing references to png graphics 2015-12-10 15:20:07 +01:00
Kornel Benko
a9764cf191 Cmake build: Initialize some variables before use. 2015-12-09 15:37:58 +01:00
Kornel Benko
d4da5e9391 Wrong regex 2015-12-08 18:29:12 +01:00
Günter Milde
dd5c3900ba seminar.sty works also with non-TeX fonts but requires Babel.
Always-Babel now set in the example document.

Adapted the autotest categorization:
* fails for some developers (why?)
* wrong output with pdflatex/LuaTeX and DVI (missing landscape slides).
2015-12-08 17:46:50 +01:00
Kornel Benko
611c95bb79 Cmake export tests: Mark seminar dvi3 exports as creating wrong output 2015-12-07 19:32:07 +01:00
Günter Milde
f35861bd75 ctest automatic tests: small correcions to pattern files and documenation. 2015-12-06 21:21:46 +01:00
Georg Baum
691675ee0a Make languagenesting1.lyx less TeX dependent
The previous version did only fail because I did not have latin support for
polyglossia in my TeX installation, the LyX export was fine.
2015-12-06 20:48:48 +01:00
Georg Baum
6a165ecba2 This languagenesting1.lyx fails with 2.1
Add some stuff to languagenesting1.lyx that makes it fail with LyX 2.1 (and
2.2 as well)
2015-12-06 18:53:01 +01:00
Kornel Benko
4dd77996a1 Cmake export tests: Allow deeper label nesting.
Previously all labels got the depth '7' while processing 'suspiciousTestss'.
The depth is used to sort how our labels are used to build a test-label.

Say a test gets label a, b, and c, with depth 3, 8 and 2.
The constructed test-label will be "b🅰️c"
For new (to be implemented) 'reason-labels' it is more convenient to assign them higher values.
2015-12-05 19:37:17 +01:00
Kornel Benko
4ad2215060 Cmake export tests: Tutorial.lyx now compilable
suspiciousTests: Remove Tutorial from the regex
suspendedTests: Explicit list of languages needed
ignoredTests: Language-string is separated from other strings only by '/'. '|', '_', '(' and ')'
2015-12-04 19:33:39 +01:00
Kornel Benko
0008e36ff4 Typo 2015-12-04 19:32:09 +01:00
Kornel Benko
77dbfb0042 Cmake export tests: Some tests previously inverted pass now. 2015-12-03 14:05:20 +01:00
Kornel Benko
548a7ac364 Cmake tests: Rename label 'reverted' to 'inverted'. 2015-12-03 00:23:07 +01:00
Kornel Benko
cf3156d22d Cmake export tests: Create concatenated labels in the form 'export:reverted:examples:chemgreek' 2015-12-02 22:18:43 +01:00
Kornel Benko
e39025797e Cmake export tests: Remove label 'reverted' from suspended tests.
LyXMacros.cmake: Overseen the macro 'setmarkedtestlabel()' which added it automatically
  if the test was to invert the test result.
ExportTests.cmake: Correct label handling
2015-12-02 13:28:16 +01:00
Kornel Benko
037e9051f7 Cmake export tests: Remove assignement doing nothing 2015-11-30 13:12:30 +01:00
Kornel Benko
8f225ebdea Cmake autotests: Corrected suspiciousTests for new testfile 2015-11-30 00:42:48 +01:00
Kornel Benko
af18890ed6 Cmake export tests: Use build dir as source for _all_ latex output formats 2015-11-29 16:11:10 +01:00
Kornel Benko
2b9a9d97a6 Cmake lyx2lyx tests: Ignore warning about "no conversion needed" 2015-11-29 15:26:56 +01:00
Georg Baum
63bb24d385 Convert to 2.2 format and use TeX fonts
This works around a limitation of the test machinery, which never switches
TeX fonts on for format that need that, it only switches TeX fonts off for
formats needing it.
2015-11-29 13:16:46 +01:00
Georg Baum
2f3f82e75b Add test for language nesting regression
The new test shows a language nesting regression: With LyX 2.1 it exports fine
in all formats, with 2.2 it fails for dvi, pdf2 and pdf3.
2015-11-29 11:52:34 +01:00
Kornel Benko
5d51ec20b5 Cmake export tests: More refactoring. 2015-11-29 02:18:07 +01:00
Georg Baum
1ded0d77ad Fix broken merge
git should have refused to push my commit which changed a file that was
deleted a minute ago, but instead it decided to re-add the file.
2015-11-28 19:25:32 +01:00
Kornel Benko
85c4cd2714 Cmake export tests: adapt 'suspiciousTests to changed file 'revertedTests' 2015-11-28 19:10:47 +01:00
Kornel Benko
a07f9b7119 Cmake export tests: Ignore spaces after expressions in .*Tests files 2015-11-28 19:08:19 +01:00
Georg Baum
ad0643f4b5 Fix off by one error
Looks like I forgot to test this case without quotes, but fortunately the new
export test found it.
2015-11-28 18:25:33 +01:00
Kornel Benko
56ecd464f3 Cmake export tests: Renamed file revertedTests to suspendedTests
Also some refactoring to handle the labes.
2015-11-28 18:23:29 +01:00
Georg Baum
fe5f88ddf9 Add the first dedicated export test
Thanks to Kornel we do now have the infrastructure for running dedicated
export tests. This is the first one, showing a language nesting bug which is
already in 2.1. It is inverted for now, but this will hopefully change soon.
2015-11-28 17:00:59 +01:00
Kornel Benko
df22dfdf6b Cmake export tests: Correct some mistakes in commit 4138ab7 2015-11-28 09:30:49 +01:00
Kornel Benko
4138ab7916 Cmake export tests: Implemented multiple sublabels for each test. 2015-11-27 15:12:47 +01:00
Kornel Benko
857748c9e2 Cmake export tests: move some beamer-conference-ornate-20min tests to nonstandard set 2015-11-26 16:07:10 +01:00