flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [09/13] git commit: [flex-sdk] [refs/heads/develop] - Add ability to run all project FlexUnit tests from main build script
Date Wed, 10 Dec 2014 12:56:15 GMT
Add ability to run all project FlexUnit tests from main build script

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: 392723636b5f8fc1c1cd9ed38d15615b0a84d7c9
Parents: c72d801
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Wed Dec 10 12:26:47 2014 +0100
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Wed Dec 10 13:30:05 2014 +0100

----------------------------------------------------------------------
 build.xml                            | 8 ++++++++
 frameworks/build.xml                 | 7 +++++++
 frameworks/projects/apache/build.xml | 2 +-
 3 files changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/39272363/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index b2e2311..2525e3e 100644
--- a/build.xml
+++ b/build.xml
@@ -1997,4 +1997,12 @@ There are no known issues.
 		<echo>${mymd5}</echo>
 	</target>
 
+  <!--
+      Run FlexUnit tests
+  -->
+
+  <target name="test" description="Run all framework projects' FlexUnit tests">
+      <ant dir="${basedir}/frameworks" target="test"/>
+  </target>
+
 </project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/39272363/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index b43c3b8..c6cbac8 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -135,6 +135,10 @@
         <antcall target="flatspark"/>
     </target>
 	
+    <target name="test" description="Runs the tests for all projects that have FlexUnit
tests">
+        <antcall target="apache-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">
 		<copy file="${basedir}/flex-config-template.xml" tofile="${basedir}/flex-config.xml"
overwrite="true">
 			<filterset>
@@ -503,6 +507,9 @@
     <target name="apache" description="Clean build of apache.swc">
         <ant dir="${basedir}/projects/apache"/>
     </target>
+    <target name="apache-test" description="Tests for 'apache' project">
+        <ant dir="${basedir}/projects/apache" 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/39272363/frameworks/projects/apache/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/apache/build.xml b/frameworks/projects/apache/build.xml
index 07577b9..5e81874 100644
--- a/frameworks/projects/apache/build.xml
+++ b/frameworks/projects/apache/build.xml
@@ -188,7 +188,7 @@
 		</compc>
 	</target>
 	
-  <target name="test" description="Runs FlexUnit tests for 'org.apache.flex' components">
+  <target name="test" description="Runs the FlexUnit tests for the 'apache' project">
     <ant antfile="${FLEX_HOME}/flexunit-tests.xml">
       <property name="project.root" value="${basedir}"/>
     </ant>


Mime
View raw message