Hi!
I try run flexunit 4.1 on teamcity.
Server configuration - headless linux/ubuntu 64-bit.
And i cannot successfully run it.
That's ant part
<flexunitswf="${target.dir}/${tests.swf}"
player="air"
toDir="${report.loc}"
haltonfailure="true"
verbose="true"
localTrusted="true"
timeout="300000"
failureproperty="flexunit.failed"
headless="true"/>
Log:
test:
[flexunit] Validating task attributes ...
[flexunit] OS: [Linux]
[flexunit] Generating default values ...
[flexunit] Using default working dir [/home/svetlakov/softina]
[flexunit] Using default reporting dir [/home/svetlakov/softina]
[flexunit] Using the following settings for the test run:
[flexunit] FLEX_HOME: [/home/svetlakov/.flexsdk/4.1]
[flexunit] haltonfailure: [true]
[flexunit] headless: [true]
[flexunit] display: [99]
[flexunit] localTrusted: [true]
[flexunit] player: [air]
[flexunit] port: [1024]
[flexunit] swf: [/home/svetlakov/softina/target/tests-runner.swf]
[flexunit] timeout: [300000ms]
[flexunit] toDir: [/home/svetlakov/softina]
[flexunit] Setting up server process ...
[flexunit] Starting server ...
[flexunit] OS: [Linux]
[flexunit] Starting xvnc
[flexunit] Attempting start on :99 ...
[flexunit] Executing 'vncserver' with arguments:
[flexunit] ':99'
[flexunit]
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit] xauth: timeout in locking authority file /home/svetlakov/.Xauthority
[flexunit]
[flexunit] New 'localhost:99 (svetlakov)' desktop is localhost:99
[flexunit]
[flexunit] Starting applications specified in /home/svetlakov/.vnc/xstartup
[flexunit] Log file is /home/svetlakov/.vnc/localhost:99.log
[flexunit]
[flexunit] Setting DISPLAY=:99
[flexunit] Launching player:
[flexunit]
[flexunit] Found AIR version: 2.0
[flexunit] Created application descriptor at [/home/svetlakov/softina/target/flexUnitDescriptor.xml]
[flexunit] Executing '/home/svetlakov/.flexsdk/4.1/bin/adl' with arguments:
[flexunit] '/home/svetlakov/softina/target/flexUnitDescriptor.xml'
[flexunit]
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]