aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Config.mk.sample1
-rw-r--r--src/batchtools/build.mk4
2 files changed, 3 insertions, 2 deletions
diff --git a/Config.mk.sample b/Config.mk.sample
index 8685ab9..fc50f53 100644
--- a/Config.mk.sample
+++ b/Config.mk.sample
@@ -3,3 +3,4 @@ phantomjs-cmd ?= $(call find-cmd,phantomjs)
maven-cmd ?= $(call find-cmd,mvn)
pandoc-cmd ?= $(call find-cmd,pandoc)
addon-sdk-version ?= 1.14
+firefox_bin_path ?= $(call find-cmd,firefox) \ No newline at end of file
diff --git a/src/batchtools/build.mk b/src/batchtools/build.mk
index af0fc74..26980e4 100644
--- a/src/batchtools/build.mk
+++ b/src/batchtools/build.mk
@@ -14,9 +14,9 @@ test-batchtools: \
$(topdir)/profiles/chrome \
$(topdir)/profiles/firefox
$(call label,BATCHTEST)(cd $(batchtools-dir) \
- && xvfb-run -a $(maven-cmd) test)
+ && xvfb-run -a $(maven-cmd) test -DFIREFOX_BIN_PATH=$(firefox_bin_path))
clean::
- (cd $(batchtools-dir) && $(maven-exe) clean)
+ (cd $(batchtools-dir) && $(maven-cmd) clean)
endif