You can add -Dskip-tests=1 to your ant command to skip all RoyaleUnit tests.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Fri, Aug 19, 2022 at 7:57 AM Hugo Ferreira <hferreira...@gmail.com>
wrote:

> It's something on my side that I need to fix or on this case is on a server
> ?
> There is a way to ignore this flexunitests ?
> I'm using the command: ant all
>
> Harbs <harbs.li...@gmail.com> escreveu no dia sexta, 19/08/2022 à(s)
> 15:50:
>
> > It looks like flexUnitTests.xml.XMLTesterGeneralTest is failing.
> >
> > What’s the error?
> >
> > > On Aug 19, 2022, at 4:58 PM, Hugo Ferreira <hferreira...@gmail.com>
> > wrote:
> > >
> > > Hi,
> > >
> > >
> > > A simple build without change, fail:
> > >
> > >
> > > check-royaleunit-browser:
> > >
> > >
> > > test:
> > >
> > >    [mkdir] Created dir:
> > >
> >
> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/out
> > >
> > > [royaleunit] Validating task attributes ...
> > >
> > > [royaleunit] Generating default values ...
> > >
> > > [royaleunit] Using the following settings for the test run:
> > >
> > > [royaleunit] ROYALE_HOME:
> > > [/Volumes/Data/SDK/apache-royale-src/apache-royale]
> > >
> > > [royaleunit] haltonfailure: [false]
> > >
> > > [royaleunit] headless: [false]
> > >
> > > [royaleunit] display: [99]
> > >
> > > [royaleunit] localTrusted: [true]
> > >
> > > [royaleunit] player: [html]
> > >
> > > [royaleunit] command: [/Applications/Google
> > > Chrome.app/Contents/MacOS/Google Chrome]
> > >
> > > [royaleunit] port: [1024]
> > >
> > > [royaleunit] swf:
> > >
> >
> [/Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/target/bin/js-release/index.html]
> > >
> > > [royaleunit] timeout: [90000ms]
> > >
> > > [royaleunit] toDir:
> > >
> >
> [/Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/out]
> > >
> > > [royaleunit] Entry
> > >
> >
> [/Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/target/bin/js-release]
> > > already available in local trust file at
> > > [/Users/hugo/Library/Preferences/Macromedia/Flash
> > > Player/#Security/FlashPlayerTrust/royaleUnit.cfg].
> > >
> > > [royaleunit] Setting up server process ...
> > >
> > > [royaleunit] SLF4J: Failed to load class
> > > "org.slf4j.impl.StaticLoggerBinder".
> > >
> > > [royaleunit] SLF4J: Defaulting to no-operation (NOP) logger
> > implementation
> > >
> > > [royaleunit] SLF4J: See
> > http://www.slf4j.org/codes.html#StaticLoggerBinder
> > > for further details.
> > >
> > > [royaleunit] Executing '/Applications/Google
> > > Chrome.app/Contents/MacOS/Google Chrome' with arguments:
> > >
> > > [royaleunit]
> > >
> >
> '/Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/target/bin/js-release/index.html'
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] The ' characters around the executable and arguments are
> > >
> > > [royaleunit] not part of the command.
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] Starting server ...
> > >
> > > [royaleunit] Waiting for client connection ...
> > >
> > > [royaleunit] Client connected.
> > >
> > > [royaleunit] Receiving data ...
> > >
> > > [royaleunit] Sending acknowledgement to player to start sending test
> data
> > > ...
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] RoyaleUnit test testMixedAddition in suite
> > > flexUnitTests.xml.XMLTesterGeneralTest had errors.
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] Stopping server ...
> > >
> > > [royaleunit] End of test data reached, sending acknowledgement to
> player
> > ...
> > >
> > > [royaleunit] Analyzing reports ...
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLNotificationTest
> > >
> > > [royaleunit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 1.353 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLListTesterIterationlTest
> > >
> > > [royaleunit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.369 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLTesterGeneralTest
> > >
> > > [royaleunit] Tests run: 37, Failures: 0, Errors: 1, Skipped: 0, Time
> > > elapsed: 4.551 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLLiteralTest
> > >
> > > [royaleunit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.369 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLNamespaceClassTest
> > >
> > > [royaleunit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.246 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLTesterStringifyTest
> > >
> > > [royaleunit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 1.107 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLTesterNullTest
> > >
> > > [royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.123 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLTesterNamespaceQueries
> > >
> > > [royaleunit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.369 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLNamespaceTest
> > >
> > > [royaleunit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 1.476 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLListTesterGeneralTest
> > >
> > > [royaleunit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 1.476 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLQNameTest
> > >
> > > [royaleunit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.984 sec
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] Results :
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] Tests run: 101, Failures: 0, Errors: 1, Skipped: 0, Time
> > > elapsed: 12.423 sec
> > >
> > > [royaleunit]
> > >
> > >     [echo] JS-RELEASE TESTS FAILED
> > >
> > >     [echo] Running backup tests in js-debug build, because release
> build
> > > tests failed
> > >
> > > [royaleunit] OS: [Mac]
> > >
> > > [royaleunit] Local path to SWF was given and SWF property will be used.
> > >
> > > [royaleunit] Validating task attributes ...
> > >
> > > [royaleunit] Generating default values ...
> > >
> > > [royaleunit] Using the following settings for the test run:
> > >
> > > [royaleunit] ROYALE_HOME:
> > > [/Volumes/Data/SDK/apache-royale-src/apache-royale]
> > >
> > > [royaleunit] haltonfailure: [false]
> > >
> > > [royaleunit] headless: [false]
> > >
> > > [royaleunit] display: [99]
> > >
> > > [royaleunit] localTrusted: [true]
> > >
> > > [royaleunit] player: [html]
> > >
> > > [royaleunit] command: [/Applications/Google
> > > Chrome.app/Contents/MacOS/Google Chrome]
> > >
> > > [royaleunit] port: [1024]
> > >
> > > [royaleunit] swf:
> > >
> >
> [/Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/target/bin/js-debug/index.html]
> > >
> > > [royaleunit] timeout: [90000ms]
> > >
> > > [royaleunit] toDir:
> > >
> >
> [/Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/out]
> > >
> > > [royaleunit] Entry
> > >
> >
> [/Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/target/bin/js-debug]
> > > already available in local trust file at
> > > [/Users/hugo/Library/Preferences/Macromedia/Flash
> > > Player/#Security/FlashPlayerTrust/royaleUnit.cfg].
> > >
> > > [royaleunit] Setting up server process ...
> > >
> > > [royaleunit] Executing '/Applications/Google
> > > Chrome.app/Contents/MacOS/Google Chrome' with arguments:
> > >
> > > [royaleunit]
> > >
> >
> '/Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/target/bin/js-debug/index.html'
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] The ' characters around the executable and arguments are
> > >
> > > [royaleunit] not part of the command.
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] Starting server ...
> > >
> > > [royaleunit] Waiting for client connection ...
> > >
> > > [royaleunit] Client connected.
> > >
> > > [royaleunit] Receiving data ...
> > >
> > > [royaleunit] Sending acknowledgement to player to start sending test
> data
> > > ...
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] RoyaleUnit test testMixedAddition in suite
> > > flexUnitTests.xml.XMLTesterGeneralTest had errors.
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] Stopping server ...
> > >
> > > [royaleunit] End of test data reached, sending acknowledgement to
> player
> > ...
> > >
> > > [royaleunit] Analyzing reports ...
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLNotificationTest
> > >
> > > [royaleunit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 1.353 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLListTesterIterationlTest
> > >
> > > [royaleunit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.369 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLTesterGeneralTest
> > >
> > > [royaleunit] Tests run: 37, Failures: 0, Errors: 1, Skipped: 0, Time
> > > elapsed: 4.551 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLLiteralTest
> > >
> > > [royaleunit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.369 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLNamespaceClassTest
> > >
> > > [royaleunit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.246 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLTesterStringifyTest
> > >
> > > [royaleunit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 1.107 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLTesterNullTest
> > >
> > > [royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.123 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLTesterNamespaceQueries
> > >
> > > [royaleunit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.369 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLNamespaceTest
> > >
> > > [royaleunit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 1.476 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLListTesterGeneralTest
> > >
> > > [royaleunit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 1.476 sec
> > >
> > > [royaleunit] Suite: flexUnitTests.xml.XMLQNameTest
> > >
> > > [royaleunit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time
> > > elapsed: 0.984 sec
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] Results :
> > >
> > > [royaleunit]
> > >
> > > [royaleunit] Tests run: 101, Failures: 0, Errors: 1, Skipped: 0, Time
> > > elapsed: 12.423 sec
> > >
> > > [royaleunit]
> > >
> > > [junitreport] Processing
> > >
> >
> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/out/TESTS-TestSuites.xml
> > > to /var/folders/n0/t3wmx8yj6ks3snf3jwdm3z_00000gn/T/null1003760065
> > >
> > > [junitreport] Loading stylesheet
> > >
> >
> jar:file:/Volumes/Data/SDK/apache-ant-1.10.9/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
> > >
> > > [junitreport] Transform time: 78ms
> > >
> > > [junitreport] Deleting:
> > > /var/folders/n0/t3wmx8yj6ks3snf3jwdm3z_00000gn/T/null1003760065
> > >
> > >
> > > BUILD FAILED
> > >
> > > /Volumes/Data/SDK/apache-royale-src/apache-royale/build.xml:696: The
> > > following error occurred while executing this line:
> > >
> > >
> >
> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/build.xml:187:
> > > The following error occurred while executing this line:
> > >
> > >
> >
> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/build.xml:506:
> > > The following error occurred while executing this line:
> > >
> > >
> >
> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/projects/XML/build.xml:81:
> > > The following error occurred while executing this line:
> > >
> > >
> >
> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/projects/XML/build.xml:89:
> > > The following error occurred while executing this line:
> > >
> > >
> >
> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/build.xml:54:
> > > The following error occurred while executing this line:
> > >
> > >
> >
> /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/js/projects/XMLJS/src/test/royale/build.xml:238:
> > > Test Failure
> > >
> > > RoyaleUnit Release Build Tests must pass:
> > >
> > >
> > >
> > > XMLJS.test RoyaleUnit Release build tests: FAILED
> > >
> > > XMLJS.test RoyaleUnit Debug build tests: FAILED
> >
> >
>

Reply via email to