You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2019/05/23 18:57:47 UTC

[royale-asjs] branch develop updated: royaleunit.browser for Linux/Unix

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 cd63773  royaleunit.browser for Linux/Unix
cd63773 is described below

commit cd63773fad3d323c3227c3ab36c25a578c9f0415
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Thu May 23 11:57:40 2019 -0700

    royaleunit.browser for Linux/Unix
---
 frameworks/js/projects/BasicJS/src/test/royale/build.xml      | 10 ++++++++++
 frameworks/js/projects/CoreJS/src/test/royale/build.xml       | 10 ++++++++++
 frameworks/js/projects/RoyaleUnitJS/src/test/royale/build.xml | 10 ++++++++++
 3 files changed, 30 insertions(+)

diff --git a/frameworks/js/projects/BasicJS/src/test/royale/build.xml b/frameworks/js/projects/BasicJS/src/test/royale/build.xml
index 986c180..9d72bd9 100644
--- a/frameworks/js/projects/BasicJS/src/test/royale/build.xml
+++ b/frameworks/js/projects/BasicJS/src/test/royale/build.xml
@@ -79,6 +79,16 @@
         </and>
     </condition>
 
+    <!--
+        Linux/Unix browser
+    -->
+    <condition property="royaleunit.browser" value="/usr/bin/firefox">
+        <and>
+            <os family="unix"/>
+            <available file="/usr/bin/firefox"/>
+        </and>
+    </condition>
+
     <property name="report.dir" value="${basedir}/out" />
 
     <target name="main" depends="clean,compile,test" description="Clean test of ${target.name}">
diff --git a/frameworks/js/projects/CoreJS/src/test/royale/build.xml b/frameworks/js/projects/CoreJS/src/test/royale/build.xml
index f986a1d..4945b68 100644
--- a/frameworks/js/projects/CoreJS/src/test/royale/build.xml
+++ b/frameworks/js/projects/CoreJS/src/test/royale/build.xml
@@ -79,6 +79,16 @@
         </and>
     </condition>
 
+    <!--
+        Linux/Unix browser
+    -->
+    <condition property="royaleunit.browser" value="/usr/bin/firefox">
+        <and>
+            <os family="unix"/>
+            <available file="/usr/bin/firefox"/>
+        </and>
+    </condition>
+
     <property name="report.dir" value="${basedir}/out" />
 
     <target name="main" depends="clean,compile,test" description="Clean test of ${target.name}">
diff --git a/frameworks/js/projects/RoyaleUnitJS/src/test/royale/build.xml b/frameworks/js/projects/RoyaleUnitJS/src/test/royale/build.xml
index ef954c6..a5e6130 100644
--- a/frameworks/js/projects/RoyaleUnitJS/src/test/royale/build.xml
+++ b/frameworks/js/projects/RoyaleUnitJS/src/test/royale/build.xml
@@ -79,6 +79,16 @@
         </and>
     </condition>
 
+    <!--
+        Linux/Unix browser
+    -->
+    <condition property="royaleunit.browser" value="/usr/bin/firefox">
+        <and>
+            <os family="unix"/>
+            <available file="/usr/bin/firefox"/>
+        </and>
+    </condition>
+
     <property name="report.dir" value="${basedir}/out" />
 
     <target name="main" depends="clean,compile,test" description="Clean test of ${target.name}">