[Xapian-devel] TestCases Failure

Saad Ahmed ch.saad.ahmed at gmail.com
Mon Jan 26 20:49:37 GMT 2015


Please find my inline reply.

On 26 January 2015 at 06:56, Olly Betts <olly at survex.com> wrote:

> On Sun, Jan 25, 2015 at 06:46:26PM +0500, Saad Ahmed wrote:
> > I have been able to successfully build the code. But when I run the
> > existing testcases (to verify everthing is working fine), It says 3 out
> of
> > the six testcases fails. Here is the report of the test cases.
>
> > Running tests with backend "inmemory"...
> > Running test: topercent2...FAIL: apitest
>
> > Running test './queryparsertest' under eatmydata and valgrind
> > Running test: qp_spell1...FAIL: queryparsertest
>
> > Running test './termgentest' under eatmydata and valgrind
> > Running test: tg_spell1...FAIL: termgentest
>
> Is this with git master (if not, what version of Xapian)?
>
> No its not with git master. Xapian's version is 1.3.2 (development
version).


> What platform are you using?
>
I am using Ubuntu 14.04 LTS.

>
> These all pass for me on Debian unstable with git master.
>
> You can get more information about the failure by running the testcases
> by hand like so:
>
> ./runtest ./apitest --verbose topercent2
>

This command gives following output

"
Running test './apitest --verbose topercent2' under eatmydata and valgrind
Running tests with backend "none"...
Running tests with backend "inmemory"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend inmemory: 0 tests passed, 1 failed.
Running tests with backend "glass"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend glass: 0 tests passed, 1 failed.
Running tests with backend "chert"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend chert: 0 tests passed, 1 failed.
Running tests with backend "multi_glass"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend multi_glass: 0 tests passed, 1 failed.
Running tests with backend "multi_chert"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend multi_chert: 0 tests passed, 1 failed.
Running tests with backend "remoteprog_glass"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend remoteprog_glass: 0 tests passed, 1 failed.
Running tests with backend "remotetcp_glass"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend remotetcp_glass: 0 tests passed, 1 failed.
Running tests with backend "remoteprog_chert"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend remoteprog_chert: 0 tests passed, 1 failed.
Running tests with backend "remotetcp_chert"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend remotetcp_chert: 0 tests passed, 1 failed.
./apitest total: 0 tests passed, 9 failed.
"
This shows that "apitest" is unable to find the test database. Am I missing
any step?

>
> Cheers,
>     Olly
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20150127/15135416/attachment.html>


More information about the Xapian-devel mailing list