lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-885) clean up build files so contrib tests are run more easily
Date Sat, 19 May 2007 18:03:16 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497173
] 

Hoss Man commented on LUCENE-885:
---------------------------------

Paul: i can't reproduce the problem you describe..

  > Also, in contrib/surround ant test fails, ...

using this patch, i see all (65) tests (in 3 test classes) in the org.apache.lucene.queryParser.surround.query
package pass regardless of whether I run "ant test" from the top level, or from contrib/surround
... can you attach a log of exactly hat you're doing when you get failures?

I'm also not sure i understand your question...

  > What is the preferred way to run the unit tests for a single contrib?
  > From the trunk build.xml or from the contrib/*/build.xml ? 

....from the main build.xml, "ant test-contrib" will run the tests for all constribs ... if
you only want to run test for an individual contrib, the only way i know to do that is from
the contrib's directory ... your question of "preferred" way suggests there is another way
to run tests for a single contrib, and i'm not sure what you're referring to.


One final note: testing this patch on a differnet computer today, i'm getting some additional
contrib test errors in org.apache.lucene.gdata.server.registry and org.apache.lucene.gdata.servlet.handler
(i thought i was using 1.5 yesterday but perhaps not).  still need to investigate if these
are legitimate code failures, or problems triggered by how the tests are run.


> 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
>         Assigned To: Hoss Man
>         Attachments: 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message