Commit Graph

970 Commits

Author SHA1 Message Date
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
Kornel Benko
3576be9a3b Ctests: Adapt test 06 to changed shortcut 2022-05-14 14:49:03 +02:00
Kornel Benko
1007752106 FindAdv tests: update to new shortcuts 2022-05-10 15:03:11 +02:00
Scott Kostyshak
d54e400ee3 ctests: adapt ignored warnings for lyx2lyx tests
This commit does the same as a8dd4db5 but for the explicit lyx2lyx
tests.

This commit amends ae31e169.
2022-04-29 20:43:48 -04:00
Scott Kostyshak
a8dd4db54f ctests: adapt ignored warnings to new messages
The change of the warning messages was introduced at ae31e169, which
broke several lyx2lyx tests. The tests are now fixed with this
commit.
2022-04-29 19:05:30 -04:00
Kornel Benko
965b2cdc73 Findadv: Correct findadv-combined test
Replaced some 'CP' commands with 'CN' comments.
2022-04-15 17:18:40 +02:00
Kornel Benko
7d053393a5 Cmake key-tests: Adapted to changed shortcuts 2022-03-26 19:38:55 +01:00
Kornel Benko
8380034203 AdvFind: Adapt a testfile
Change [a-z]* to [a-z]+ . This omits finds of empty strings.
2022-03-25 23:00:59 +01:00
Scott Kostyshak
d01f1428be ctests: log a fixed issue 2022-03-12 07:43:54 -05:00
Scott Kostyshak
a175caf256 ctests: uninvert 2 LuaTeX tests fixed on TL21
These exports now pass, and a quick check of the output looks good.

These might have been fixed (although it is just a guess) due to the
following entry in the changelog of luaotfload v3.19:

  A new algorithm for selecting fonts based on font family names
  allows to more reliably load fonts based on their family name.

This commit reverts 2a665dcc.
2022-03-06 09:20:12 -05:00
Scott Kostyshak
23b7b95e68 ctests: log fixed upstream Polyglossia issues
Thanks to Jürgen for fixing the upstream issue.

Also add a row "ctest" to give the pattern of the ctests that
failed.
2022-02-16 22:07:05 -05:00
Scott Kostyshak
2e07736c17 Uninvert Hazard.*systemF tests
Our .lyx document was updated by Jürgen at e071d5fe.
2022-02-08 12:15:31 -05:00
Scott Kostyshak
52c4ff290b ctests: log a fixed issue 2022-02-07 22:13:37 -05:00
Scott Kostyshak
9185fb8ccc ctests: log a fixed issue 2022-02-06 08:13:12 -05:00
Scott Kostyshak
22cbc3b0cf ctests: uninvert a DocBook export
The export now succeeds, likely due to Jürgen's improvements at
2eaf30c5.
2021-12-27 11:17:29 -05:00
Scott Kostyshak
62993294f3 Invert two DocBook + LilyPond exports
This is due to an upstream issue:

  https://gitlab.com/lilypond/lilypond/-/issues/6187

For ML discussion, see here:

  https://www.mail-archive.com/search?l=mid&q=20211102011304.dmrcr7gjpxxwpd4o%40poole
2021-12-27 11:11:30 -05:00
Scott Kostyshak
faa404f063 Reg test for protect: xymatrix in figure caption
Use case from #6243.
2021-12-27 10:26:04 -05:00
Scott Kostyshak
9d64a2f2f6 ctests: invert a docbook test for a cprotect case
The strange example file does not make sense for Docbook, as
described by Thibaut on the ML here:

  https://www.mail-archive.com/search?l=mid&q=CAK0LPyiHCsUMo0ZCbFrRBRTCD7G-rhw-z8G1of2kFGebBLddtA%40mail.gmail.com
