flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [02/18] git commit: [flex-falcon] [refs/heads/develop] - factor out sdk and asjs dependent tests into separate ant targets. You can still run them all by using 'ant all'
Date Mon, 12 Oct 2015 20:36:58 GMT
factor out sdk and asjs dependent tests into separate ant targets.  You can still run them
all by using 'ant all'


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/0b783600
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0b783600
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0b783600

Branch: refs/heads/develop
Commit: 0b7836009c3123f807fb4dcd192d6a24b1b30c14
Parents: 7dff7ce
Author: Alex Harui <aharui@apache.org>
Authored: Fri Oct 9 12:14:33 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Oct 9 12:14:33 2015 -0700

----------------------------------------------------------------------
 compiler.jx.tests/build.xml | 51 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0b783600/compiler.jx.tests/build.xml
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/build.xml b/compiler.jx.tests/build.xml
index d155c3c..80c3078 100644
--- a/compiler.jx.tests/build.xml
+++ b/compiler.jx.tests/build.xml
@@ -70,12 +70,62 @@
             <batchtest todir="${compiler.tests}/results">
                 <fileset dir="${compiler.tests}/classes">
                     <include name="**/Test*.class"/>
+                    <exclude name="**/TestVF2JS*.class"/>
+                    <exclude name="**/TestFlexJSFile.class"/>
+                    <exclude name="**/TestFlexJSMXML*.class"/>
+                    <exclude name="**/TestMXML*.class"/>
                 </fileset>
             </batchtest>
             <formatter type="xml"/>
         </junit>
     </target>
 	
+    <target name="integration.tests.asjs" depends="download, compile.unit.tests">
+        <mkdir dir="${compiler.tests}/results"/>
+        <mkdir dir="${compiler.tests}/temp"/>
+        <junit dir="${compiler.tests}"
+            fork="yes" forkMode="perBatch" maxmemory="${maxmem}m" timeout="${test.timeout}"
+            printsummary="true" showoutput="true"
+            haltonerror="true" haltonfailure="true"
+            failureproperty="tests.unit.failed">
+            <classpath>
+                <pathelement location="${compiler.tests}/classes"/>
+                <fileset dir="${compiler}/lib" includes="**/*.jar"/>
+                <fileset dir="${compiler.tests}/lib" includes="**/*.jar"/>
+            </classpath>
+            <batchtest todir="${compiler.tests}/results">
+                <fileset dir="${compiler.tests}/classes">
+                    <include name="**/TestFlexJSFile.class"/>
+                    <include name="**/TestFlexJSMXML*.class"/>
+                </fileset>
+            </batchtest>
+            <formatter type="xml"/>
+        </junit>
+    </target>
+    
+    <target name="integration.tests.sdk" depends="download, compile.unit.tests">
+        <mkdir dir="${compiler.tests}/results"/>
+        <mkdir dir="${compiler.tests}/temp"/>
+        <junit dir="${compiler.tests}"
+            fork="yes" forkMode="perBatch" maxmemory="${maxmem}m" timeout="${test.timeout}"
+            printsummary="true" showoutput="true"
+            haltonerror="true" haltonfailure="true"
+            failureproperty="tests.unit.failed">
+            <classpath>
+                <pathelement location="${compiler.tests}/classes"/>
+                <fileset dir="${compiler}/lib" includes="**/*.jar"/>
+                <fileset dir="${compiler.tests}/lib" includes="**/*.jar"/>
+            </classpath>
+            <batchtest todir="${compiler.tests}/results">
+                <fileset dir="${compiler.tests}/classes">
+                    <include name="**/TestMXML*.class"/>
+                    <include name="**/TestVF2JS*.class"/>
+                </fileset>
+            </batchtest>
+            <formatter type="xml"/>
+        </junit>
+    </target>
+    
     <target name="js.swc" depends="download, compile.unit.tests">
         <mkdir dir="${compiler.tests}/results"/>
         <mkdir dir="${compiler.tests}/temp"/>
@@ -116,6 +166,7 @@
     </target>
  
     <target name="main" depends="unit.tests"/>
+    <target name="all" depends="unit.tests, integration.tests.sdk, integration.tests.asjs"/>
 
     <target name="clean">
         <delete dir="${compiler.tests}/bin"/>


Mime
View raw message