#339368 sqlite3: run tests as part of build

Package:
sqlite3
Source:
sqlite3
Description:
Command line interface for SQLite 3
Submitter:
Clint Adams
Date:
2013-09-20 05:24:04 UTC
Severity:
normal
#339368#5
Date:
2005-11-15 21:07:37 UTC
From:
To:
Please run 'make test' as part of the package build.
#339368#10
Date:
2006-04-06 18:57:51 UTC
From:
To:
Hi Clint,

 It's not that easy to enable the tests. Per policy, Debian packages
should build as root (or under fakeroot); but the tests has checks
against running them as root. The solution would be to drop cdbs and
use debhelper only, but I won't NMU such a big change to packaging.
But as Tomas Fasth seems to be MIA, I would like to adopt this package
when his MIA will be official.

Regards,
Laszlo/GCS

#339368#17
Date:
2013-09-20 01:05:41 UTC
From:
To:
Hi!

The reason you stated for not invoking the testsuite was CDBS badness.
I see sqlite3 doesn't use CDBS anymore for a couple years, since 3.7.5-1.

While the test suite doesn't test the stmt_status problem I just ran into
(#723812, no idea whose fault it is), a good pile of other bugs can be
caught immediately this way...

#339368#22
Date:
2013-09-20 05:21:34 UTC
From:
To:
Hi Adam,
 Sure, it seems CDBS is fading out anyway.
 Upstream still has root user test in the testsuite. Just checked with
3.8.0.2 and got this:
-- cut --
attach-6.1... Ok
attach-6.2...
**** Tests do not work when run as root ****
make: *** [test] Error 1
-- cut --

Some tests were run and been successful. I may patch out the root
check and the problematic tests on the next upload.

Laszlo/GCS