Skip to content

Commit

Permalink
Revert "Create/clean tmp dir for test (adoptium#378)" (adoptium#379)
Browse files Browse the repository at this point in the history
This reverts commit 7c98526.
  • Loading branch information
renfeiw authored Nov 29, 2022
1 parent 7c98526 commit fbdb987
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions settings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -315,17 +315,17 @@ TEST_SKIP_STATUS=$@_SKIPPED
#######################################
# TEST_SETUP
#######################################
TEST_SETUP=export TMPDIR=$$(mktemp /tmp/job-XXX)
TEST_SETUP=$(ECHO) "Nothing to be done for setup."
ifeq ($(JDK_IMPL), $(filter $(JDK_IMPL),openj9 ibm))
TEST_SETUP+=;$(JAVA_COMMAND) -Xshareclasses:destroyAll; $(JAVA_COMMAND) -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done"
TEST_SETUP=$(JAVA_COMMAND) -Xshareclasses:destroyAll; $(JAVA_COMMAND) -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done"
endif

#######################################
# TEST_TEARDOWN
#######################################
TEST_TEARDOWN=rm -rf $$TMPDIR
TEST_TEARDOWN=$(ECHO) "Nothing to be done for teardown."
ifeq ($(JDK_IMPL), $(filter $(JDK_IMPL),openj9 ibm))
TEST_TEARDOWN+=;$(JAVA_COMMAND) -Xshareclasses:destroyAll; $(JAVA_COMMAND) -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done"
TEST_TEARDOWN=$(JAVA_COMMAND) -Xshareclasses:destroyAll; $(JAVA_COMMAND) -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done"
endif

#######################################
Expand Down

0 comments on commit fbdb987

Please sign in to comment.