summaryrefslogtreecommitdiffstats
path: root/toolkit/components/telemetry/Makefile.in
blob: 52016707ccc97172edf81f2849cda6ec09f20b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# This Source Code Form is subject to the terms of the Mozilla Public
# 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/.

include $(topsrcdir)/config/rules.mk

# This is so hacky. Waiting on bug 988938.
addondir = $(srcdir)/tests/addons
testdir = $(topobjdir)/_tests/xpcshell/toolkit/components/telemetry/tests/unit

misc:: $(call mkdir_deps,$(testdir))
	$(EXIT_ON_ERROR) \
	for dir in $(addondir)/*; do \
	  base=`basename $$dir`; \
	  (cd $$dir && zip -qr $(testdir)/$$base.xpi *); \
	done