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/03/14 22:09:34 UTC
[royale-asjs] 01/02: RoyaleUnit: don't run tests on js-only build
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
commit 87cfad82cc2a3c9f09c0a4bfd52da93ca0d2dc86
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Thu Mar 14 15:08:50 2019 -0700
RoyaleUnit: don't run tests on js-only build
---
frameworks/projects/RoyaleUnit/build.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/frameworks/projects/RoyaleUnit/build.xml b/frameworks/projects/RoyaleUnit/build.xml
index 990da7e..16d5fb3 100644
--- a/frameworks/projects/RoyaleUnit/build.xml
+++ b/frameworks/projects/RoyaleUnit/build.xml
@@ -51,6 +51,12 @@
<available file="${basedir}/src/test/royale/build.xml" />
</not>
</condition>
+ <!-- exclude from js-only build -->
+ <condition property="skip-tests" >
+ <not>
+ <isset property="env.AIR_HOME" />
+ </not>
+ </condition>
</target>
<target name="test" depends="check-for-tests,check-compiler" unless="skip-tests">