svn commit: r17138 - trunk/src/argouml-app/build.xml

Tom Morris <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2009-04-27 10:43:45-0700
New Revision: 17138

Modified:
   trunk/src/argouml-app/build.xml

Log:
Only run tests which have been compiled.  Don't try to test uncompiled source files.

Modified: trunk/src/argouml-app/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/build.xml?view=diff&pathrev=17138&r1=17137&r2=17138
==============================================================================
--- trunk/src/argouml-app/build.xml	(original)
+++ trunk/src/argouml-app/build.xml	2009-04-27 10:43:45-0700
@@ -517,8 +517,9 @@
       <classpath refid="tests.all.classpath"/>
       <formatter type="xml"/>
       <batchtest todir="${tests.reports}">
-        <fileset dir="tests">
-          <include name="org/argouml/**/Test*.java"/>
+        <fileset dir="${tests.classes}">
+          <include name="org/argouml/**/Test*.class"/>
+          <exclude name="**/*$*" />
         </fileset>
       </batchtest>
     </junit>
@@ -552,8 +553,9 @@
       <classpath refid="tests.all.classpath"/>
       <formatter type="xml"/>
       <batchtest todir="${tests.reports}">
-        <fileset dir="tests">
-          <include name="org/argouml/**/GUITest*.java"/>
+        <fileset dir="${tests.classes}">
+          <include name="org/argouml/**/GUITest*.class"/>
+          <exclude name="**/*$*" />
         </fileset>
       </batchtest>
     </junit>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=1949426

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.