mercredi 5 avril 2017

How to run flex unit/mojos test on Ubuntu 14.04 flashplayer

Firstly i am a little unsure on what other information to include here (if any more info is required please let me know). I have an AS3 library that runs unit tests when it is built, this is all done on my Macbook pro, when running i get output similar to

WARNING] [LAUNCHER] Using regular flashplayer tests
Cobertura: Saved information on 55 classes.
[INFO] -----------------------------------------------------------------------       -
[INFO] Tests run: 568, Failures: 0, Errors: 0, Time Elapsed: 0 sec
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.514 s
[INFO] Finished at: 2017-04-05T14:25:08+01:00
[INFO] Final Memory: 22M/313M
[INFO] ------------------------------------------------------------------------
[INFO] SWC FILE SUCCESSFULLY BUILT IN TARGET FOLDER

I now need to run/build this library on Ubuntu 14.04 and am getting some errors and behaviours which i am unfamiliar with.

When running i get this output

[WARNING] [LAUNCHER] Using xvfb-run to launch headless tests
Cobertura: Saved information on 55 classes.
[INFO] ------------------------------------------------------------------------
[INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0 sec
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.027s
[INFO] Finished at: Wed Apr 05 14:21:50 UTC 2017
[INFO] Final Memory: 28M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2:test-run (default-test-run) on project echo: Xvfb-run error: No command run was specified

I dont want to run using xvfb-run (why would it do this?) i would like to use flash player. Does anyone have an idea on how i can achieve this on a linux setup (EC2 Instance)

Thanks

Aucun commentaire:

Enregistrer un commentaire