You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jakarta.apache.org by Milamber <mi...@apache.org> on 2011/01/11 18:40:11 UTC

Re: svn commit: r1057347 - /jakarta/jmeter/trunk/build.xml

Hello,

With fork=no, all test cases aren't execute when run ant tests (or
distribution).

Milamber

Le 10/01/2011 20:28, sebb@apache.org a ecrit :
> Author: sebb
> Date: Mon Jan 10 20:28:28 2011
> New Revision: 1057347
>
> URL: http://svn.apache.org/viewvc?rev=1057347&view=rev
> Log:
> Try fork=no for fixing classpath issue with Gump tests
>
> Modified:
>     jakarta/jmeter/trunk/build.xml
>
> Modified: jakarta/jmeter/trunk/build.xml
> URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/build.xml?rev=1057347&r1=1057346&r2=1057347&view=diff
> ==============================================================================
> --- jakarta/jmeter/trunk/build.xml (original)
> +++ jakarta/jmeter/trunk/build.xml Mon Jan 10 20:28:28 2011
> @@ -1859,7 +1859,8 @@ run JMeter unless all the JMeter jars ar
>     <delete quiet="true">
>        <fileset dir="${basedir}/bin/testfiles" includes="*.jmx.out"/>
>     </delete>
> -   <java classname="org.apache.jorphan.test.AllTests" fork="yes" failonerror="true" dir="${basedir}/bin">
> +   <!-- fork="yes" causes problems for Gump builds. -->
> +   <java classname="org.apache.jorphan.test.AllTests" fork="no" failonerror="true" dir="${basedir}/bin">
>        <classpath>
>          <fileset dir="${dest.jar}" includes="*.jar"/>
>          <pathelement location="${build.test}"/>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: notifications-help@jakarta.apache.org
>
>
>   


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


Re: svn commit: r1057347 - /jakarta/jmeter/trunk/build.xml

Posted by sebb <se...@gmail.com>.
On 12 January 2011 09:20, sebb <se...@gmail.com> wrote:
> On 11 January 2011 17:40, Milamber <mi...@apache.org> wrote:
>> Hello,
>>
>> With fork=no, all test cases aren't execute when run ant tests (or
>> distribution).
>
> Thanks.
>
> I'm looking into that now.

The problem seems to be that the dir="${basedir}/bin" is silently
ignored when fork="no",.
This affects the classpath scanning.

I need to find a different way to fix the Gump builds.

>> Milamber
>>
>> Le 10/01/2011 20:28, sebb@apache.org a ecrit :
>>> Author: sebb
>>> Date: Mon Jan 10 20:28:28 2011
>>> New Revision: 1057347
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1057347&view=rev
>>> Log:
>>> Try fork=no for fixing classpath issue with Gump tests
>>>
>>> Modified:
>>>     jakarta/jmeter/trunk/build.xml
>>>
>>> Modified: jakarta/jmeter/trunk/build.xml
>>> URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/build.xml?rev=1057347&r1=1057346&r2=1057347&view=diff
>>> ==============================================================================
>>> --- jakarta/jmeter/trunk/build.xml (original)
>>> +++ jakarta/jmeter/trunk/build.xml Mon Jan 10 20:28:28 2011
>>> @@ -1859,7 +1859,8 @@ run JMeter unless all the JMeter jars ar
>>>     <delete quiet="true">
>>>        <fileset dir="${basedir}/bin/testfiles" includes="*.jmx.out"/>
>>>     </delete>
>>> -   <java classname="org.apache.jorphan.test.AllTests" fork="yes" failonerror="true" dir="${basedir}/bin">
>>> +   <!-- fork="yes" causes problems for Gump builds. -->
>>> +   <java classname="org.apache.jorphan.test.AllTests" fork="no" failonerror="true" dir="${basedir}/bin">
>>>        <classpath>
>>>          <fileset dir="${dest.jar}" includes="*.jar"/>
>>>          <pathelement location="${build.test}"/>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: notifications-help@jakarta.apache.org
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: dev-help@jakarta.apache.org
>>
>>
>

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


Re: svn commit: r1057347 - /jakarta/jmeter/trunk/build.xml

Posted by sebb <se...@gmail.com>.
On 11 January 2011 17:40, Milamber <mi...@apache.org> wrote:
> Hello,
>
> With fork=no, all test cases aren't execute when run ant tests (or
> distribution).

Thanks.

I'm looking into that now.

> Milamber
>
> Le 10/01/2011 20:28, sebb@apache.org a ecrit :
>> Author: sebb
>> Date: Mon Jan 10 20:28:28 2011
>> New Revision: 1057347
>>
>> URL: http://svn.apache.org/viewvc?rev=1057347&view=rev
>> Log:
>> Try fork=no for fixing classpath issue with Gump tests
>>
>> Modified:
>>     jakarta/jmeter/trunk/build.xml
>>
>> Modified: jakarta/jmeter/trunk/build.xml
>> URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/build.xml?rev=1057347&r1=1057346&r2=1057347&view=diff
>> ==============================================================================
>> --- jakarta/jmeter/trunk/build.xml (original)
>> +++ jakarta/jmeter/trunk/build.xml Mon Jan 10 20:28:28 2011
>> @@ -1859,7 +1859,8 @@ run JMeter unless all the JMeter jars ar
>>     <delete quiet="true">
>>        <fileset dir="${basedir}/bin/testfiles" includes="*.jmx.out"/>
>>     </delete>
>> -   <java classname="org.apache.jorphan.test.AllTests" fork="yes" failonerror="true" dir="${basedir}/bin">
>> +   <!-- fork="yes" causes problems for Gump builds. -->
>> +   <java classname="org.apache.jorphan.test.AllTests" fork="no" failonerror="true" dir="${basedir}/bin">
>>        <classpath>
>>          <fileset dir="${dest.jar}" includes="*.jar"/>
>>          <pathelement location="${build.test}"/>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: notifications-help@jakarta.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: dev-help@jakarta.apache.org
>
>

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