Hi Saira, On 2019-07-17 15:11, Saira Hussain wrote: > currently I am trying to go through some unit tests with aevol. I have > an issue though that keeps me stuck from going forward. It asks for an > X Server but I have a headless instance and anyway I don't want X as > AUTOPKGTESTS won't have one.
Have you tried using Xvfb (some guidelines might be found on [1]) in autopkgtest? This would be the easiest solution, as rebuilding X-less package just for testing would be more complicated. Hope this helps, Andrius [1] http://blog.kagesenshi.org/2007/06/running-x-applications-headless-using.html

