flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pio...@apache.org
Subject [31/50] [abbrv] git commit: [flex-asjs] [refs/heads/tlf] - support profiles and clean tests before compiling
Date Sun, 18 Jun 2017 12:36:42 GMT
support profiles and clean tests before compiling


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

Branch: refs/heads/tlf
Commit: 9fb516cad2ef4d31b5bcf70da92f35db5b2e952e
Parents: f8cccea
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jun 9 12:10:08 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Jun 9 12:10:08 2017 -0700

----------------------------------------------------------------------
 build.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9fb516ca/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index d957bf8..a040a8c 100644
--- a/build.xml
+++ b/build.xml
@@ -460,7 +460,6 @@
         <!--
         <ant dir="${basedir}/ide/flashbuilder" target="clean" />
          -->
-        <delete dir="${basedir}/mustella/tests/bin" failonerror="false" includeEmptyDirs="true"/>
     </target>
 
     <target name="examples-clean">
@@ -479,6 +478,8 @@
     </target>
 
     <target name="checkintests-clean" depends="clean-dependencychecker">
+        <delete file="${basedir}/mustella/tests/basicTests/BasicTestsApp.swf" failonerror="false"/>
+        <delete dir="${basedir}/mustella/tests/bin" failonerror="false" includeEmptyDirs="true"/>
     </target>
 
     <target name="player-clean">
@@ -1178,7 +1179,7 @@
     -->
 
     <!--<target name="checkintests"  description="Run these tests before every checkin"
/>-->
-    <target name="checkintests" depends="basictests-mustella,basictests-marmotinni" description="Run
these tests before every checkin" />
+    <target name="checkintests" depends="checkintests-clean,basictests-mustella,basictests-marmotinni"
description="Run these tests before every checkin" />
     <!--<target name="checkintests" depends="dependencychecker-framework,basictests-mustella,checkintests-mobile"
description="Run these tests before every checkin"/-->
     
     <!--
@@ -1196,6 +1197,7 @@
     <target name="basictests-js" depends="basictests-compile-js,basictests-compile-java,basictests-run-js"
/>
     
     <target name="basictests-run-js" >
+        <property name="profile_arg" value="dummy=false" />
         <echo>url=file://${basedir}/mustella/tests/basicTests/bin/js-debug/index.html</echo>
         <echo>script=${basedir}/mustella/tests/basicTests/halo/scripts/ButtonTestScript.mxml</echo>
         <echo>script=${basedir}/mustella/tests/basicTests/halo/scripts/CheckBoxTestScript.mxml</echo>
@@ -1205,6 +1207,7 @@
 		    <arg value="script=${basedir}/mustella/tests/basicTests/halo/scripts/ButtonTestScript.mxml"
/>
 		    <arg value="script=${basedir}/mustella/tests/basicTests/halo/scripts/CheckBoxTestScript.mxml"
/>
 		    <!--<arg value="showSteps=true" />-->
+		    <arg value="${profile_arg}" />
             <classpath>
                 <pathelement location="${basedir}/marmotinni/java/lib/selenium/selenium-java-2.53.1.jar"/>
                 <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/apache-mime4j-0.6.jar"/>


Mime
View raw message