Disable our lock factory tests, if clover is enabled (the exact reason is unclear, but it looks like Clover gets a deadlock if instrumented code is run inside the ANT JVM)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595255 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2014-05-16 16:33:42 +00:00
parent c8e6e5b35a
commit 58f6201508
1 changed files with 3 additions and 1 deletions

View File

@ -195,11 +195,13 @@
</sequential>
</macrodef>
<!-- we ignore our ant-based lock factory test, if user applies test filtering: -->
<condition property="-ignore-test-lock-factory">
<or>
<!-- We ignore our ant-based lock factory test, if user applies test filtering: -->
<isset property="tests.class" />
<isset property="tests.method" />
<!-- Clover seems to deadlock if running instrumented code inside the Ant JVM: -->
<isset property="run.clover" />
</or>
</condition>