aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Trevor Elliott <trevor@galois.com>2013-06-10 11:08:01 -0700
committerGravatar Trevor Elliott <trevor@galois.com>2013-06-10 11:08:01 -0700
commit686d00c01dc3096953156fa43daa164f1d59b7dc (patch)
treeffaa60c60a08017d71ab8657d8be1426b905ed53 /Makefile
parentd53a4d57c05104e764aff459d58713ddf2f4486e (diff)
Move the maven tests to the batchtools dir
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile37
1 files changed, 2 insertions, 35 deletions
diff --git a/Makefile b/Makefile
index 934222e..017649b 100644
--- a/Makefile
+++ b/Makefile
@@ -76,40 +76,7 @@ $(eval $(call subdir,src/js/chrome))
$(eval $(call subdir,src/js/firefox))
$(eval $(call subdir,src/js/tests))
+$(eval $(call subdir,src/batchtools))
+
$(eval $(call subdir,profiles))
$(eval $(call subdir,doc))
-
-
-# Maven Packages ###############################################################
-
-# Don't try to run any of this if maven isn't installed
-MVN_EXE := $(shell which mvn 2>/dev/null)
-ifeq "$(MVN_EXE)" ""
-$(call strict-error,"No maven found unable to run java tests")
-else
-
-# package/install various maven sub-projects
-MVN_TEST_CMD := xvfb-run -a $(MVN_EXE) test
-
-define pkg
-.PHONY: pkg-$1
-pkg-$1:
- cd src/$1 && xvfb-run -a $(MVN_EXE) package
-endef
-
-$(eval $(call pkg,batchtools))
-
-BATCHTOOLS_DIR := src/batchtools
-
-test: test-batchtools
-
-test-batchtools: $(topdir)/fiveui.crx \
- $(topdir)/fiveui.xpi \
- $(topdir)/profiles/chrome \
- $(topdir)/profiles/firefox
- cd $(BATCHTOOLS_DIR) && $(MVN_TEST_CMD)
-
-clean::
- cd $(BATCHTOOLS_DIR) && $(MVN_EXE) clean
-
-endif