blob: 26980e46ea73a1b505d99e0939bf14283a5365b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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.crx \
$(build-dir)/fiveui.xpi \
$(topdir)/profiles/chrome \
$(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
|