Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-10 11:32:56 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-27 13:21:48 +0300
commit2a63e062b0e71c291d57aa155d9462f68fed8535 (patch)
tree021ccbd04fb17caf169c7f98430caf431c1fbd87 /tests
parent09c7bfe42b4da7db26888999fda5eb1f53f8ce3c (diff)
Tests: add --no-window-focus to open window without focus.
This is useful to run OpenGL tests while continuing to do other tasks without windows constantly popping up in the foreground.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/python/opengl_draw_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/python/opengl_draw_tests.py b/tests/python/opengl_draw_tests.py
index ae7f0dabf74..b6c18e289bc 100755
--- a/tests/python/opengl_draw_tests.py
+++ b/tests/python/opengl_draw_tests.py
@@ -36,6 +36,9 @@ if inside_blender:
def render_file(filepath, output_filepath):
command = (
BLENDER,
+ "--no-window-focus",
+ "--window-geometry",
+ "0", "0", "1024", "768",
"-noaudio",
"--factory-startup",
"--enable-autoexec",