royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Re: [DISCUSS] Discuss Release Apache Royale 0.9.0 RC2
Date Sat, 20 Jan 2018 22:47:08 GMT
Hi,

Related to environment variables it looks like this check in may of broken running of the
tests? [1]

Looking at the code it looks like that if you don’t have PLAYERGLOBAL_HOME set it returns
null but if you do set it it ignores what you have set it to and because of that it looks
like the test are not being run.

Without PLAYERGLOBAL_HOME set you get output like this:
Running org.apache.royale.compiler.internal.css.CSSArrayPropertyValueTests
PLAYERGLOBAL_HOME not specified
PLAYERGLOBAL_HOME not specified
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.491 sec - in org.apache.royale.compiler.internal.css.CSSArrayPropertyValueTests

But if you set it to some value like so:
 export PLAYERGLOBAL_HOME=“IsBroken"

Then it runs but no tests are run and it produces no failures. Even when set to a correct
value it doesn’t look like the test are being run.

Thanks,
Justin

1, https://github.com/apache/royale-compiler/commit/4b6f51399ac341655194338945ac9588526a89a4#diff-57e051b968cf83b6aaeadd98e8012efc
Mime
View raw message