FLEX-35351 FLEX-18746 Now unit tests can be run for the mx project, and they're 
also included in the entire frameworks suite


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

Branch: refs/heads/develop
Commit: b175cd6d2632091f7ef783bbcc068dbfe9735fc1
Parents: cd060ca
Author: Mihai Chira <mih...@apache.org>
Authored: Tue Aug 15 11:10:14 2017 +0200
Committer: Mihai Chira <mih...@apache.org>
Committed: Tue Aug 15 11:10:14 2017 +0200

----------------------------------------------------------------------
 frameworks/build.xml             | 4 ++++
 frameworks/projects/mx/build.xml | 6 ++++++
 2 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/b175cd6d/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index 500a186..2e71195 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -142,6 +142,7 @@
         <antcall target="spark-test"/>
         <antcall target="advancedgrids-test"/>
         <antcall target="framework-test"/>
+        <antcall target="mx-test"/>
     </target>
 
        <target name="flex-config" depends="playerglobal-setswfversion" 
description="Copy the flex/air/airmobile config templates to 
flex/air/airmobile-config.xml and inject version numbers">
@@ -551,6 +552,9 @@
     <target name="framework-test" description="Tests for 'framework' project">
         <ant dir="${basedir}/projects/framework" target="test"/>
     </target>
+    <target name="mx-test" description="Tests for the 'mx' project">
+        <ant dir="${basedir}/projects/mx" target="test"/>
+    </target>
 
     <target name="experimental" description="Clean build of experimental.swc">
         <ant dir="${basedir}/projects/experimental"/>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/b175cd6d/frameworks/projects/mx/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/mx/build.xml b/frameworks/projects/mx/build.xml
index f1ad0ad..259c7b6 100644
--- a/frameworks/projects/mx/build.xml
+++ b/frameworks/projects/mx/build.xml
@@ -229,4 +229,10 @@
         <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" 
includeEmptyDirs="true"/>
         <delete file="${basedir}/bundles/en_US/packages.dita" 
failonerror="false"/>
     </target>
+
+    <target name="test" description="Runs the FlexUnit tests for this project">
+        <ant antfile="${FLEX_HOME}/flexunit-tests.xml">
+            <property name="project.root" value="${basedir}"/>
+        </ant>
+    </target>
 </project>

Reply via email to