Commit e6ab5837d392343f936af928608a08c7c81dbe2c

Authored by Antonio Terceiro
1 parent f70987cc

Running xvfb-run with -a option

This way if the X server number is already being used (e.g. by a
concurrent xfvb-run execution) it will find the neft available number. Got
the ideam from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573679
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/test.rake
@@ -20,5 +20,5 @@ end @@ -20,5 +20,5 @@ end
20 20
21 desc 'Runs Seleniun acceptance tests' 21 desc 'Runs Seleniun acceptance tests'
22 task :selenium do 22 task :selenium do
23 - sh "xvfb-run cucumber -p selenium --format #{ENV['CUCUMBER_FORMAT'] || 'progress'}" 23 + sh "xvfb-run -a cucumber -p selenium --format #{ENV['CUCUMBER_FORMAT'] || 'progress'}"
24 end 24 end