Add 'make test-single'

e.g. `make test-single TEST=subquery.test`

Plus: chmod +x to all tcl tests in testing folder
This commit is contained in:
Jussi Saurio
2025-10-30 11:35:17 +02:00
parent 84a367b00e
commit 7e65657ab0
11 changed files with 8 additions and 0 deletions

View File

@@ -68,6 +68,14 @@ test-shell: build uv-sync-test
test-compat: check-tcl-version test-compat: check-tcl-version
RUST_LOG=$(RUST_LOG) SQLITE_EXEC=$(SQLITE_EXEC) ./testing/all.test RUST_LOG=$(RUST_LOG) SQLITE_EXEC=$(SQLITE_EXEC) ./testing/all.test
test-single: check-tcl-version
@if [ -z "$(TEST)" ]; then \
echo "Usage: make test-single TEST=path/to/test.test"; \
exit 1; \
fi
RUST_LOG=$(RUST_LOG) SQLITE_EXEC=$(SQLITE_EXEC) ./testing/$(TEST)
.PHONY: test-single
.PHONY: test-compat .PHONY: test-compat
test-vector: test-vector:

0
testing/changes.test Normal file → Executable file
View File

0
testing/compare.test Normal file → Executable file
View File

0
testing/concat.test Normal file → Executable file
View File

0
testing/default_value.test Normal file → Executable file
View File

0
testing/foreign_keys.test Normal file → Executable file
View File

0
testing/glob.test Normal file → Executable file
View File

0
testing/integrity_check.test Normal file → Executable file
View File

0
testing/scalar-functions-printf.test Normal file → Executable file
View File

0
testing/subquery.test Normal file → Executable file
View File

0
testing/total-changes.test Normal file → Executable file
View File