lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Updated: (LUCENE-885) clean up build files so contrib tests are run more easily
Date Tue, 29 May 2007 06:07:15 GMT


Hoss Man updated LUCENE-885:

    Attachment: LUCENE-885.patch

revised patch addresses two issues...

1) the gadta tests had similar issues to contrib/memory -- assumptions about CWD for purposes
of opening files.  i generalized the solution i put in for contrib/memory to create a new
"lucene.common.dir" system property when making the <junit> call so that tests would
always have a root directory to reference when opening files.

2) i added a new SanityLoadLibrary class to the contrib/db/bdb test directory ... it's not
a unity test, but a minimal java app for generateing an error if the native library needed
for the package can't be loaded --- if it doesn't exit cleanly, tests for that package will
be skipped.

NOTE: TestPrecedenceQueryParser still has test failures, which occur regardless of how the
test is run --- i'm making no attempt to fix those since they are not related to the build

I'm comfortable committing this as is in a few days, but feedback is always appreciated. 
in particular, it would be nice if someone with the BDB native library installed could sanity
test that the build system correctly runs the test in the presence of that library.

> clean up build files so contrib tests are run more easily
> ---------------------------------------------------------
>                 Key: LUCENE-885
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>         Attachments: LUCENE-885.patch, LUCENE-885.patch
> Per mailing list discussion...
> Tests for contribs should be run when "ant test" is used,  existing "test" target renamed
to "test-core"

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message