From: <st...@us...> - 2009-05-01 11:20:14
|
Revision: 7564 http://smartfrog.svn.sourceforge.net/smartfrog/?rev=7564&view=rev Author: steve_l Date: 2009-05-01 11:20:04 +0000 (Fri, 01 May 2009) Log Message: ----------- List all our tests to a .sf file that is included in the build; this will let us execute them later against the RPMs Modified Paths: -------------- trunk/core/testharness/build.xml Modified: trunk/core/testharness/build.xml =================================================================== --- trunk/core/testharness/build.xml 2009-04-30 16:24:56 UTC (rev 7563) +++ trunk/core/testharness/build.xml 2009-05-01 11:20:04 UTC (rev 7564) @@ -135,6 +135,30 @@ </sf-rmic> </target> + <target name="list-tests" + depends="compile-tests,use-smartfrog-tasks"> + <property name="test.listing.file" + location="${test.classes.dir}/org/smartfrog/test/testcases.csv" /> + <!-- + startFile='"tests:" ' + --> + <sf-listresources + property="test.listing" + destFile="${test.listing.file}" + prefixtostrip="${test.classes.dir}/" + suffixtostrip=".class" + dirsplitter="." + startentry='"' + endentry='", ' + + endFile='"" '> + <fileset dir="${test.classes.dir}" includes="**/*Test.class" /> + </sf-listresources> + <echo>Tests= +${test.listing} + </echo> + </target> + <!-- ========================================================== --> <!-- conditionally start the daemon if one was not found already--> <!-- and do not complain if it could not start (or execution timed out) --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |