8058919: Add sanity test for minimal VM in test/Makefile
authordholmes
Tue, 23 Sep 2014 21:33:58 -0400
changeset 26921 de18c35bc62d
parent 26817 762da4499429
child 26922 8134a6d3fc02
8058919: Add sanity test for minimal VM in test/Makefile Reviewed-by: twisti, kvn, coleenp
hotspot/test/Makefile
--- a/hotspot/test/Makefile	Tue Sep 23 14:17:46 2014 +0200
+++ b/hotspot/test/Makefile	Tue Sep 23 21:33:58 2014 -0400
@@ -321,6 +321,17 @@
 
 ################################################################
 
+# minimaltest (make sure various basic java minimal options work)
+
+hotspot_minimaltest minimaltest: prep $(PRODUCT_HOME)
+	$(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -version
+	$(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -help
+	$(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -X
+
+PHONY_LIST += hotspot_minimaltest minimaltest
+
+################################################################
+
 # servertest (make sure various basic java server options work)
 
 hotspot_servertest servertest: prep $(PRODUCT_HOME)