Commit graph

35 commits

Author SHA1 Message Date
dundargoc
5d1db069f5 test: add quotes around bash variables
This allows the script to work on directory names with spaces in them.

Co-authored-by: buckynbrocko <77247638+buckynbrocko@users.noreply.github.com>
2024-02-15 14:33:34 +01:00
Amaan Qureshi
ef9cabd4b5
fix: update javascript tests and use cpp/javascript master for fixtures 2023-09-20 11:31:53 -04:00
Andrew Hlynskyi
09fe5f29d9 fix(test): stick tree-sitter-cpp fixture grammar to a specific hash
It's needed to fix tests fail: https://github.com/tree-sitter/tree-sitter-cpp/pull/202#issuecomment-1546279646

See CLI xtask notes in https://github.com/tree-sitter/tree-sitter/issues/1223
2023-05-13 18:57:42 +03:00
Max Brunsfeld
dd4cba2625 Allow symbols to be used in precedence lists 2021-03-03 13:11:05 -08:00
Max Brunsfeld
297e2bcb28 static query analysis: Fix handling of fields in hidden nodes 2020-09-23 16:55:48 -07:00
Max Brunsfeld
ee46218a73 Fix incremental parsing problem with non-terminal extras
Also add PHP grammar as a fixture to test against.
2020-03-02 14:17:12 -08:00
Max Brunsfeld
3f109a3cb5 highlight: Fix logic for handling empty injections with no highlights 2020-01-27 12:32:37 -08:00
Max Brunsfeld
cf5a6c0b9f Test against branches of language repos w/ new injection queries 2020-01-16 12:49:00 -08:00
Max Brunsfeld
c49afd5536 Return to using master branches of grammar repos for testing 2019-10-17 15:27:03 -07:00
Max Brunsfeld
060e00463d Implement include-children directive in injection queries 2019-10-14 17:38:42 -07:00
Max Brunsfeld
b3809274f0 Load highlight queries correctly in highlight unit tests 2019-10-14 17:24:16 -07:00
Max Brunsfeld
34de25ce54 Test against latest version of all fixture repos 2019-07-10 15:18:10 -05:00
Max Brunsfeld
b069e75149 Use branches of fixture repos with the new highlight API 2019-05-10 09:18:39 -07:00
Max Brunsfeld
fab4673c14 Get fixture grammars building for library unit tests 2019-01-10 15:48:13 -08:00
Max Brunsfeld
24d1e7ec7e Included embedded-template parser in randomized tests 2018-11-03 23:18:24 -07:00
Max Brunsfeld
e21b4505c8 Resume testing against master branch of fixture repos 2018-08-01 15:22:23 -07:00
Max Brunsfeld
68618f61a6 Test against immediate token branches of grammar repos 2018-08-01 14:23:52 -07:00
Max Brunsfeld
247848baf3 Return to using the master branch of tree-sitter-javascript for testing 2018-07-25 11:29:41 -07:00
Max Brunsfeld
9ecb20650b Fix logic for checking out branches in fixture repos 2018-07-17 15:46:14 -07:00
Max Brunsfeld
d8a420cad1 Use included range branch of javascript parser for testing 2018-07-17 14:04:37 -07:00
Max Brunsfeld
b14951de9d Included HTML parser in randomized test suite 2018-06-15 16:17:56 -07:00
Max Brunsfeld
05066e492e Fetch fixture grammars on appveyor 2017-08-08 14:47:43 -07:00
Max Brunsfeld
e5c3bf742d Update fixture grammars 2017-08-03 16:32:39 -07:00
Max Brunsfeld
09f4796f6b Get tests passing w/ new alias API 2017-08-01 14:35:34 -07:00
Max Brunsfeld
0d6ab65a97 Use branches of grammar repos that use new scanner API 2017-07-17 17:35:30 -07:00
Max Brunsfeld
9a04231ab1 Remove length restriction in external scanner serialization API 2017-07-17 17:12:36 -07:00
Phil Turnbull
153c2033df Update list of test grammars 2017-07-14 13:50:42 -07:00
Max Brunsfeld
97bcc86a3a Use master version of all fixture grammars 2017-03-19 22:19:35 -07:00
Max Brunsfeld
24878277e9 Use new version of python grammar in tests 2017-03-17 17:05:02 -07:00
Max Brunsfeld
6dc0ff359d Rename spec -> test
'Test' is a lot more straightforward of a name.
2017-03-09 20:40:01 -08:00
Max Brunsfeld
9b930748cf Test against a specific version of the javascript grammar for now 2017-02-07 17:49:31 -08:00
Max Brunsfeld
5c72c1e28b Fetch python grammar as part of CI 2016-12-20 13:06:16 -08:00
Max Brunsfeld
e1a3a1daeb Import error corpus entries from grammar repos
Now that error recovery requires no input for the grammar author, it shouldn't
be tested in the individual grammar repos.
2016-05-28 20:12:02 -07:00
Max Brunsfeld
5a595d6e70 Clone fixture grammars from new tree-sitter org 2016-02-12 12:47:38 -08:00
Max Brunsfeld
04afda2e66 Drop extensions from script filenames 2016-01-15 13:01:19 -08:00
Renamed from script/fetch_languages (Browse further)