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: 
[flexunit] localTrusted: [false]
[flexunit] player: [flash]
[flexunit] port: 
[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
I'm trying to use Xvfb on OSX with Jenkins and having the same issue:
[flexunit] Opening server socket on port .
[flexunit] Waiting for client connection ...
[flexunit] LSOpenURLsWithRole() failed with error -10810 for the file /Users/Shared/Jenkins/Home/jobs/Flash_Client_UnitTests/workspace/unit test/bin/TestRunner.swf.
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port  ...
And here is what Apple says about that error...
kLSUnknownErr -10810 An unknown error has occurred.
Available in OS X v10.0 and later