<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Please find my inline reply.</div><div class="gmail_quote"><br></div><div class="gmail_quote">On 26 January 2015 at 06:56, Olly Betts <span dir="ltr"><<a href="mailto:olly@survex.com" target="_blank">olly@survex.com</a>></span> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Sun, Jan 25, 2015 at 06:46:26PM +0500, Saad Ahmed wrote:<br>
> I have been able to successfully build the code. But when I run the<br>
> existing testcases (to verify everthing is working fine), It says 3 out of<br>
> the six testcases fails. Here is the report of the test cases.<br>
<br>
</span><span class="">> Running tests with backend "inmemory"...<br>
> Running test: topercent2...FAIL: apitest<br>
<br>
</span><span class="">> Running test './queryparsertest' under eatmydata and valgrind<br>
> Running test: qp_spell1...FAIL: queryparsertest<br>
<br>
> Running test './termgentest' under eatmydata and valgrind<br>
> Running test: tg_spell1...FAIL: termgentest<br>
<br>
</span>Is this with git master (if not, what version of Xapian)?<br>
<br></blockquote><div>No its not with git master. Xapian's version is 1.3.2 (development version).</div><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
What platform are you using?<br></blockquote><div>I am using Ubuntu 14.04 LTS. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
These all pass for me on Debian unstable with git master.<br>
<br>
You can get more information about the failure by running the testcases<br>
by hand like so:<br>
<br>
./runtest ./apitest --verbose topercent2<br></blockquote><div><br></div><div>This command gives following output</div><div><br></div><div>"</div><div><div>Running test './apitest --verbose topercent2' under eatmydata and valgrind</div><div>Running tests with backend "none"...</div><div>Running tests with backend "inmemory"...</div><div>Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database</div><div>./apitest backend inmemory: 0 tests passed, 1 failed.</div><div>Running tests with backend "glass"...</div><div>Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database</div><div>./apitest backend glass: 0 tests passed, 1 failed.</div><div>Running tests with backend "chert"...</div><div>Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database</div><div>./apitest backend chert: 0 tests passed, 1 failed.</div><div>Running tests with backend "multi_glass"...</div><div>Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database</div><div>./apitest backend multi_glass: 0 tests passed, 1 failed.</div><div>Running tests with backend "multi_chert"...</div><div>Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database</div><div>./apitest backend multi_chert: 0 tests passed, 1 failed.</div><div>Running tests with backend "remoteprog_glass"...</div><div>Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database</div><div>./apitest backend remoteprog_glass: 0 tests passed, 1 failed.</div><div>Running tests with backend "remotetcp_glass"...</div><div>Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database</div><div>./apitest backend remotetcp_glass: 0 tests passed, 1 failed.</div><div>Running tests with backend "remoteprog_chert"...</div><div>Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database</div><div>./apitest backend remoteprog_chert: 0 tests passed, 1 failed.</div><div>Running tests with backend "remotetcp_chert"...</div><div>Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database</div><div>./apitest backend remotetcp_chert: 0 tests passed, 1 failed.</div><div>./apitest total: 0 tests passed, 9 failed.</div></div><div>"<br></div><div>This shows that "apitest" is unable to find the test database. Am I missing any step? </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Cheers,<br>
    Olly<br>
</blockquote></div><br></div></div>