gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
ant - recording logs of testing, plus prev test
authorDoni Pracner <quinnuendo@gmail.com>
Tue, 4 Nov 2014 01:00:43 +0000 (02:00 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Tue, 4 Nov 2014 01:00:43 +0000 (02:00 +0100)
build.xml

index 142a84b3e6ecdd1475035a8f3f93830d817a821b..3712f021f36d77c9bdc6bd6c11d8aaf03c4fe4d7 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -42,6 +42,7 @@
     <property name="log.dir" value="logs" />
     <property name="log.file.transformations" value="${log.dir}/transformations" />
     <property name="log.file.mjc2wsl" value="${log.dir}/mjc2wsl" />
+    <property name="log.file.tests.m" value="${log.dir}/tests-mj" />
 
     <description>
         Builder script for mjc2wsl and related tools, runs test
         </foreach>
     </target>
     
-    <target name="test-all-m" depends="init-compare"
+    <target name="test-all-m" depends="init-compare,init-time"
     description="Run all the tests from the test directory to compare MJ and WSL" >
+        <record name="${log.file.tests.m}${time}.txt" emacsmode="true" />
         <foreach param="filename" target="test-fn" inheritall="true">
             <path>
             <fileset dir='${samples.temp.dir}'>
             </fileset>
             </path>
         </foreach>
+        <record name="${log.file.tests}${time}.txt" action="stop" />
+        <move file="${log.file.tests.m}.txt" tofile="${log.file.tests.m}-previous.txt" failonerror="false"/>
+        <copy file="${log.file.tests.m}${time}.txt" tofile="${log.file.tests.m}.txt"/>        
     </target>
 
     <target name="test-all-t" depends="init-compare"
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner