aboutsummaryrefslogtreecommitdiff
path: root/src/batchtools/build.mk
blob: 1b71531f9e7047166ed34d23c8c8969e5eda2e15 (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 -DFIREFOX_BIN_PATH=$(firefox_bin_path))

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

endif