2021-12-23 21:37:31 -05:00
Scott Kostyshak
b461d07b5b ctests: log a fixed issue (fr Linguistics.lyx) 2021-12-08 23:04:24 -05:00
Scott Kostyshak
fb4a485c19 ctests: uninvert Seminar tests
These exports now succeed on an updated TL21 installation.
2021-12-07 13:25:39 -05:00
Scott Kostyshak
2713ea5189 ctests: log fixed upstream polyglossia issues
Thanks to Jürgen for fixing these upstream Polyglossia regressions.
2021-12-07 13:05:52 -05:00
Scott Kostyshak
d4678a734a ctests: log a fixed issue 2021-12-05 22:07:06 -05:00
Scott Kostyshak
2dd9e1a338 ctests-costs-benefits: add a "benefit" row
The "benefit" row gives the amount of days in-between when an issue
is found because of the ctests and when an issue is reported by
someone not using the ctests. In the example of the ps2pdf flag, the
issue was reported just a couple of weeks after we found it with the
ctests, indicating that the ctests were not that helpful in this
case.
2021-06-21 12:57:38 -04:00
Scott Kostyshak
ef05c951ca ctests: log a reported issue (the ps2pdf flag)
We are still not sure how to fix things to make them more easy for
the user.
2021-06-21 12:56:37 -04:00
Scott Kostyshak
37bce91a8b ctests: log a fixed LaTeX package issue (noweb) 2021-06-20 00:05:42 -04:00
Scott Kostyshak
88eff03860 ctests: uninvert two Hebrew LuaTeX tests
The issues seem to have been fixed upstream and the exports now
succeed on TeX Live 2021.
2021-05-29 00:22:35 -04:00
Scott Kostyshak
e0a12aa3a7 ctests: log a fixed issue 2021-05-28 10:35:47 -04:00
Scott Kostyshak
a2bdda5209 ctests: log a fixed issue 2021-05-26 01:21:09 -04:00
Scott Kostyshak
3ffd06fef4 ctests: log a fixed issue 2021-04-23 23:55:56 -04:00
Scott Kostyshak
4cc38f19ee ctests: log a fixed issue 2021-04-10 12:17:36 -04:00
Scott Kostyshak
e4fb24d052 ctests: invert failing tests for new ru file
The failing tests for the Russian Fancy_Colored_Boxes are likely
failing for the same reasons as the other Russian documents.
2021-03-06 20:33:53 -05:00
Scott Kostyshak
cf5f4c2061 ctests: for log, specify benefit is quick fixes
In the cost/benefit log, most of the bugs would have been discovered
eventually. The benefit of a test suite is to find bugs quickly.
2021-03-06 20:09:32 -05:00
Scott Kostyshak
cecbf5f096 ctests: log a fixed issue 2021-03-06 20:09:24 -05:00
Scott Kostyshak
279cfb9162 ctests: log a fixed issue 2021-02-19 19:19:53 -05:00
Kornel Benko
092410d88d Amend c21cd7dc: Ignore epub tests for now 2021-02-18 09:34:43 +01:00
Scott Kostyshak
783be115ff ctests: uninvert 2 docbook exports now succeeding 2021-02-18 00:58:38 -05:00
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
Thibaut Cuvelier
5297862855 DocBook: mark dates to disallow fonts inside.
One more test passes.
2021-02-14 06:08:36 +01:00
Thibaut Cuvelier
7ee196adbf DocBook: some tests start passing with double inlines fixed. 2021-02-14 05:39:24 +01:00
Kornel Benko
983d327fe3 Cmake export tests: Add epub-format to be tested 2021-02-08 11:35:27 +01:00
Scott Kostyshak
3c16d627da ctests: log a fixed issue 2021-02-08 00:13:45 -05:00
Scott Kostyshak
7d2c80d0ef ctests: log a fixed issue 2021-02-05 22:45:14 -05:00
Scott Kostyshak
86e72d57a5 ctests: invert a few ru Embedded Objects tests
Consistent with the other Russian manuals.
2021-02-05 22:08:39 -05:00
Kornel Benko
ac5534827e Cmake key-tests: These are very touchy in respect to timings
Cmake key-tests: These are very touchy in respect to timings

