ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15287] - In junit task, the <sysproperty> makes the test class hung
Date Thu, 12 Dec 2002 15:11:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15287>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15287

In junit task, the <sysproperty> makes the test class hung





------- Additional Comments From fzhu@zvolve.com  2002-12-12 15:11 -------
BTW, if using junit tasks to test threaded libraries, the following helped find
the threads that would not die!

        <junit printsummary="withOutAndErr" fork="true" 
               timeout="1000" showoutput="yes">
              <classpath refid="run.classpath" />
              <sysproperty key="CHOST" value="${Conscious.host}"/>
              <sysproperty key="THOME" value="${tester.home}"/> 
              <formatter type="brief" usefile="false" />
              <formatter type="xml"/>
              <batchtest fork="yes" todir="${junit.home}">
                    <fileset dir="${build.home}/classes/">
                      <include name="**/ZcoreTest.class"/>
                      <exclude name="**/*_Test.class"/>
                    </fileset>
              </batchtest>      
        </junit>

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message