mirror of
https://github.com/allankoechke/turso.git
synced 2026-12-05 01:24:45 +00:00
Relocate the SQL conformance test corpora so testing/sqltests holds only the test-runner crate: testing/sqltests/tests becomes sqlite/conformance/sqlite-sqltests (SQLite-compatible coverage, also run against real sqlite3) and testing/sqltests/turso-tests becomes sqlite/conformance/turso-sqltests (Turso-specific behavior). The Makefile and the database fixtures move along with them, so the suite is now driven with make -C sqlite/conformance. Keeping the fixtures next to the Makefile matters because .sqltest files reference them with working-directory-relative paths like database/integrity_*.db. The runner previously generated integrity fixtures under its own CARGO_MANIFEST_DIR while backends opened them relative to the working directory; generation now uses the working directory too, so both sides agree regardless of where the corpora live. Tests: make -C sqlite/conformance check and run-rust (1438 passed), cargo test -p core_tester test_drop_broken_legacy_view_row
4.0 KiB
4.0 KiB