mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Only start xvfb when tests will be run
This commit is contained in:
committed by
Aleksei Kuzmin
parent
1f71a2e94c
commit
dc6e451010
@@ -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'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user