mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-08 10:44:20 +01:00
Add reset db to Makefile to create clean testing db between tests that perform writes
This commit is contained in:
7
Makefile
7
Makefile
@@ -74,8 +74,13 @@ test-time:
|
||||
SQLITE_EXEC=$(SQLITE_EXEC) ./testing/time.test
|
||||
.PHONY: test-time
|
||||
|
||||
test-sqlite3:
|
||||
reset-db:
|
||||
./scripts/clone_test_db.sh
|
||||
.PHONY: reset-db
|
||||
|
||||
test-sqlite3: reset-db
|
||||
cargo test -p limbo_sqlite3 --test compat
|
||||
./scripts/clone_test_db.sh
|
||||
cargo test -p limbo_sqlite3 --test compat --features sqlite3
|
||||
.PHONY: test-sqlite3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user