Commit Graph

38 Commits

Author SHA1 Message Date
Scott Kostyshak
c21cd7dc2b Revert "Revert "Cmake export tests: Add epub-format to be tested""
Rather than revert the added epub tests, it makes more sense to
ignore them. That way it is easier to flip the switch to enable
them.

Thanks to Kornel.

This reverts commit 894977b62e.
2021-02-17 22:41:40 -05:00
Scott Kostyshak
894977b62e Revert "Cmake export tests: Add epub-format to be tested"
Revert the addition of epub tests for now since a lot of them are
failing (and are not regressions).

This reverts commit 983d327fe3.
2021-02-17 11:54:02 -05:00
Kornel Benko
983d327fe3 Cmake export tests: Add epub-format to be tested 2021-02-08 11:35:27 +01:00
Kornel Benko
aea775cbc6 Cmake docbook5 tests: Use absolute path-hints for 'bibfiles' entries in lyx-file 2020-11-29 08:48:16 +01:00
Kornel Benko
1d90561675 Cmake export tests: Set \origin also for unavailable
This is important for lyx-files not under the lyxsystemdir.
Since the exports are done from a copied lyx-file, some referenced data
may be available only relative to the source of the original.
2019-03-31 18:17:04 +02:00
Kornel Benko
50779dda7a Cmake export tests: Use absolute paths for subfiles inside the source dir
The testfile is inside the build dir, so no relative path to the source dir
should be alloved.
2019-03-31 11:34:14 +02:00
Kornel Benko
db1247e51b Cmake export tests: Indenting + ignore '%' in file names 2019-03-25 18:46:15 +01:00
Kornel Benko
baa93548c8 Cmate export tests: Thinko, using entry as array also in cases where it is not 2019-03-25 14:48:17 +01:00
Kornel Benko
6b12a48a51 Cmake export tests: Omit underlines in temporary file names
Also try to copy all versions of an included reference.
The example is the search for CV-image in Modern_CV.lyx.
The two file (CV-image.eps and CV-image.png) have to be copied while
keeping the same base name.
2019-03-24 22:12:07 +01:00
Günter Milde
fd106637be ctest and documentation update
The special test "arabic_simple.lyx" is no longer required,
"examples/ar/splash.lyx" works with 8-bit fonts now.

Update tagging patterns and comments.
2019-03-04 00:04:04 +01:00
Günter Milde
6ee140f413 ctest update
* Do not change font choices when testing with non-TeX fonts.
* Add "nonstandard" tag for documents with requirements outside TeXLive.
* Ignore missing character in legacy Basque document.
2019-02-26 19:13:15 +01:00
Günter Milde
4de4263f93 ctest update.
* set required non-TeX fonts in the documents
* update comments for inverted tests
* update some tags
2019-02-25 01:19:14 +01:00
Günter Milde
124e3c92e2 ctests: useSystemFonts.pl -- revert changes in 1879fbedfb. 2019-02-15 07:07:15 +01:00
Günter Milde
1879fbedfb ctest update: Set non-TeX fonts in documents, update comments and tags. 2019-02-13 10:34:18 +01:00
Günter Milde
f8d42aed39 ctests: update Korean tests, add "language default" test including Chinese.
Set suitable non-TeX fonts in the test document.
Use "kotex" language package.
2019-02-05 11:24:53 +01:00
Günter Milde
7e120159fc ctests: Update Chinese report example. 2019-01-30 15:54:30 +01:00
Kornel Benko
d8a31f1ee6 Cmake export tests: Collect list of all used wrong paths before terminating
Also try to ignore references for files that are part of latex. If they are wrong, so
latex should handle the errors.
2017-10-27 13:22:17 +02:00
Kornel Benko
6720a8ca7c Cmake export tests: Add the die-message to the diestack() param.
Spotted by Scott.
2017-10-26 22:43:24 +02:00
Kornel Benko
d63a866106 Cmake export tests: Make test fail if there is some non-existant sub-file 2017-10-26 21:48:33 +02:00
Kornel Benko
3ade00683c Cmake export tests: Check exports also for different possible input encodigs
Affected are all lyx files in "autotests/export/latex/Unicode-characters" directory.
This completes the commit 6674a91573

