Skip to content

Commit

Permalink
Bug 1393607 Do not package tests if they are not enabled r=mshal
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: 1wQV41Nf8V5

--HG--
extra : rebase_source : e02b2b11935a177143328960af1505ba8b767252
  • Loading branch information
tomrittervg committed Aug 29, 2017
1 parent c9aa053 commit d97705b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/moz-automation.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d97705b

Please sign in to comment.