error handling on vec0 INSERT operations, introduce evidence-of

This commit is contained in:
Alex Garcia 2024-06-23 17:46:42 -07:00
parent f9e1bf2f34
commit 4196f16b27
3 changed files with 605 additions and 115 deletions

View file

@ -164,17 +164,21 @@ lint:
progress:
deno run --allow-read=sqlite-vec.c scripts/progress.ts
evidence-of:
@echo "EVIDENCE-OF: V$(shell printf "%05d" $$((RANDOM % 100000)))_$(shell printf "%05d" $$((RANDOM % 100000)))"
test:
sqlite3 :memory: '.read test.sql'
.PHONY: version loadable static test clean gh-release
.PHONY: version loadable static test clean gh-release evidence-of
publish-release:
./scripts/publish-release.sh
# -k test_vec0_update
test-loadable: loadable
$(PYTHON) -m pytest -vv -s tests/test-loadable.py
$(PYTHON) -m pytest -vv -s -x tests/test-loadable.py
test-loadable-snapshot-update: loadable
$(PYTHON) -m pytest -vv tests/test-loadable.py --snapshot-update