Commit Graph

970 Commits

Author SHA1 Message Date
Scott Kostyshak
92c7c33d9e ctests: invert lyx2lyx tests that fail TeX export
These fail when exporting to TeX, but since they have to do with old
formats, it's not clear it's worth the time to investigate.

These started failing once we check the exit code of LyX's TeX
export (at c7be9780).
2024-09-19 22:38:49 +02:00
Scott Kostyshak
c7be978098 ctests: exit with error if export to .tex fails
Now that we detect and export to the correct TeX format (instead of
assuming pdflatex), we can make the check more strict by giving an
error if LyX exits with error from the export.
2024-09-19 22:34:37 +02:00
Scott Kostyshak
03f0392849 ctests: default for Japanese + systemF is pdf4
This fixes the following tests:

  export/examples/ja/Modules/Rnw_%28knitr%29_lyx22
  export/examples/ja/Modules/Rnw_%28knitr%29_lyx23
  export/examples/ja/Modules/Sweave_lyx22
  export/examples/ja/Modules/Sweave_lyx23
2024-09-19 22:01:38 +02:00
Scott Kostyshak
8edc2aeb3e ctests: comment the inverted ja Math systemF tests
Comments from Jürgen about why it is complicated to fix the exports.
2024-09-18 14:20:16 +02:00
Scott Kostyshak
2cce445862 Amend e72ca6a5 2024-09-17 21:41:48 +02:00
Kornel Benko
e72ca6a586 Cmake lyx2lyx export tests: Try to use output format from the lyx-source 2024-09-17 18:42:46 +02:00
Scott Kostyshak
e3d26bcb5f Uninvert ja UserGuide systemF tests
These exports pass thanks to Jürgen's recent fixes, including
working around a language nesting issue.
2024-09-17 11:12:10 +02:00
Scott Kostyshak
bdc6df14ed Uninvert the ja Additional systemF tests
These exports now succeed thanks to Jürgen's recent fixes.
2024-09-16 17:54:17 +02:00
Scott Kostyshak
4d15427935 ctests: invert a failing xhtml test
Explanation from Jürgen:

