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

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: $(topdir)/profiles/chrome $(topdir)/profiles/firefox
	$(call label,BATCHTEST)(cd $(batchtools-dir) \
	  && xvfb-run -a $(maven-cmd) test)

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

endif