lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Update of "HowToContribute" by RobertMuir
Date Tue, 13 Apr 2010 14:55:27 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "HowToContribute" page has been changed by RobertMuir.
The comment on this change is: fix the instructions for testing patches and such.
http://wiki.apache.org/lucene-java/HowToContribute?action=diff&rev1=23&rev2=24

--------------------------------------------------

  To run your test case from ant use the following:
  
  {{{
- > cd lucene-trunk
+ > cd lucene-trunk/lucene
  > ant -Dtestcase=NameOfYourUnitTest test-core
  }}}
  In case your contribution fixes a bug, try and make your test case fail to show the presence
of the bug. A test case showing the presence of a bug is also a good contribution by itself.
  
- Once your test case passes, please make sure that all unit tests (core, contrib, and back-compatibility)
succeed before constructing your patch, by running this:
+ Once your test case passes, please make sure that all unit tests (core, contrib, back-compatibility,
and Solr tests) succeed before constructing your patch, by running this from the top-level:
  
  {{{
  > cd lucene-trunk
- > ant clean test test-tag
+ > ant clean test
  }}}
  After a while, if you see
  

Mime
View raw message