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 2022/10/18 17:02:48 UTC

[royale-compiler] branch develop updated (c559910c2 -> 70584077b)

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

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


    from c559910c2 linter: fix wrong mapping with => no-with
     new 89f3e55b7 Ant: force locale for junit tests because they compare en_US error strings (references #221)
     new 70584077b Maven: force locale for junit tests because they compare en_US error strings (closes #221)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 compiler-externc/src/test/build.xml | 4 ++++
 compiler-jx/src/test/build.xml      | 8 ++++++++
 compiler/src/test/build.xml         | 4 ++++
 formatter/src/test/build.xml        | 2 ++
 pom.xml                             | 4 ++--
 5 files changed, 20 insertions(+), 2 deletions(-)


[royale-compiler] 02/02: Maven: force locale for junit tests because they compare en_US error strings (closes #221)

Posted by jo...@apache.org.
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-compiler.git

commit 70584077b6ff2d6202f2144e5d1b37609ee6e067
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Tue Oct 18 10:02:35 2022 -0700

    Maven: force locale for junit tests because they compare en_US error strings (closes #221)
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 68f6a38cc..dd438181a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -282,7 +282,7 @@
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
           <!-- the @-sign implies late-evaluation of the property -->
-          <argLine>@{surefireArgLine}</argLine>
+          <argLine>@{surefireArgLine} -Duser.language=en -Duser.country=US</argLine>
           <systemPropertyVariables>
             <buildType>Maven</buildType>
             <flexVersion>${flex.version}</flexVersion>
@@ -316,7 +316,7 @@
         </executions>
         <configuration>
           <!-- the @-sign implies late-evaluation of the property -->
-          <argLine>@{failsafeArgLine}</argLine>
+          <argLine>@{failsafeArgLine} -Duser.language=en -Duser.country=US</argLine>
           <systemPropertyVariables>
             <buildType>Maven</buildType>
             <flexVersion>${flex.version}</flexVersion>


[royale-compiler] 01/02: Ant: force locale for junit tests because they compare en_US error strings (references #221)

Posted by jo...@apache.org.
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-compiler.git

commit 89f3e55b7bb9de9251e4d224c06c15201ece0df3
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Tue Oct 18 09:31:00 2022 -0700

    Ant: force locale for junit tests because they compare en_US error strings (references #221)
---
 compiler-externc/src/test/build.xml | 4 ++++
 compiler-jx/src/test/build.xml      | 8 ++++++++
 compiler/src/test/build.xml         | 4 ++++
 formatter/src/test/build.xml        | 2 ++
 4 files changed, 18 insertions(+)

diff --git a/compiler-externc/src/test/build.xml b/compiler-externc/src/test/build.xml
index b839c8143..273f00522 100644
--- a/compiler-externc/src/test/build.xml
+++ b/compiler-externc/src/test/build.xml
@@ -134,6 +134,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler.externc}/target/classes"/>
                 <pathelement location="${compiler.externc}/target/test-classes"/>
@@ -171,6 +173,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler.externc}/target/classes"/>
                 <pathelement location="${compiler.externc}/target/test-classes"/>
diff --git a/compiler-jx/src/test/build.xml b/compiler-jx/src/test/build.xml
index 87852399f..e508efd62 100644
--- a/compiler-jx/src/test/build.xml
+++ b/compiler-jx/src/test/build.xml
@@ -91,6 +91,8 @@
                haltonerror="true" haltonfailure="true"
                failureproperty="tests.unit.failed">
 			<jvmarg value="-Dfile.encoding=UTF-8"/>   
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>
@@ -125,6 +127,8 @@
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
 			<jvmarg value="-Dfile.encoding=UTF-8"/>
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>
@@ -155,6 +159,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>
@@ -184,6 +190,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>
diff --git a/compiler/src/test/build.xml b/compiler/src/test/build.xml
index c2804abfa..d1f161182 100644
--- a/compiler/src/test/build.xml
+++ b/compiler/src/test/build.xml
@@ -305,6 +305,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <fileset dir="${compiler}/lib/external" includes="**/*.jar"/>
@@ -347,6 +349,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <fileset dir="${compiler}/lib" includes="**/*.jar"/>
diff --git a/formatter/src/test/build.xml b/formatter/src/test/build.xml
index 487753b54..1de18fbe1 100644
--- a/formatter/src/test/build.xml
+++ b/formatter/src/test/build.xml
@@ -63,6 +63,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${formatter}/target/classes"/>
                 <pathelement location="${formatter}/target/test-classes"/>