mirror of https://github.com/apache/lucene.git
Fix Rakefile to fail immediately on unit test failures, rather than bug where things might seem ok if units failed but functionals did not
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495838 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c20a0cc4d8
commit
dcc781a7a5
|
@ -80,7 +80,7 @@ end
|
|||
|
||||
task :test do
|
||||
# unit tests don't require a solr server
|
||||
Rake::Task[:test_units].invoke rescue got_error = true
|
||||
Rake::Task[:test_units].invoke
|
||||
|
||||
# wrap functional tests with a test-specific Solr server
|
||||
got_error = TestSolrServer.wrap(:quiet => ENV['SOLR_CONSOLE'] ? false : true) do
|
||||
|
|
Loading…
Reference in New Issue