Bug 1325465: do not set --allow-software-gl-layers on macs; r=jmaher

This option is meaningless on macs, but apparently does not cause errors either.

MozReview-Commit-ID: B418sQEMrCI

--HG--
extra : rebase_source : 58c1ec86491bb6ae094f0014d6df59f0db14511e
extra : source : 0f246fc1227837375316ba0b33e1aec787d783bf
This commit is contained in:
Dustin J. Mitchell 2016-12-04 19:10:19 -05:00
Родитель 388f0b2d36
Коммит d732792887
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -95,9 +95,9 @@ def split_e10s(config, tests):
def allow_software_gl_layers(config, tests):
for test in tests:
# since this value defaults to true, but is not applicable on windows,
# since this value defaults to true, but is not applicable on non-linux,
# it's overriden for that platform here.
allow = not test['test-platform'].startswith('win') \
allow = test['test-platform'].startswith('linux') \
and get_keyed_by(item=test, field='allow-software-gl-layers',
item_name=test['test-name'])
if allow: