Bug 1393607 Do not package tests if they are not enabled r=mshal

MozReview-Commit-ID: 1wQV41Nf8V5

--HG--
extra : rebase_source : e02b2b11935a177143328960af1505ba8b767252
This commit is contained in:
Tom Ritter 2017-08-29 12:34:40 -05:00
parent c9aa053d8a
commit d97705b95f

View File

@ -3,6 +3,11 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
ifndef ENABLE_TESTS
# We can't package tests if they aren't enabled.
MOZ_AUTOMATION_PACKAGE_TESTS = 0
endif
ifneq (,$(filter automation/%,$(MAKECMDGOALS)))
ifeq (4.0,$(firstword $(sort 4.0 $(MAKE_VERSION))))
MAKEFLAGS += --output-sync=target