Skip to content
Permalink
Browse files

8235997: JMH test runner should quote VM_OPTIONS and JAVA_OPTIONS sen…

…t to -jvmArgs

Reviewed-by: erikj
  • Loading branch information
cl4es committed Dec 17, 2019
1 parent 9b2bbd3 commit 3f865f4bf2c613e965e938021e52698d35764cb9
Showing with 2 additions and 1 deletion.
  1. +2 −1 make/RunTests.gmk
@@ -701,7 +701,8 @@ define SetupRunMicroTestBody
endif

ifneq ($$(MICRO_VM_OPTIONS)$$(MICRO_JAVA_OPTIONS), )
$1_MICRO_VM_OPTIONS := -jvmArgs $$(MICRO_VM_OPTIONS) $$(MICRO_JAVA_OPTIONS)
JMH_JVM_ARGS := $$(MICRO_VM_OPTIONS) $$(MICRO_JAVA_OPTIONS)
$1_MICRO_VM_OPTIONS := -jvmArgs $(call ShellQuote,$$(JMH_JVM_ARGS))
endif

ifneq ($$(MICRO_ITER), )

0 comments on commit 3f865f4

Please sign in to comment.
You can’t perform that action at this time.