Thanks Günter.
2016-11-10 00:56:49 +01:00
Kornel Benko
9f1b80a2af Cmake tests: Use mkpath from module 'File::Path' to recursively
create the directory path.
2016-09-15 21:55:47 +02:00
Kornel Benko
cdc985d037 Cmake export tests: Improve font selection 2016-01-09 22:07:32 +01:00
Kornel Benko
9560941f9a Cmake tests: Handle windows line endings 2015-12-29 19:12:08 +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
32b35fe121 Cmake export tests: Don't select inputencoding, this is due to 0eb9477 not needed.
This sort of reverts 6dd98a8.
2015-11-12 21:42:43 +01:00
Kornel Benko
6dd98a8245 Cmake export tests: Try to use language dependent inputencoding.
This enables some more pdf5_texF und dvi3_texF tests to succeed.
2015-11-10 19:42:43 +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
Kornel Benko
b71991f0cc Cmake export tests: Adapt the test machinery to the commit 2fc430d.
Handle this this new sets of font selections properly.
2015-11-09 12:20:57 +01:00
Kornel Benko
3b41ec6a3f Cmake export tests: Unintended removal of 'main' corrected 2015-10-25 18:31:45 +01:00
Kornel Benko
8fab6470fb Cmake export tests: Use 'Dejavu' as non-tex font for Russian and Ukrainian docs
Thanks to Guenter Milde
2015-10-25 18:23:31 +01:00
Scott Kostyshak
36b9b9737e Use font 'Scheherazade' in tests of Arabic docs
We do not currently have any Arabic documents, but when we do, these
fonts will be used for the tests that use system fonts.

They can be installed on Debian-type systems from the
'fonts-sil-scheherazade' package.
2015-07-07 06:54:12 -04:00
Kornel Benko
aea5e80f45 Typo 2014-03-10 13:39:31 +01:00
Kornel Benko
39c79a72be ctests: pdf export for korean documents
Use Nanum-font for tests to get a readable pdf with luatatex/xelatex
2014-03-10 13:33:46 +01:00
Kornel Benko
83071a2392 Ctests perl scripts: Added use of prototypes 2014-01-10 12:34:40 +01:00
Kornel Benko
997035fe66 Cmake tests: Expand export tests for luatex and xetex
Citing Scott:
In our current set up, we are currently testing XeTeX and LuaTeX
either with system fonts or with TeX fonts but never both. We should
test with both in my opinion. We will have to ignore/invert many tests
but it still seems useful. For example Günter fixed babel-greek so
that it works now with TeX fonts; and Jürgen found some errors in LyX
that were causing some of the English docs to fail with system fonts.
Currently we only test greek documents with system fonts and we only
test English documents with TeX fonts.

This change adds the missing test-cases.
2013-12-16 11:36:36 +01:00
Scott Kostyshak
e27ba681ac ctests: use Chinese roman font for zh docs 2013-12-12 23:44:41 -05:00
Kornel Benko
5f7102d2bc Cmake test build (perl): Use File::Spec->rel2abs instead of abs_path()
Problem arises on fresh build, where the destination file is not yet defined.
In that case Cwd::abs_path() returns empty string, which fatal later on.
2013-11-18 12:25:18 +01:00
Kornel Benko
e690cfc47c make test environment. Exports with luatex and xetex.
In successful cooperation with Scott Kostyshak.
We provide many lyx-documents which are not compilable with luatex or xetex.
But some of them compile, if we change the font use to non_tex_fonts.
Since this would change the appropriate source, we have to convert
it first into a save location. To make it there compilable,
we have to convert also all file references.
languages     used font
he|el|ru|uk  'FreeSans'
fa           'FreeFarsi'
zh_CN        'WenQuanYi Micro Hei'
The whole job is done with a perl script.
2013-11-17 23:17:27 +01:00