Lines Matching +full:xvfb +full:- +full:run
5 # Use of this source code is governed by a BSD-style license that can be
33 PRIVATE_SKPS_GS = 'gs://skia-skps/private/skps'
39 print(('Environment variable %s not set; you should run this via '
77 The script runs the following cmd on the non-generated SKPs stored in
78 $PRIVATE_SKPS_GS -
79 `dm --config skp -w newskps/ --skps oldskps/ --src skp`
97 print('Starting xvfb')
98 # Start Xvfb if running on a bot.
101 'sudo', 'Xvfb', ':0', '-screen', '0', '1280x1024x24'])
109 'python', '-u', os.path.join(SKIA_TOOLS, 'skp', 'webpages_playback.py'),
110 '--page_sets', 'all',
111 '--browser_executable', browser_executable,
112 '--non-interactive',
113 '--output_dir', os.getcwd(),
114 '--chrome_src_path', chrome_src_path,
117 webpages_playback_cmd.append('--upload_to_partner_bucket')
127 print('Failed to kill xvfb process via Popen.kill();'
130 subprocess.check_call(['sudo', 'kill', '-9', str(xvfb_proc.pid)])
132 print('Failed to kill xvfb process via `sudo kill`;'
145 subprocess.check_call(['kill', '-9', str(pid)])
150 if 'Xvfb' in line:
153 print('Kill Xvfb process %s' % str(pid))
155 subprocess.check_call(['sudo', 'kill', '-9', str(pid)])
168 print('Copying non-generated SKPs from private GCS bucket...')
171 print('Updating non-generated SKP versions')
174 '--config', 'skp',
175 '-w', new_skps_dir,
176 '--skps', old_skps_dir,
177 '--src', 'skp'])
179 # DM creates artifacts in 2 directory level- one for the config and one for
195 parser.add_argument('--target_dir', '-t', required=True)