# ----- Build control flags -----
execute.validate=false
+execute.test.bio=true
+execute.test.nio=true
+# Still requires APR/native library to be present
+execute.test.apr=true
# ----- Default Base Path for Dependent Packages -----
# Please note this path must be absolute, not relative,
</target>
<target name="test-bio" description="Runs the JUnit test cases for BIO"
- depends="test-compile,deploy" >
+ depends="test-compile,deploy" if="${execute.test.bio}">
<runtests protocol="org.apache.coyote.http11.Http11Protocol"
extension=".BIO.txt" />
</target>
<target name="test-nio" description="Runs the JUnit test cases for NIO"
- depends="test-compile,deploy" >
+ depends="test-compile,deploy" if="${execute.test.nio}">
<runtests protocol="org.apache.coyote.http11.Http11NioProtocol"
extension=".NIO.txt" />
</target>
extension=".APR.txt" />
</target>
- <target name="test-apr-exists" description="Checks for APR lib">
+ <target name="test-apr-exists" description="Checks for APR lib"
+ if="${execute.test.apr}">
<available file="${tomcat.build}/bin/native" property="apr.exists" />
</target>