Skip to content

Commit 724db76

Browse files
committed
python script: add parameter to xvfb-run command to make it consistent with startXserver script (change terminal size to 1280x1024) and add -bindir parameter to smokeview command (so it can find device definitions and texgtures)
1 parent ca0430f commit 724db76

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)