Commit graph

79 commits

Author SHA1 Message Date
Zhizhen He
d2ec953df7 tests: Reuse existing resource enumeration helper 2026-11-06 19:17:39 +08:00
Kovid Goyal
eb1470d483
Fix #10735
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-10-25 11:28:27 +05:30
Kovid Goyal
165ef719c8
Fix #10731 2026-10-25 08:18:09 +05:30
Hassan Raza
c137a577d8
Retain Go diagnostics when the test process fails 2026-10-06 14:31:17 +05:00
Hassan Raza
35b4e5838b
Use the running launcher directory in test PATH 2026-10-06 12:55:31 +05:00
Hassan Raza
e18a2e3ec6
Run all requested Go test names 2026-10-06 12:17:51 +05:00
Kovid Goyal
bab67650e2
Test suite: Fix small numbers of Python tests being run in incorrect environment
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
Also fix env reporting. Fixes #10478
2026-09-15 16:50:21 +05:30
Kovid Goyal
77630f3a67
Fix random test failure when running in parallel on macOS 2026-08-23 20:39:43 +05:30
Kovid Goyal
07ea7583ac
Improve performance of SIMD UTF-8 decoding
Optimise the AVX 2 implementation reducing number of operations per block
and also add an AVX-512 implementation used when the CPU supports it at
runtime.
2026-08-16 20:25:03 +05:30
Kovid Goyal
29d8b45594
Query go itself for its cache directories
Fixes test suite causing a full rebuild on every run on macOS
2026-08-12 19:06:45 +05:30
Kovid Goyal
dcbffe3fe0
Cleanup all_fonts_map() invocation to be once per worker process only and not in master process when using execed test workers 2026-08-12 17:39:03 +05:30
Kovid Goyal
00a5ca54ef
Cleanup test worker launch code 2026-08-12 16:01:31 +05:30
Kovid Goyal
185de897b4
Run tests in execed workers rather than forked workers on macOS to ensure there are no issues form CoreFoundation libraries not liking fork + threads
Fixes #10349
2026-08-12 15:53:22 +05:30
Kovid Goyal
f047fc82d5
Report python test worker failures separately from test failures 2026-08-12 15:29:40 +05:30
Kovid Goyal
485a12aa12
Report python subtest failures when running test suite 2026-08-12 15:25:32 +05:30
Kovid Goyal
60c4f1c37c
... 2026-08-05 05:32:57 +05:30
Kovid Goyal
53f1b6fefb
Report Go tests properly 2026-08-05 05:32:57 +05:30
Kovid Goyal
39ae060d23
Run python test in parallel 2026-08-05 05:32:57 +05:30
Kovid Goyal
cbf3c50cf4
... 2026-08-05 05:32:57 +05:30
Kovid Goyal
7f0b072f0d
autoformat 2026-08-05 05:32:56 +05:30
Kovid Goyal
dbe59e0667
... 2026-08-05 05:32:54 +05:30
Kovid Goyal
c4f1d1b9be
Delay load slangc 2026-08-05 05:32:54 +05:30
copilot-swe-agent[bot]
a31f9e52f2
Refactor kitty_tests: move __init__.py code to base.py, update all imports 2026-08-05 05:32:54 +05:30
Kovid Goyal
2a71ecdc89
Ensure slangc is correct in test env 2026-08-05 05:32:54 +05:30
Kovid Goyal
a65b4c70a7
Migrate type checker to ty
Much faster than mypy. Matches usage of ruff from same developer.
2026-07-04 09:18:00 +05:30
Kovid Goyal
9bb359e1ef
Bump python version in CI 2026-04-19 21:35:13 +05:30
Kovid Goyal
fd20fd23bb
Use clean HOME and CONF and CACHE dirs when running Go tests 2025-07-09 13:29:33 +05:30
Kovid Goyal
c861259e3b
Rename go module from kitty -> github.com/kovidgoyal/kitty
Makes the code more easily re-useable in other projects
2025-05-16 08:43:39 +05:30
Kovid Goyal
9e1601a9b5
Nicer way to include grapheme test data in Go tests 2025-03-27 03:20:27 +05:30
Kovid Goyal
f058c597ae
Dont rely on hard links 2025-03-26 21:59:24 +05:30
Kovid Goyal
305c1a25c5
More robust fetching of grapheme break test data in Go test 2025-03-26 21:56:52 +05:30
Kovid Goyal
da1626090a
Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
Kovid Goyal
0c1d239b5f
Exclude bypy/b from go test discovery 2024-08-23 11:27:54 +05:30
Kovid Goyal
2b3f2258ff
More pyugrade to 3.9 2024-08-05 11:00:51 +05:30
Kovid Goyal
304ecdd8c2
Refactor scoring 2024-06-24 07:54:16 +05:30
Kovid Goyal
288fa0128b
Fix test suite running under sanitizers 2024-03-14 15:01:55 +05:30
Kovid Goyal
b0ccaa09be
Clean up test env reporting 2024-02-25 09:57:37 +05:30
Kovid Goyal
bbaccfdaae
DRYer 2024-02-25 09:57:37 +05:30
Kovid Goyal
8742fb8cce
Detect availability of intrinsics on intel macs just in case 2024-02-25 09:57:30 +05:30
Kovid Goyal
93bb6680c5
flush after run_cli, more logical 2023-08-07 12:37:27 +05:30
Kovid Goyal
1347d1ad47
Let go tests run without blocking on stdio 2023-08-07 10:56:39 +05:30
Kovid Goyal
d6187b5bfc
... 2023-08-07 10:25:20 +05:30
Kovid Goyal
e2915601a4
More robust stdio forwarding in tests 2023-08-05 11:37:39 +05:30
Kovid Goyal
88beb58838
Prevent go test output being interleaved with python 2023-08-05 10:15:08 +05:30
olzhasar
d0a5d1b3a4 Fix misspellings 2023-06-14 03:39:53 +06:00
Kovid Goyal
29dd2438c9
Port the subseq matcher to Go 2023-03-14 12:29:44 +05:30
Kovid Goyal
b76b0c61ed
Port custom processor for hints 2023-03-10 10:45:37 +05:30
Kovid Goyal
0e5ed29d83
Fix generation of url regex for Go 2023-03-09 19:00:56 +05:30
Kovid Goyal
7fe5d7b58f
Replace isort with ruff 2023-01-09 16:47:42 +05:30
Kovid Goyal
e2543e8968
Fix #5852 2023-01-04 08:20:04 +05:30