make/Main.gmk
branchJEP-230-microbenchmarks-branch
changeset 56907 040e5da15709
parent 56905 d4ab0656f48e
child 56919 fe0fad5aebf5
--- a/make/Main.gmk	Fri Sep 28 14:27:43 2018 +0200
+++ b/make/Main.gmk	Fri Sep 28 15:33:58 2018 +0200
@@ -1020,6 +1020,10 @@
     test-image-jdk-jtreg-native test-image-failure-handler \
     test-image-demos-jdk $(JVM_TEST_IMAGE_TARGETS)
 
+ifneq ($(JMH_CORE_JAR), )
+  test-image: build-microbenchmark
+endif
+
 ################################################################################
 
 # all-images builds all our deliverables as images.