Skip to content

Commit

Permalink
add all projects under the test ant task (even if most of them curren…
Browse files Browse the repository at this point in the history
…tly have the test folder empty), and changes the filter for JUnit test files to **/*Test.java

git-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1139121 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Sandro Martini committed Jun 23, 2011
1 parent b10a525 commit 9504343
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.xml
Expand Up @@ -187,7 +187,7 @@ limitations under the License.
<formatter type="brief" usefile="false" if="test.formatter"/> <formatter type="brief" usefile="false" if="test.formatter"/>


<batchtest> <batchtest>
<fileset dir="@{project}/test" includes="**/*Test*.java"/> <fileset dir="@{project}/test" includes="**/*Test.java"/>
</batchtest> </batchtest>
</junit> </junit>
</sequential> </sequential>
Expand Down Expand Up @@ -391,8 +391,17 @@ limitations under the License.


<!-- Run unit tests --> <!-- Run unit tests -->
<target name="test" description="Executes unit tests" depends="compile"> <target name="test" description="Executes unit tests" depends="compile">
<test project="charts"/>
<test project="core"/> <test project="core"/>
<test project="demos"/>
<test project="demos-server"/>
<test project="tests"/>
<test project="tutorials"/>
<test project="tutorials-server"/>
<test project="web"/> <test project="web"/>
<test project="web-server"/>
<test project="wtk"/>
<test project="wtk-terra"/>
</target> </target>


<!-- Clean --> <!-- Clean -->
Expand Down

0 comments on commit 9504343

Please sign in to comment.