perf-tool: Force animations when running perf tests

This ensures we, unless there is a remote desktop connection explicitly
asking to disable animations, we'll run with animations despite e.g.
hardware acceleration is missing.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2560>
This commit is contained in:
Jonas Ådahl 2022-11-29 16:48:59 +01:00
parent 33d3a65646
commit cfaf6601e9

View File

@ -45,6 +45,8 @@ def start_shell(wrap=None, perf_output=None):
args += wrap.split(' ') args += wrap.split(' ')
args.append(os.path.join(self_dir, 'gnome-shell')) args.append(os.path.join(self_dir, 'gnome-shell'))
args.append('--force-animations')
if options.replace: if options.replace:
args.append('--replace') args.append('--replace')