SQLite Forum

Automated Tests
Login
Hi there

My environment : Linux XX 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64 GNU/Linux

I downloaded sqlite-autoconf-3320200.tar.gz from your downloads page.

I de-compressed the file and cd'ed into the newly created directory.

I ran ./configure followed by make.

I got the following warning

sqlite3.c: In function ‘sqlite3SelectNew’:
sqlite3.c:129018:10: warning: function may return address of local variable [-Wreturn-local-addr]
129018 |   return pNew;
       |          ^~~~
sqlite3.c:128978:10: note: declared here
128978 |   Select standin;
       |          ^~~~~~~

I assume that this is not a problem.

I then tried to run make test to run any automated tests, and I got the message that there was no 'test' rule.
Are there any tests that I can run so I can make sure that I have correctly built sqlite?
The reason that I am doing this is so that I can run the PVStudio static analyser on your code to see if there are any errors and help you to fix them.

Thanks