Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #30 from keithc-ca/jvmti_tests
Browse files Browse the repository at this point in the history
Enable building JVMTI serviceability tests
  • Loading branch information
pshipton authored Sep 15, 2022
2 parents 7ab89cb + e496d3e commit b56bf70
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
5 changes: 3 additions & 2 deletions closed/custom/Main.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ===========================================================================
# (c) Copyright IBM Corp. 2017, 2021 All Rights Reserved
# (c) Copyright IBM Corp. 2017, 2022 All Rights Reserved
# ===========================================================================
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
Expand Down Expand Up @@ -30,7 +30,6 @@ JVM_MAIN_LIB_TARGETS := j9vm-build
JVM_MAIN_TARGETS := j9vm-build
JVM_TOOLS_TARGETS :=
JVM_DOCS_TARGETS :=
JVM_TEST_IMAGE_TARGETS := test-image-openj9
DEFAULT_JMOD_DEPS := j9vm-build
PHASE_MAKEDIRS := $(TOPDIR)/closed/make $(PHASE_MAKEDIRS)

Expand Down Expand Up @@ -82,6 +81,8 @@ ifneq ($(COMPILE_TYPE), cross)
$(JDK_OUTPUTDIR)/bin/java -version 2>&1 | $(TEE) $(TEST_IMAGE_DIR)/openj9/java-version.txt
endif

test-image : test-image-openj9

ALL_TARGETS += test-image-openj9

ifeq (true,$(OPENJ9_ENABLE_DDR))
Expand Down
13 changes: 6 additions & 7 deletions make/Main.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#

# ===========================================================================
# (c) Copyright IBM Corp. 2020, 2021 All Rights Reserved
# (c) Copyright IBM Corp. 2020, 2022 All Rights Reserved
# ===========================================================================

################################################################################
Expand Down Expand Up @@ -231,6 +231,8 @@ $(eval $(call DeclareRecipesForPhase, LAUNCHER, \

ALL_TARGETS += $(LAUNCHER_TARGETS)

ifeq ($(OPENJ9_TOPDIR),) # not OpenJ9

################################################################################
# Build hotspot target

Expand Down Expand Up @@ -300,6 +302,8 @@ $(eval $(call SetupTarget, compile-commands-hotspot, \

ALL_TARGETS += $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JDK)

endif # not OpenJ9

################################################################################
# VS Code projects

Expand Down Expand Up @@ -1168,14 +1172,9 @@ all-docs-bundles: docs-jdk-bundles docs-javase-bundles docs-reference-bundles

# This target builds the test image
test-image: prepare-test-image test-image-jdk-jtreg-native \
test-image-demos-jdk \
test-image-demos-jdk test-image-libtest-jtreg-native \
test-image-lib-native

# OpenJ9 builds don't have the sources required to build test-image-libtest-jtreg-native.
ifeq ($(OPENJ9_TOPDIR),)
test-image: test-image-libtest-jtreg-native
endif

ifneq ($(JVM_TEST_IMAGE_TARGETS), )
# If JVM_TEST_IMAGE_TARGETS is externally defined, use it instead of the
# standard hotspot set of tests.
Expand Down

0 comments on commit b56bf70

Please sign in to comment.