This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 73e1da3  Basic, Core, RoyaleUnit tests: run both SWF and JS tests
73e1da3 is described below

commit 73e1da398755834b89e619bd3461c3935026eb6d
Author: Josh Tynjala <joshtynj...@apache.org>
AuthorDate: Thu May 23 10:29:02 2019 -0700

    Basic, Core, RoyaleUnit tests: run both SWF and JS tests
---
 frameworks/projects/Basic/build.xml      | 9 +++++++++
 frameworks/projects/Core/build.xml       | 9 +++++++++
 frameworks/projects/RoyaleUnit/build.xml | 9 +++++++++
 3 files changed, 27 insertions(+)

diff --git a/frameworks/projects/Basic/build.xml 
b/frameworks/projects/Basic/build.xml
index b8f65fc..64d4b26 100644
--- a/frameworks/projects/Basic/build.xml
+++ b/frameworks/projects/Basic/build.xml
@@ -60,6 +60,15 @@
     
     <target name="test" depends="check-for-tests,check-compiler" 
unless="skip-tests">
         <ant dir="src/test/royale" />
+        <antcall target="test-js" />
+    </target>
+    
+    <target name="test-js">
+        <ant 
dir="${ROYALE_HOME}/frameworks/js/projects/${ant.project.name}JS/" 
inheritAll="false" target="test">
+            <property name="ROYALE_SWF_COMPILER_HOME" 
value="${ROYALE_SWF_COMPILER_HOME}"/>
+            <property name="ROYALE_COMPILER_HOME" 
value="${ROYALE_COMPILER_HOME}"/>
+            <property name="ROYALE_HOME" value="${ROYALE_HOME}"/>
+        </ant>
     </target>
     
     <target name="clean">
diff --git a/frameworks/projects/Core/build.xml 
b/frameworks/projects/Core/build.xml
index df054ca..4404708 100644
--- a/frameworks/projects/Core/build.xml
+++ b/frameworks/projects/Core/build.xml
@@ -60,6 +60,15 @@
     
     <target name="test" depends="check-for-tests,check-compiler" 
unless="skip-tests">
         <ant dir="src/test/royale" />
+        <antcall target="test-js" />
+    </target>
+    
+    <target name="test-js">
+        <ant 
dir="${ROYALE_HOME}/frameworks/js/projects/${ant.project.name}JS/" 
inheritAll="false" target="test">
+            <property name="ROYALE_SWF_COMPILER_HOME" 
value="${ROYALE_SWF_COMPILER_HOME}"/>
+            <property name="ROYALE_COMPILER_HOME" 
value="${ROYALE_COMPILER_HOME}"/>
+            <property name="ROYALE_HOME" value="${ROYALE_HOME}"/>
+        </ant>
     </target>
     
     <target name="clean">
diff --git a/frameworks/projects/RoyaleUnit/build.xml 
b/frameworks/projects/RoyaleUnit/build.xml
index 16d5fb3..51a5229 100644
--- a/frameworks/projects/RoyaleUnit/build.xml
+++ b/frameworks/projects/RoyaleUnit/build.xml
@@ -61,6 +61,15 @@
     
     <target name="test" depends="check-for-tests,check-compiler" 
unless="skip-tests">
         <ant dir="src/test/royale" />
+        <antcall target="test-js" />
+    </target>
+    
+    <target name="test-js">
+        <ant 
dir="${ROYALE_HOME}/frameworks/js/projects/${ant.project.name}JS/" 
inheritAll="false" target="test">
+            <property name="ROYALE_SWF_COMPILER_HOME" 
value="${ROYALE_SWF_COMPILER_HOME}"/>
+            <property name="ROYALE_COMPILER_HOME" 
value="${ROYALE_COMPILER_HOME}"/>
+            <property name="ROYALE_HOME" value="${ROYALE_HOME}"/>
+        </ant>
     </target>
     
     <target name="clean">

Reply via email to