[
https://issues.apache.org/jira/browse/LUCENE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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 system.
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: https://issues.apache.org/jira/browse/LUCENE-885
> 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...
> http://www.nabble.com/Tests%2C-Contribs%2C-and-Releases-tf3768924.html#a10655448
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]