flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [07/19] git commit: [flex-falcon] [refs/heads/develop] - run extern tests separately
Date Wed, 25 May 2016 18:25:14 GMT
run extern tests separately


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

Branch: refs/heads/develop
Commit: a45c00ac18e5d342f53f6527937b450473a38bfa
Parents: 0be5e48
Author: Alex Harui <aharui@apache.org>
Authored: Tue May 24 08:05:26 2016 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue May 24 21:06:51 2016 -0700

----------------------------------------------------------------------
 build.xml                      |  9 +++++++--
 compiler-jx/src/test/build.xml | 21 +++++++++++++++++++--
 2 files changed, 26 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a45c00ac/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 1eae4f3..41ab8bc 100644
--- a/build.xml
+++ b/build.xml
@@ -70,9 +70,11 @@
 
     <target name="main" depends="sdk, javadoc, tests" description="Default target - Builds
a Falcon SDK, builds Falcon Javadoc, and runs tests."/>
 
-    <target name="all" depends="main, jx, oem, debugger" description="Builds Falcon, then
FalconJX"/>
+    <target name="all" depends="main, jx, externs, oem, debugger" description="Builds
Falcon, then FalconJX"/>
 
-    <target name="jx" depends="compiler.jx, extern.swcs, compiler.jx.tests" description="Builds
FalconJX" />
+    <target name="jx" depends="compiler.jx, compiler.jx.tests" description="Builds FalconJX"
/>
+    
+    <target name="externs" depends="extern.swcs, extern.tests" description="Build externs
and run tests"/>
     
     <target name="oem" depends="compiler.oem" description="Builds FB Integration JAR"
/>
 
@@ -109,6 +111,9 @@
     <target name="extern.swcs.wipe" >
         <ant dir="externs" target="wipe"/>
     </target>
+    <target name="extern.tests">
+        <ant dir="compiler-jx/src/test" target="extern.tests" />
+    </target>
     
     <target name="clean" description="Cleans the build output but leaves any downloaded
JARs.">
         <ant dir="compiler" target="clean"/>

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a45c00ac/compiler-jx/src/test/build.xml
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/build.xml b/compiler-jx/src/test/build.xml
index 536786c..0797b51 100644
--- a/compiler-jx/src/test/build.xml
+++ b/compiler-jx/src/test/build.xml
@@ -71,6 +71,15 @@
                     <exclude name="**/TestFlexJSFile.class"/>
                     <exclude name="**/TestFlexJSMXML*.class"/>
                     <exclude name="**/TestMXML*.class"/>
+                    <!-- externs tests -->
+                    <exclude name="**/TestExtern*.class"/>
+                    <exclude name="**/TestAnnotationEnum.class"/>
+                    <exclude name="**/TestCollectImports.class"/>
+                    <exclude name="**/TestConstructor.class"/>
+                    <exclude name="**/TestPackageNamespace.class"/>
+                    <exclude name="**/TestReferenceModel.class"/>
+                    <exclude name="**/TestTypeExternals.class"/>
+                    <exclude name="**/TestTypeInheritance.class"/>
                 </fileset>
             </batchtest>
             <formatter type="xml"/>
@@ -123,7 +132,7 @@
         </junit>
     </target>
     
-    <target name="js.swc" depends="download, compile.unit.tests">
+    <target name="extern.tests" depends="download, compile.unit.tests">
         <mkdir dir="${compiler.tests}/results"/>
         <mkdir dir="${compiler}/target/junit-temp"/>
         <junit dir="${compiler.tests}"
@@ -138,7 +147,15 @@
             </classpath>
             <batchtest todir="${compiler}/target/junit-results">
                 <fileset dir="${compiler}/target/test-classes">
-                    <include name="**/TestExternalsJSCompile.class"/>
+                    <!-- externs tests -->
+                    <include name="**/TestExtern*.class"/>
+                    <include name="**/TestAnnotationEnum.class"/>
+                    <include name="**/TestCollectImports.class"/>
+                    <include name="**/TestConstructor.class"/>
+                    <include name="**/TestPackageNamespace.class"/>
+                    <include name="**/TestReferenceModel.class"/>
+                    <include name="**/TestTypeExternals.class"/>
+                    <include name="**/TestTypeInheritance.class"/>
                 </fileset>
             </batchtest>
             <formatter type="xml"/>


Mime
View raw message