aboutsummaryrefslogtreecommitdiff
path: root/src/batchtools/build.mk
blob: d772607e547d27b5f9fc3876f6bed09b4809ddef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

batchtools-dir := $(path)

ifeq "$(maven-cmd)" ""
$(call strict-error,"No maven found: unable to run batchtools tests")
else

test: test-batchtools

.PHONY: test-batchtools
test-batchtools:            \
  $(build-dir)/fiveui.xpi   \
  $(topdir)/profiles/firefox
	$(call label,BATCHTEST)(cd $(batchtools-dir) \
	  && xvfb-run -a $(maven-cmd) test)

clean::
	(cd $(batchtools-dir) && $(maven-cmd) clean)

endif