Commit Graph

256 Commits

Author SHA1 Message Date
Stéphane Kastenbaum d1ee37974a
Add synctex option in Toml file (#1197)
Authored by: Stéphane Kastenbaum <stephane.kastenbaum@inria.fr>
2024-10-14 21:28:19 -07:00
rm-dr 9bc1d9648a
Fix tests, remove outdated test 2024-09-20 09:24:13 -07:00
rm-dr b6b3485a0a
Bundle crate rewrite 2024-09-20 09:24:13 -07:00
Bryan Lai c0e57c0d2f Generate shell completions for `nextonic`
This is achieved with clap_complete.

The current v1 & v2 cli mixture makes it a bit difficult to offer
clean completions for the `tectonic` command, so for now we only
target the `nextonic` command exclusively for the v2 cli.
2024-08-21 12:05:31 +08:00
winstxnhdw 7c664fd6e2
fix(clippy): remove unnecessary borrow 2024-06-27 15:17:10 +08:00
winstxnhdw c6f5bc3862
fix(clippy): remove unnecessary `to_string()` 2024-06-27 15:16:54 +08:00
Rune Tynan 3037b2c1f4
Also disable on i686 for now 2024-04-17 13:46:11 -07:00
Rune Tynan eace810da6
Disable utf8 chars on external harfbuzz 2024-04-16 22:31:02 -07:00
Rune Tynan ba3b523107
Fix name 2024-04-16 20:47:16 -07:00
Rune Tynan 0fdb39a4a6
Add graphite tests, make Graphite work correctly in more cases 2024-04-16 20:47:15 -07:00
CraftSpider 5fdeae3014
Add failing test for arXiv issue 2024-04-16 20:47:14 -07:00
CraftSpider 0c709b052f
Add failing test for remaining arxiv failures 2024-04-16 20:47:11 -07:00
Rune Tynan 1520823c49
Merge pull request #1180 from CraftSpider/better-tests
Improve testing infrastructure
2024-04-16 20:42:04 -07:00
Mark a451f97084
Merge pull request #1170 from CraftSpider/update-deps
Update remaining out-of-date dependencies
2024-04-01 07:27:06 -07:00
Rune Tynan c88c671fc1
Fix executable typo 2024-03-31 14:37:51 -07:00
Rune Tynan 265133751b
Ignore watch test even on normal kcov run 2024-03-31 13:37:59 -07:00
Rune Tynan 369fa34046
Fix trip/etrip 2024-03-30 22:06:57 -07:00
Rune Tynan 5ba9e8695e
Appease clippy 2024-03-30 20:39:53 -07:00
Rune Tynan 419e9af9c4
Many small changes/improvements to the test utilities
- Output PDFs in tex-outcomes when tex_res matches expected_res, not only on spotless
- Lazily check results so warnings when expecting spotless doesn't prevent file mismatch checking
- Check bibtex results
- Output expected/observed files using a longer path that includes components, so tests with the same stem don't overlap
2024-03-30 18:13:31 -07:00
CraftSpider b9285fcb78
Start test improvements 2024-03-30 17:00:04 -07:00
Rune Tynan 04113dca24
Fix clippy errors. Ignore to_string_trait_impl for now - that's actually a change in promises to users. 2024-03-27 14:55:51 -07:00
Rune Tynan 44eb323bd4
Bump easy deps + hyper test 2024-03-07 12:11:38 -08:00
rm-dr 1dccd75a0d
Clippy 2024-02-09 10:18:41 -08:00
Peter Williams 6fa8ebaa04 Resolve/work around the latest Clippy complaints 2024-02-04 16:37:28 -05:00
Bryan Lai 61eb46a8c7 Test `--web-bundle` overrides for v1 & v2 CLI 2023-12-24 01:59:16 +08:00
Bryan Lai 85b35d88a3 Allow `-X` at later positions in the CLI
In particular, we now allow `-X` to _not_ be the first cli argument.
This makes way for common options such as `--web-bundle` to be specified
_before_ the `-X` flag.
2023-12-23 18:16:58 +08:00
Bryan Lai f34b5c8e4d Test `--web-bundle` with refactored `config.rs`
`config.rs` is refactored such that `test-bundle://` is interpreted as
the valid web-bundle for offline testing.
2023-12-23 18:16:43 +08:00
Rune Tynan ee32ce3ab6
Fix #1105 - issue caused by incorrectly only growing fields once when they may need to be grown multiple times. 2023-12-01 20:49:29 -05:00
Rune Tynan a9e61d92d3
Fix title case with colons, add test for behavior 2023-09-04 14:32:44 -04:00
Rune Tynan 64caaabdd3
Remove unused hashes on raw strings 2023-08-30 09:52:04 -04:00
Rune Tynan 07b4de80ef
Make file expectations always check all expected files at once - don't panic after first different file 2023-08-25 12:34:22 -04:00
Rune Tynan 585f115f9f Improve brace test 2023-08-21 15:44:11 -04:00
Rune Tynan f4b4808f03 Add test for brace syntax in bib 2023-08-21 14:50:56 -04:00
Rune Tynan 5a8140ca77 Update test directory. Should work for-real for-real this time 2023-06-11 11:53:53 -04:00
Rune Tynan 98592712a3 Fix windows not supporting files named `AUX` 2023-06-11 11:53:53 -04:00
Rune Tynan 8f744e0ae8 Fix silly mistake 2: Not setting aux location, and add test for nested aux files 2023-06-11 11:53:53 -04:00
Rune Tynan 35c5d9fa49 Fix preamble and add tests 2023-06-11 11:53:53 -04:00
Rune Tynan acb9744559
Format 2023-05-19 14:33:53 -04:00
Rune Tynan c4ff7367fe
Fix empty is a directory issue on windows 2023-05-19 14:33:36 -04:00
Rune Tynan 74e99e4d38 Add a bunch more tests - crossrefs, multiple cites, mismatched aux lines. This should cover most main code paths as well as some particularly useful warning/error paths 2023-05-19 13:23:36 -04:00
Peter Williams b8b0245836
Merge pull request #1033 from CraftSpider/update-deps
Update deps
2023-05-17 21:08:47 -04:00
Peter Williams c7eb6a759c tests/executable.rs: skip the watch test when using kcov
As documented in a new comment, this test won't work when trying to use kcov.
That's fine.
2023-05-17 20:03:16 -04:00
Rune Tynan ddc2b8d902 Don't run watch on mips for now 2023-05-16 13:51:25 -04:00
Rune Tynan afcc24b2d7 Alter file indefinitely until watch activates sufficiently 2023-05-16 12:58:01 -04:00
Rune Tynan 355db82617 Try making sleeps longer, works locally 2023-05-16 10:43:01 -04:00
Rune Tynan 02c0bf0bad Make thread only change after process starts 2023-05-16 10:41:20 -04:00
Rune Tynan 7daf57de4d Try more reliable watch test 2023-05-16 10:41:20 -04:00
Rune Tynan 8be8fab203 Cfg correctly 2023-05-16 10:41:20 -04:00
Rune Tynan 3330378e02 Merge remote 2023-05-16 10:41:20 -04:00
Rune Tynan 54429d8a55 Fix watchexec execution 2023-05-16 10:39:44 -04:00