Commit Graph

948 Commits

Author SHA1 Message Date
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
Scott Kostyshak
3bd3c2ca09 Comments 2022-11-20 14:37:59 -05:00
Scott Kostyshak
42425428f5 ctests: uninvert two xhtml tests
These exports previously had xmllint errors. These errors seem to
have been fixed thanks to the "features/indexmacros" merge.

Related to #10355.
2022-11-20 09:48:13 -05:00
Scott Kostyshak
cbc3804a2f Correct typos of "occurred" in warnings/errors
Change "occured" and "ocurred" to "occurred".
2022-11-06 10:06:50 -05:00
Scott Kostyshak
c94bb34c50 ctests: ignore a couple more roundtrip tests
Export fails after compilation with the following error:

  ERROR: CHAR: index 0 should be less than the length of the string
2022-11-05 14:50:34 -04:00
Scott Kostyshak
c52808ce1a ctests: log a waste 2022-11-05 10:37:48 -04:00
Scott Kostyshak
0fe28df08f ctests: ignore a couple fragile lyx2lyx tests
From Kornel [1]:

  Exporting to 2.3 format and exporting from the exported differ in extra lines and
  in changed sequence of 2 lines at begin.

  $ diff doc/fr/UserGuide.23.lyx fr/UserGuide.23.23.lyx

[1] https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg218252.html
2022-11-05 10:37:48 -04:00
Scott Kostyshak
4bb576e940 ctests: log a waste and a success
A couple of the lyx2lyx tests were helpful, and a couple did not
lead to a fix. In particular, testing compilation was not helpful in
this case.
2022-11-03 16:05:10 -04:00
Scott Kostyshak
a1d127efeb ctests: ignore some lyx2lyx tests that fail
From Jürgen [1]:

  These are old problems. One is related to a questionable nomencl change
  which we addressed in master but not in stable, see
  https://www.lyx.org/trac/ticket/10634#comment:2

  The other is due to CJK quotation marks which are not supported in 2.3.

We ignore, rather than invert, since no plans to fix these.

[1] https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg218237.html
2022-11-03 16:00:22 -04:00
Scott Kostyshak
f68f3b3f79 ctests: ignore zh_CN/Tutorial that time out
Jürgen pointed out that it might be due to this issue:
  https://tex.stackexchange.com/questions/548139/

and that we might want to report it here:
  https://www.nongnu.org/cjk/

ML discussion was here:
  https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217924.html
2022-09-29 11:50:03 -04:00
Scott Kostyshak
1182687991 ctests: uninvert a utf8x test
The compilation succeeds now, although the behavior might be
different: unless we load ucs explicitly it will proceed with
utf8 instead of utf8x if I understand correctly.

See here for more details:
https://github.com/latex3/latex2e/issues/833#issuecomment-1219535732
2022-08-18 10:17:30 -04:00
Scott Kostyshak
1e63f48b67 ctests: invert EuropeCV tests
These might not be fixed for a while:

  https://github.com/gsilano/EuropeCV/pull/33
2022-08-18 09:09:30 -04:00
Kornel Benko
95166772ee Amend 1dedd398: Adapt some tests to use unspecified unbind. 2022-07-27 20:27:59 +02:00
Kornel Benko
f771f77c67 Amend 2b24c03e: Do not override (Back)Tab in Adv F&R when it is useful
While testing we want to override 'Tab' in Adv F&R.
Unbinding 'Tab' seems to help, thanks to JMarc for the suggestion.
2022-07-18 22:55:03 +02:00
Scott Kostyshak
74dfb2e323 Amend 2022-07-04 14:36:03 -04:00
Scott Kostyshak
7281b8d50d ctests: log an upstream issue that wasted time 2022-07-04 14:29:07 -04:00
Scott Kostyshak
8c8f558c4d ctests: log issue triggered by microtype update
These tests were already inverted at 93066f13.
2022-07-01 10:18:40 -04:00
Scott Kostyshak
93066f13a5 ctests: invert Hebrew tests failing with microtype
The new microtype version seems to have caused failure of our Hebrew
Article (KOMA-Script) template.
2022-06-26 13:49:48 -04:00
Scott Kostyshak
a4759b0599 ctests: invert American Geophysical Union tests
Our template was already marked as "Obsolete" since the class does
not appear to be maintained. The recent LaTeX2e update triggered a
problem in the .cls file that seems unlikely to be fixed.
2022-06-20 11:54:08 -04:00
Scott Kostyshak
3ec564720d ctests: invert a test that fails due to TeX issue
This issue was introduced (or triggered) in the recent LaTeX2e
release and is tracked here:

  https://github.com/latex3/latex2e/issues/833
2022-06-19 17:54:03 -04:00
Scott Kostyshak
1e58d5cd4a ctests: log fix for an upstream LaTeX2e issue 2022-06-10 09:16:55 -04:00
Scott Kostyshak
81fbada4df ctests: log a ModernCV issue with LaTeX2e pre-rel
ModernCV currently fails with the LaTeX2e pre-release that is
expected to be released very soon.

There is a pull request with a fix that will hopefully be merged
before the new release.
2022-06-10 09:16:05 -04:00
Scott Kostyshak
5f8ba9387d ctests: log a confirmed upstream LaTeX2e issue 2022-05-31 14:21:03 -04:00