the author-specific keys now can have a trailing &
(after the key as in "abbrvciteauthor&" or at the start of the type
subtag, as in "abbrvnames:&author" (see 5c2652fa12). This indicates
that we want "&" rather than "and" (in APA context).

See: https://www.mail-archive.com/search?l=mid&q=ildx4xd4o7ybeqroh3blxgnxqnsqnte256utip2fbmcwi4zolz%40wsh7ez36kkhl
2024-07-14 00:16:19 -04:00
Scott Kostyshak
4b9519aeea ctests: keep a DocBook test inverted for test file
DocBook is not currently expected to work with Beamer.
2024-05-20 10:21:10 -04:00
Scott Kostyshak
d773a2a327 ctests: automatically invert more lyxbugs files
Only files in the directory with a trac number prefixed were
inverted.

Now files with a Git short hash (length 7 or 8) are additionally
inverted.
2024-05-19 12:23:25 -04:00
Kornel Benko
ada52e014e Amend 04beccca: Group some entries in invertedTests 2024-03-10 14:11:27 +01:00
Thibaut Cuvelier
04beccca4c DocBook: add missing mapping for AASTeX 6.3.
The result is far from perfect, see the TODOs. The corresponding tests are still inverted.
2024-03-09 15:09:45 +01:00
Scott Kostyshak
0c0f4c6b56 ctests: invert a utf8x test failing on TL23
It seems that utf8x is not supported, or needed, on updated TL. From
David Carlisle:

  utf8x by default does nothing now, but as a compromise
  compatibility for some specific existing documents if you
  explicitly load ucs then it and utf8x work as before, but that
  over writes all of latex's default unicode handling and things
  will go wrong. There really isn't much that can be said other than
  don't load the package. The alternative would be to make ucs do
  nothing as well, but that would stop some documents working that
  currently work.
2024-02-26 11:12:20 -05:00
Scott Kostyshak
606e9443fa ctests: uninvert an export fixed in acmart
Fixed after a tlmgr update with acmart version 1.92.

See here for info:

  https://github.com/borisveytsman/acmart/issues/505
2023-10-17 22:17:07 -04:00
Scott Kostyshak
e97ebe93d3 ctests: uninvert DocBook test due to recent fix 2023-10-10 10:35:53 -04:00
Scott Kostyshak
bb55c3429f ctests: uninvert couple of suspended tests
Due to recent changes, 'xcolor' is now loaded in the corresponding
document export, which somehow fixes the compilation error that was
occurring.
2023-09-30 20:43:40 -04:00
Scott Kostyshak
bf241165dd ctest: invert es/Intro_docbook5
This fails after recent changes to the document.
2023-09-27 13:42:40 -04:00
Scott Kostyshak
beec7b669f ctests: update inverted list after DocBook fix
Thanks to the fix at ff9dfa96, we can uninvert a test.

Also invert a couple of other tests and organize into the correct
location.
2023-09-25 10:58:50 -04:00
Scott Kostyshak
c6317b123e ctests: invert another ca docbook test
Perhaps similar to eb920502.
2023-09-23 12:44:04 -04:00
Scott Kostyshak
91d5a262cb ctests: invert test due to acmart issue
The upstream bug report is here:

  https://github.com/borisveytsman/acmart/issues/505
2023-09-18 16:25:29 -04:00
Scott Kostyshak
eb920502db ctests: invert ca/Intro_docbook5
The document was recently added and the underlying DocBook issue has
not been diagnosed yet.
2023-09-13 20:33:41 -04:00
Scott Kostyshak
8490b3e73b ctests: move #12734 testfile thanks to fix
Categorize a 'lyxbugs' testfile as fixed thanks to a15bc829.
2023-04-15 07:45:26 -04:00
Scott Kostyshak
a5ebeb3b46 ctests: test file for #12734 2023-04-11 23:44:49 -04:00
Scott Kostyshak
3a9bd79536 ctests: add a test file for #12708
The file is taken from #12727 which is a duplicate.
2023-04-11 23:07:42 -04:00
Scott Kostyshak
21d9bcb561 ctests: uninvert tests thanks to microtype update
microtype version 3.1 somehow fixed an issue that was affecting
these exports and the exports now succeed.

For more information, see here:

  https://github.com/schlcht/microtype/issues/21#issuecomment-1496803268
2023-04-04 23:37:55 -04:00
Scott Kostyshak
5d853e55ad ctests: do not mark Hebrew + Lua as unreliable
The referenced terminal message no longer appears. The upstream
polyglossia issue has been fixed:

  https://github.com/reutenauer/polyglossia/issues/337
2023-04-04 15:30:02 -04:00
Scott Kostyshak
f521c05ae6 Fix a comment 2023-04-04 15:28:01 -04:00
Scott Kostyshak
caa7e6f6c8 ctests: invert lyx2lyx tests expected to fail
These tests are expected to fail, but are not really because of a
bug. For more info see the comment in this commit.
2023-02-17 10:19:38 -05:00
Scott Kostyshak
c0bca65635 ctests: invert unsupported exports of Armenia file
This new example file is only expected to work with XeTeX and LuaTeX
with system fonts.
2023-02-11 14:57:21 -05:00
Scott Kostyshak
e54dedb49f ctests: adapt inverted & ignored to renamings 2023-02-11 14:44:47 -05:00
Scott Kostyshak
c0c5d0bc80 ctests inverted: adapt to recent renaming 2023-02-11 12:13:44 -05:00
Scott Kostyshak
4b8b5bc252 ctests: uninvert JSS exports
The Journal of Statistical Software exports now succeed. An update
must have fixed the core issue.
2023-01-30 20:59:08 -05:00
Scott Kostyshak
795d5c408d Fix more ja documents for LuaTeX/XeTeX + systemF
I used the following command inside the ja directories, and
confirmed the diff manually:

  git ls-files -z | xargs -0 sed -i -e 's/\\font_typewriter "default" "default"/\\font_typewriter "default" "IPAGothic"/'

These changes are consistent with 6656dd22.
2023-01-30 13:36:58 -05:00
Scott Kostyshak
4e9f660411 ctests: uninvert ja XeLaTeX exports that work now
These exports now work thanks to the font fix at 6656dd22.
2023-01-30 11:55:22 -05:00
Scott Kostyshak
168af93020 ctests: comment out the new XHTML validate tests
These new checks found issues that are difficult to fix.
2023-01-26 21:42:06 -05:00
Kornel Benko
bce1d94b42 Cmake tests for xhtml: Check only for errors
For now, do not handle warnings in output from call to simplehtml_validity.py.
2023-01-20 16:51:38 +01:00
Kornel Benko
88087a3cf5 Cmake tests: Amend a7112690: enable use of html5validator
Also add the Summary-output unconditionaly (e.g. also in case of no error)
2023-01-11 06:49:28 +01:00
Kornel Benko
9f3f21f0f9 Cmake tests: Nothing to output in case of no error in simplehtml_validity.py 2023-01-11 06:45:38 +01:00
Thibaut Cuvelier
253d532974 Export tests: use a better function name. 2023-01-09 17:16:40 +01:00
Thibaut Cuvelier
fa5b08e24d Simplify simplehtml_validity.py 2023-01-09 17:16:40 +01:00
Kornel Benko
a71126904f Cmake export tests. Add validation of lyxhtml exported files
ATM, the validation is commented out.
To use it, one has first to install html5validator with
  $ pip3 install html5validator>=0.4.2
and uncomment the line 335 in export.cmake
2023-01-08 17:18:30 +01:00
Scott Kostyshak
ec02df2bb9 ctests: uninvert a lyx2lyx test thanks to fix
Thanks to the fix at d89a4848, the roundtrip now converges.

This reverts commit 83c72a3ece.
2023-01-06 14:06:06 -05:00
Scott Kostyshak
83c72a3ece ctests: invert a bug from old routine
A test from a recent file, KOMA-Script_Book.lyx, uncovered this
issue. It is an old routine so not critical to fix.

The following is the diff that prevents convergence:

   \begin_inset Newpage cleardoublepage
   \end_inset

   \end_layout

   \begin_layout Standard

If convert_bibtex_clearpage(document) in lyx_2_0.py is commented out, then
the test passes.
2023-01-05 12:55:54 -05:00
Scott Kostyshak
61fa5268ee ctests: uninvert lyx2lyx failures
The lyx2lyx issue was fixed at ceffadfb.

This reverts commit 021e98cc.
2022-12-21 11:29:04 -05:00
Scott Kostyshak
021e98cc19 ctests: invert lyx2lyx failures
The issue was reported here:

  https://www.mail-archive.com/search?l=mid&q=20221211202917.f6py2kmrcdxtwaps%40gary
2022-12-19 22:35:38 -05:00
Scott Kostyshak
b31676dbfd ctests: log a fixed issue 2022-12-19 22:35:38 -05:00
Jean-Marc Lasgouttes
9376f0203d Merge branch 'killqt4'
Remove all trace of Qt4 support. The different elements have been
considered carefully before removal.

The only changes that need to be done concern Windows and macOS
compilation instruction and will need to be taken care of by the
respective maintainers before prerelease.

The file TODO.killqt4 lists what remains to be done.
2022-11-28 15:19:41 +01:00
Jean-Marc Lasgouttes
812036185a Final (?) update to the TODO
Reorganize things to do in to point to the macOS and Windows
maintainers. These are things tht need to be done before release.

Update autotest/keytest.py, and ignore the other development/ stuff,
which is is obsolete.
2022-11-28 15:16:19 +01:00
Scott Kostyshak
1482e174df ctests: typo in ignoredTests regex
Amends c94bb34c.
2022-11-20 14:39:47 -05:00