Quantcast
Viewing latest article 28
Browse Latest Browse All 104

FlexUnit tests fail due to missing sound card on headless CI server

Hi,

 

I have set up Jenkins CI server with Xvnc to run FlexUnit tests during the build process.  Everything worked fine until I started working with Sound - now Flash Player is started, throws a bunch of errors complaining about the missing sound card (which obviously, a headless virtual server doesn't have), and stops execution of the tests entirely. 

 

I am working around this problem by only running sound-related tests on my local machine, but since the entire purpose of a CI server is to make sure every commit runs through ALL the available unit tests, I was wondering if there is any way to make Flash Player "think" a sound card is available, much in the same way that Xvnc allows me to work without a physical monitor.  Does anyone here have experience with this kind of problem?  Or better yet: Is there a best practice or solution to this problem?

 

Thanks in advance,

 

w3ltraumpirat


Viewing latest article 28
Browse Latest Browse All 104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>