• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flexunit on a headless mac server

New Here ,
Feb 10, 2012 Feb 10, 2012

Copy link to clipboard

Copied

Has anyone successfully ran flexUnit on a headless mac?

im running ant builds via Jenkins, it will build a flex app no problem, however when I try to build the sample flexunit CI app I get the followin error

[flexunit] LSOpenURLsWithRole() failed with error -10810 for the file /Library/Jenkins/jobs/flexUnitSampleCIProject/workspace/target/bin/TestRunner.swf.

im using the Jenkins Xvnc plugin wich looks like it is working however I notice flexUnit is using the following settings

[flexunit] Using the following settings for the test run:

[flexunit] FLEX_HOME: [/Library/Flex/flex_sdk_4]

[flexunit] haltonfailure: [false]

[flexunit] headless: [false]

[flexunit] display: [99]

[flexunit] localTrusted: [false]

[flexunit] player: [flash]

[flexunit] port: [1024]

[flexunit] swf: [/Library/Jenkins/jobs/flexUnitSampleCIProject/workspace/target/bin/TestRunner.swf]

[flexunit] timeout: [60000ms]

[flexunit] toDir: [/Library/Jenkins/jobs/flexUnitSampleCIProject/workspace/target/report]

If I set headless = true build fails with

[flexunit] Validating task attributes ...
[flexunit] OS: [Mac]

Any help would be greatly apricated

TOPICS
FlexUnit

Views

3.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 13, 2012 Aug 13, 2012

Copy link to clipboard

Copied

LATEST

I'm trying to use Xvfb on OSX with Jenkins and having the same issue:

[flexunit] Opening server socket on port [1024].

[flexunit] Waiting for client connection ...

[flexunit] LSOpenURLsWithRole() failed with error -10810 for the file /Users/Shared/Jenkins/Home/jobs/Flash_Client_UnitTests/workspace/unittest/bin/TestRunner.swf.

[flexunit]

[flexunit] Stopping server ...

[flexunit] End of test data reached, sending acknowledgement to player ...

[flexunit] Closing client connection ...

[flexunit] Closing server on port [1024] ...

And here is what Apple says about that error...

kLSUnknownErr -10810 An unknown error has occurred.

Available in OS X v10.0 and later

..sigh

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines