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:
parent
33d3a65646
commit
cfaf6601e9
@ -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')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user