File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,11 @@ run_test(){
3030 [ -f $src .snap.$syntax ] && mv $src .snap.$syntax $src .snap
3131 done
3232
33- # Run the test
33+ # Run the test. Use a non-existing language config, otherwise the tool
34+ # automatically loads the grammar configured in the package.json
3435 echo -n " [Ada $syntax ]\t"
3536 ./node_modules/.bin/vscode-tmgrammar-snap -g $syntax /ada.tmLanguage.json \
37+ --config " none" \
3638 -s source.ada \
3739 $update \
3840 " $dir /*.ad?" || _err=1
@@ -60,8 +62,8 @@ error=0
6062if [ " $testpath " != " " ]; then
6163 run_test $testpath || error=1
6264else
63- for dir in ` ls testsuite_grammar ` ; do
64- run_test testsuite_grammar/ $dir || error=1
65+ for dir in ` find test/TestWorkspace/highlighing -type d -depth 1 ` ; do
66+ run_test $dir || error=1
6567 done
6668fi
6769
You can’t perform that action at this time.
0 commit comments