Skip to content

Commit a65f8c4

Browse files
authored
Merge pull request #15564 from gforney/master
python script: add parameter to xvfb-run command to make it consisten…
2 parents ca0430f + 724db76 commit a65f8c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Utilities/Python/scripts/make_smv_images.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
print('generating smokeview image ' + case[i])
4040
os.chdir(outdir + folder[i])
4141
if os_name == "Linux":
42-
subprocess.run(['xvfb-run','-a',smokeview_path,'-runscript',case[i]], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
42+
subprocess.run(['xvfb-run','-w 10 -s "-fp /usr/share/X11/fonts/misc -screen 0 1280x1024x24" -a',smokeview_path,'-bindir ../../../smv/Build/for_bundle -runscript',case[i]], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
4343
else:
44-
subprocess.run([smokeview_path,'-runscript',case[i]], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
44+
subprocess.run([smokeview_path,'-bindir ../../../smv/Build/for_bundle -runscript',case[i]], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
4545
os.chdir(original_dir)
4646

0 commit comments

Comments
 (0)