8139271: Add top-level Makefile target to run hotspots jtreg tests
authorehelin
Thu, 22 Oct 2015 15:28:49 +0200
changeset 33566 fc0dc6b3c02d
parent 33565 ac22b6bd7ecb
child 33567 fe140d2d858d
8139271: Add top-level Makefile target to run hotspots jtreg tests Reviewed-by: ihse, erikj
make/Main.gmk
--- a/make/Main.gmk	Wed Oct 21 13:39:10 2015 +0200
+++ b/make/Main.gmk	Thu Oct 22 15:28:49 2015 +0200
@@ -301,6 +301,9 @@
 test:
 	$(call RunTests, $(TEST))
 
+test-hotspot-jtreg:
+	$(call RunTests, "hotspot_all")
+
 test-hotspot-jtreg-native:
 	$(call RunTests, "hotspot_native_sanity")
 
@@ -313,8 +316,8 @@
 test-make:
 	($(CD) $(SRC_ROOT)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk $(TEST_TARGET))
 
-ALL_TARGETS += test test-hotspot-jtreg-native test-hotspot-internal \
-    test-jdk-jtreg-native test-make
+ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
+    test-hotspot-internal test-jdk-jtreg-native test-make
 
 ################################################################################
 # Verification targets
@@ -475,6 +478,8 @@
 
   test-hotspot-internal: exploded-image
 
+  test-hotspot-jtreg: jimages test-image
+
 endif
 
 ################################################################################