Jussi Saurio
e59c1ac985
tests/compat: use tempfiles for all empty dbs the tests open
2025-05-29 11:01:37 +03:00
Pekka Enberg
ac97ac36a6
Fix broken build in sqlite3 tests
...
Thanks for the heads up Pedro!
2025-05-27 18:44:41 +03:00
Pekka Enberg
99926c5f99
sqlite3/tests: Clippy is not happy
2025-05-27 18:16:54 +03:00
Pekka Enberg
edfa7402f0
sqlite3/test: Use tempfile in read frame test case
...
...make test runs idempotent, as suggested by Jussi.
2025-05-27 16:45:02 +03:00
Pekka Enberg
3250560eb8
sqlite3: Add libsql_wal_get_frame() API
2025-05-27 13:47:40 +03:00
PThorpe92
45de41626c
Adjust sqlite3 compat tests to use temp cloned database so further tests dont break
2025-05-17 16:11:59 -04:00
Pekka Enberg
524a523036
sqlite3: Add libsql_wal_frame_count() API
2025-05-15 11:43:44 +03:00
Pekka Enberg
12238870b7
sqlite3/tests: Make Clippy happy
...
There nothing more important to me personally than keeping the computer happy.
2025-05-15 09:38:41 +03:00
Pekka Enberg
dde897d172
sqlite3/tests: Remove test case from test_wal_checkpoint_v2
2025-05-15 09:30:42 +03:00
Pekka Enberg
de8d4dfe4f
sqlite3/tests: Remove test case from test_wal_checkpoint
...
Turns out SQLite SIGSEGVs on CI runs for this...
2025-05-15 09:15:47 +03:00
Pekka Enberg
7458848a56
sqlite3/tests: Remove C-based compat tests
...
...they're now just duplicating the Rust ones.
2025-05-15 09:15:35 +03:00
Pekka Enberg
0e5234ee86
sqlite3/tests: Skip compat test on Windows
...
We have linking issues with the static libraries so skip them for now.
2025-05-15 09:15:35 +03:00
Pekka Enberg
358a40928f
sqlite3/tests: Make Clippy happy
2025-05-15 09:15:35 +03:00
Pekka Enberg
18dbf033d8
sqlite3/tests: Enable all test cases
2025-05-15 09:15:35 +03:00
Pekka Enberg
cf66dfcdaf
sqlite3/tests: Remove invalid test_open_misuse test case
...
You can pass NULL to `sqlite3_open()` and it will open a private,
temporary on-disk database. Therefore, drop the broken test.
2025-05-15 09:15:35 +03:00
Pekka Enberg
fde5484e93
sqlite3/tests: Relax test_libversion_number assertion
...
...make it less dependent on specific version of SQLite.
2025-05-15 09:15:35 +03:00
Pekka Enberg
41e9d7f9b8
sqlite3/tests: Run Rust-based test suite also with SQLite
...
You can now run the tests with SQLite with:
```
cargo test --test compat --features sqlite3
```
2025-05-15 09:15:35 +03:00
karan
34876c4711
fixing erro code for sqlite open
...
Signed-off-by: karan <karanjanthe@gmail.com>
2025-03-08 09:52:43 +05:30
Daniel Kaluza
34690e3b63
Remove dependency on system libsqlite headers from compatibility tests
2025-01-03 11:19:21 +01:00
JeanArhancet
569322446a
feat: add round scalar function
2024-07-21 10:29:30 +02:00
Pekka Enberg
af7b8b6768
sqlite3: Implement some auxiliary functions
...
This adds `sqlite3_libversion()`, `sqlite3_libversion_number()`, and
`libsql3_threadsafe()`.
2024-07-17 13:00:35 +03:00
Pekka Enberg
a08051b106
sqlite3: Disable tests that SIGSEGV with sqlite3 on x86
2024-07-17 12:59:54 +03:00
Pekka Enberg
80fc9bacf1
sqlite3: Fix test linking
2024-07-17 12:34:17 +03:00
Pekka Enberg
3e73694370
build: Add sqlite3 API tests to make test
2024-07-17 12:13:45 +03:00
Pekka Enberg
54feddabed
sqlite3/tests: Add missing test-prepare.c
2024-07-17 12:13:45 +03:00
Pekka Enberg
cc101b1b00
Use larger and more realistic database for testing
2024-06-29 10:03:11 +03:00
Pekka Enberg
f5cc3a08f0
Initial pass on SQLite C ABI
...
This adds initial SQLite C ABI compatibility to Limbo to make sure we
drive the Rust API in the right way that allows us to implement SQLite
semantics.
2024-05-08 07:05:56 -03:00