aboutsummaryrefslogtreecommitdiff
path: root/tests/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.sh')
-rwxr-xr-xtests/test.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test.sh b/tests/test.sh
index d8ad0fb..6d8453e 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -637,6 +637,10 @@ s_lsp() {
node tests/drivers/completion_test.js $lsp > $T/completion.out 2>&1; r=$?
grep -v '^ok' $T/completion.out
chk $r 0 "lsp: fuzzy completions, signatures, scope and expired lifetimes"
+ $CC -pthread -O2 -w -fwrapv -DJTYPE=int src/core/core.c src/core/io_linux.c $GI -o $T/zy
+ ZY=$T/zy node tests/drivers/borrow_diag_test.js $lsp > $T/borrowdiag.out 2>&1; r=$?
+ grep -v '^ok' $T/borrowdiag.out
+ chk $r 0 "lsp: borrow errors are zy's own messages, with the use's range and the owner as related information"
node tests/drivers/analysis_cache_test.js $lsp > $T/analysiscache.out 2>&1; r=$?
grep -v '^ok' $T/analysiscache.out
chk $r 0 "lsp: analysis cache reuse and invalidation"