1.) Try to use shortcuts instead of direct command
2.) use bigger pause where needed
2021-01-29 16:11:16 +01:00
Scott Kostyshak
e581e35be3 ctests: unignore tests thanks to lyx2lyx feature
The lyx2lyx roundtrip feature added at 364532a7 fixed the
convergence of some tests so we remove them from the ignored list.
2021-01-28 13:39:23 -05:00
Scott Kostyshak
ca6051d148 ctests: log found regression and fix 2021-01-28 13:38:17 -05:00
Scott Kostyshak
9d3dcdc1f7 ctests: add found regression and fix 2021-01-28 00:27:45 -05:00
Scott Kostyshak
a660ed24dc ctests-costs-benefits: define false positive
A false positive could either be "not a bug" or a bug that is not
worth the time or complexity to fix. For the purpose of evaluating
the tests, the distinction is not important.
2021-01-28 00:27:45 -05:00
Scott Kostyshak
157f2d02c8 ctests: ignore lyx2lyx fails due to no convergence
These exports knowingly do not pass the convergence tests because
of ERT export.
2021-01-27 20:32:44 -05:00
Scott Kostyshak
a3f591d61e ctests: log cost of recent false positive 2021-01-26 13:29:23 -05:00
Scott Kostyshak
d3065ceeb3 Start a log file to track benefit/costs of ctests
The ctests are not convenient tests. In this file we can attempt to
log the benefits and costs to using them so we can periodically
evaluate which tests we should keep and which we should get rid of.
2021-01-26 13:21:08 -05:00
Kornel Benko
8ec16f4020 Cmake tests: findadv-01 - findadv-21 working
Tests 07 and 09 corrected because of not working
shortcuts in cua env using sk/menus.bind.
2021-01-17 14:30:34 +01:00
Kornel Benko
fd5dbd61e7 Make some findadv-tests working again, more to follow
Some shortcuts in cua do not work anymore
so replacing them with virtual shortcus for tests only
seems a good way.
2021-01-15 17:13:07 +01:00
Scott Kostyshak
fdc4f047d6 ctests: invert old lyx2lyx tests for ar Beamer
This is consistent with the lyx2lyx tests for Beamer in other
languages.
2021-01-09 13:01:26 -05:00
Scott Kostyshak
5fb3171eeb ctests: invert ru Shortcuts failures from varioref
Consistent with ru Math and Additional.
2021-01-07 20:12:05 -05:00
Scott Kostyshak
decbb308e8 ctests: invert ar Beamer template
DocBook export is not expected to work with Beamer templates.
2021-01-06 22:54:53 -05:00
Scott Kostyshak
c13d16704c ctests: uninvert two docbook exports
These exports now succeed. Perhaps the broken references that were
causing them to fail were fixed.
2021-01-05 18:52:50 -05:00
Thibaut Cuvelier
877806f208 DocBook: implement SciPoster. 2020-11-29 22:54:03 +01:00
Scott Kostyshak
16e5e1a614 ctests: invert Econometrica + LuaTeX + TeX fonts
These exports are failing on an updated TeX Live 2020. It is not
high priority to look into the underlying cause of these two
failures since TeX fonts are not commonly used with LuaTeX and the
ectaart class is not in TeX Live.
2020-11-29 14:20:40 -05: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
Thibaut Cuvelier
fd40dfd429 Typo. 2020-11-28 05:31:23 +01:00
Thibaut Cuvelier
a6cc62f6ee DocBook: ignore fonts in ERT.
Also, mark a Slides test as passing, because it is valid DocBook (but not really useful).
2020-11-28 05:15:34 +01:00
Thibaut Cuvelier
12d512d4e4 DocBook: implement iopart. 2020-11-28 05:08:58 +01:00
Thibaut Cuvelier
76bc063bcd DocBook: implement IEEEtran. 2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
b2ec2ff1a9 DocBook: slightly change the Copernicus template to be valid DocBook.
This is just adding an author instead of leaving the field blank.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
633a617841 DocBook: implement Copernicus.
Includes a fix when wrappers are used with empty paragraphs. The logic is probably wrong if two legit wrapped paragraphs have one empty paragraph in the middle. This is only for slightly convoluted cases... Wrapping decisions should rather be taken for a series of paragraphs at once, but it would be more complex to implement and would only solve very peculiar cases like these ones.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
14cfcf00cb DocBook: implement AEA and APA. 2020-11-28 00:51:35 +01:00
Thibaut Cuvelier
bd9dce3749 DocBook: bug fixes for JASA.
Includes more consistent behaviour for bibliographies in appendix (do the same as LyX shows the user, i.e. bibliography in appendix).
2020-11-27 05:53:46 +01:00
Thibaut Cuvelier
eea884aba2 DocBook: AASTeX is still too complicated to be fully supported. 2020-11-27 05:20:51 +01:00
Thibaut Cuvelier
3f07ae9083 DocBook: for empty figures, output a message.
This ensures that this part of the DocBook file is valid.
2020-11-27 05:19:27 +01:00
Thibaut Cuvelier
185a62e695 DocBook: in aa, fix acknowledgements. 2020-11-27 04:52:39 +01:00
Thibaut Cuvelier
0e4d8a8159 DocBook: implement IJMP C/D. 2020-11-27 04:16:48 +01:00
Thibaut Cuvelier
77fa9a6c42 DocBook: implement iucr. 2020-11-27 02:49:54 +01:00
Thibaut Cuvelier
5f488ed746 DocBook: deploy fix for acknowledgements. 2020-11-27 02:12:29 +01:00
Thibaut Cuvelier
587f1f5571 DocBook: implement Mathematical Monthly. 2020-11-27 01:54:00 +01:00
Kornel Benko
7e5b1d09f3 Cmake tests: Save the number of ignored tests in file for later review 2020-11-27 00:51:36 +01:00
Scott Kostyshak
5cf409328d ctests: invert Greek LuaTeX texF tests
These tests fail on TeX Live 2020 after a babel-greek update.
2020-11-26 11:51:39 -05:00
Thibaut Cuvelier
eeb732cd5f DocBook: implement JASA. 2020-11-26 06:55:49 +01:00