Browse Source

Only start xvfb when tests will be run

Kevin Sawicki 7 years ago
parent
commit
dc6e451010
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/cibuild

+ 1 - 1
script/cibuild

@@ -60,7 +60,7 @@ def main():
       deps += LINUX_DEPS_NO_ARM
     execute(['sudo', 'apt-get', 'install'] + deps)
 
-  if PLATFORM == 'linux':
+  if PLATFORM == 'linux' and target_arch == 'x64':
     os.environ['DISPLAY'] = ':99.0'
     execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])