Skip to content

Commit

Permalink
test: link to correct library in Rust tests
Browse files Browse the repository at this point in the history
Coincidentally, default GitHub CI environment contains
libsqlite.so library in place, which hid the fact that
Rust tests fail to prefer the locally built library.
The tests were previously effectively verifying that
the library from system path is correct, which is also
nice, but not the desired effect. The amended rusttest
command correctly prefers locally build libraries.
  • Loading branch information
psarna authored and penberg committed Oct 25, 2022
1 parent 63868b1 commit 83b01ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ quicktest: ./testfixture$(TEXE)
./testfixture$(TEXE) $(TOP)/test/extraquick.test $(TESTOPTS)

rusttest: sqlite3.h libsqlite3.la
( cd test/rust_suite; cargo test )
( cd test/rust_suite; LD_LIBRARY_PATH=../../.libs cargo test )

# This is the common case. Run many tests that do not take too long,
# including fuzzcheck, sqlite3_analyzer, and sqldiff tests.
Expand Down

0 comments on commit 83b01ee

Please sign in to comment.