You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Donald Woods <dw...@apache.org> on 2008/10/02 20:11:41 UTC

Re: svn commit: r700567 - /geronimo/server/trunk/testsuite/pom.xml

Yes, it mirrors the existing -DshittyTestExcludes that was already there...

You can continue using the other method, which I couldn't find 
documented anywhere in the wiki....


-Donald


Lin Sun wrote:
> I have been using
> 
> mvn install -Dtests=console-testsuite/advanced
> 
> to run the individual test suite.  Doesn't this -DshittyTestIncludes
> do pretty much the same thing?
> 
> Lin
> 
> On Tue, Sep 30, 2008 at 4:15 PM,  <dw...@apache.org> wrote:
>> Author: dwoods
>> Date: Tue Sep 30 13:15:00 2008
>> New Revision: 700567
>>
>> URL: http://svn.apache.org/viewvc?rev=700567&view=rev
>> Log:
>> updates and a Note on how to run specific testsuite buckets, like - mvn -DshittyTestIncludes=console-testsuite/advanced/pom.xml
>>
>> Modified:
>>    geronimo/server/trunk/testsuite/pom.xml
>>
>> Modified: geronimo/server/trunk/testsuite/pom.xml
>> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/pom.xml?rev=700567&r1=700566&r2=700567&view=diff
>> ==============================================================================
>> --- geronimo/server/trunk/testsuite/pom.xml (original)
>> +++ geronimo/server/trunk/testsuite/pom.xml Tue Sep 30 13:15:00 2008
>> @@ -41,10 +41,17 @@
>>
>>     <properties>
>>         <!--
>> -        NOTE: The default assembly is jetty, so exclude any tomcat tests by default.
>> -              Profiles below should toggle this as the assemblyId is changed.
>> +        NOTE: The default assembly is jetty, so exclude any tomcat tests by
>> +              default. Profiles below will set this based on the assemblyId.
>>         -->
>>         <shittyTestExcludes>**/*tomcat*/pom.xml</shittyTestExcludes>
>> +
>> +        <!--
>> +        NOTE: Override the following on the cmdline to only run specific
>> +              testsuite buckets.  To only run console-testsuite/advanced -
>> +                mvn -DshittyTestIncludes=console-testsuite/advanced/pom.xml
>> +        -->
>> +        <shittyTestIncludes>*/*/pom.xml</shittyTestIncludes>
>>     </properties>
>>
>>     <dependencies>
>> @@ -243,7 +250,7 @@
>>                         <fileset>
>>                             <directory>${project.basedir}</directory>
>>                             <includes>
>> -                                <include>*/*/pom.xml</include>
>> +                                <include>${shittyTestIncludes}</include>
>>                             </includes>
>>                             <excludes>
>>                                 <exclude>${shittyTestExcludes}</exclude>
>>
>>
>>
>