From 9b049d4cdfeb891068d37e9f90d9f9fdb77112db Mon Sep 17 00:00:00 2001 From: Mike Shal Date: Mon, 18 Mar 2019 23:52:52 +0000 Subject: [PATCH] Bug 632954 - Explicitly set NEED_XVFB to false if need-xvfb isn't set; r=tomprince test-linux.sh defaults to true for NEED_XVFB, while build-linux.sh defaults to false. If we are using test-linux.sh from mozharness (rather than mozharness-test), we need to explicitly set NEED_XVFB to false in order to not use xvfb. Differential Revision: https://phabricator.services.mozilla.com/D22820 --HG-- extra : moz-landing-system : lando --- taskcluster/taskgraph/transforms/job/mozharness.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/taskcluster/taskgraph/transforms/job/mozharness.py b/taskcluster/taskgraph/transforms/job/mozharness.py index f1e31c08f001..8fe98f04e02d 100644 --- a/taskcluster/taskgraph/transforms/job/mozharness.py +++ b/taskcluster/taskgraph/transforms/job/mozharness.py @@ -210,6 +210,8 @@ def mozharness_on_docker_worker_setup(config, job, taskdesc): # Xvfb if run['need-xvfb']: env['NEED_XVFB'] = 'true' + else: + env['NEED_XVFB'] = 'false' if run['tooltool-downloads']: internal = run['tooltool-downloads'] == 'internal'