Only start xvfb when tests will be run
This commit is contained in:
parent
1f71a2e94c
commit
dc6e451010
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
||||
|
|
Loading…
Reference in a new issue