51 Commits
Author SHA1 Message Date
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
James McCoy 9afd0309fc tests: Use tempdir for XDG_RUNTIME_DIR 2022-12-21 22:21:48 -05:00
Kovid Goyal 2e07f90baf ... 2022-11-14 15:42:07 +05:30
Kovid Goyal f945ef8ee8 handle ctrl-c better when interrupting go test 2022-11-14 15:42:06 +05:30
Kovid Goyal 3662efdf80 Nicer handling of python for typecheck 2022-11-14 15:42:02 +05:30
Kovid Goyal 49f5f25fb9 Run tests in the writeable src dir as the generated go files are present there 2022-11-14 15:42:01 +05:30
Kovid Goyal ff4353b209 ... 2022-11-14 15:42:01 +05:30
Kovid Goyal 800dbf1f4d extra message when tests have failed 2022-11-14 15:42:00 +05:30
Kovid Goyal b33a684357 ... 2022-11-14 15:41:53 +05:30
Kovid Goyal 3b2c4561c2 Dont change the env for go tests
This prevents got test caching from working greatly increasing the time
for running a test
2022-11-14 15:41:53 +05:30
Kovid Goyal e69b02ad46 ... 2022-11-14 15:41:53 +05:30
Kovid Goyal 85b6053380 Run go tests in parallel 2022-11-14 15:41:53 +05:30
Kovid Goyal 417c8887b9 Start on testing infra for command to JSON serialization 2022-11-14 15:41:47 +05:30
Kovid Goyal 82a0e56eb2 Fix go tests not being excluded correctly 2022-11-14 15:41:45 +05:30
Kovid Goyal 14262b158d Log which go exe is being used to run the tests 2022-11-14 15:41:44 +05:30
Kovid Goyal 1325844539 Add some go testing infrastructure 2022-11-14 15:41:44 +05:30
Kovid Goyal 93563f1280 More pointless code churn thanks to importlib.resources
They've deprecated a bunch of API but the suggested replacement is
either not present in versions of python that are not EOLed or doesn't
actually work.
2022-11-03 12:13:47 +05:30
Kovid Goyal 0b3228ab16 ... 2022-11-01 12:51:36 +05:30
Kovid Goyal 3f28cf45d4 Dont use the deprecated importlib.resources API 2022-11-01 12:38:24 +05:30
Kovid Goyal 5ea0519f62 Pass through python used for type check to the test code from before the env is sanitized 2022-09-25 14:36:12 +05:30
Kovid Goyal 57d3d09679 DRYer 2022-07-13 19:49:40 +05:30
Kovid Goyal e06bd68379 Split up ssh tests 2022-03-03 21:24:45 +05:30
Kovid Goyal f0e8ab8f31 Drop support for python 3.6
It is being EOLed next month (https://www.python.org/dev/peps/pep-0494/)
which is when I expect the next kitty release as well
2021-11-18 22:44:41 +05:30
Kovid Goyal 6546c1da9b run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal 8f0b3983ee Apparently only importlib_resources has actually deprecated contents() 2021-10-20 11:15:51 +05:30
Kovid Goyal 7f2ce045ab Handle deprecation of importlib.resources APIs 2021-10-19 09:14:58 +05:30
Kovid Goyal 6d7df1c5e8 Refactor configuration file parsing
Now the time for importing the kitty.config module has been halved, from
16ms from 32ms on my machine. Also, the new architecture will eventually
allow for auto generating a bunch of python-to-C boilerplate code.
2021-05-31 17:40:49 +05:30
Kovid Goyal dbc1ade5a9 Fallback to importlib_resources on python 3.6 2021-02-19 18:02:15 +05:30
Kovid Goyal c2a924a5ea Run all tests on the full frozen build using the frozen launcher
Much more comprehensive test coverage at the cost of slightly increasing
the frozen build size.
2021-02-19 17:57:59 +05:30