test/TestCommon.gmk
changeset 46196 822ca950ddaa
parent 46193 7d73b0bb32b1
child 46248 5a6c03b61979
--- a/test/TestCommon.gmk	Tue Mar 07 11:28:09 2017 -0500
+++ b/test/TestCommon.gmk	Fri Mar 10 12:56:41 2017 -0500
@@ -375,7 +375,9 @@
 endif
 # Set other vm and test options
 JTREG_TEST_OPTIONS += $(JAVA_ARGS:%=-javaoptions:%) $(JAVA_OPTIONS:%=-vmoption:%) $(JAVA_VM_ARGS:%=-vmoption:%)
-
+ifneq ($(JIB_JAR), )
+  JTREG_BASIC_OPTIONS += -cpa:$(shell $(GETMIXEDPATH) "$(JIB_JAR)")
+endif
 ifeq ($(IGNORE_MARKED_TESTS), true)
   # Option to tell jtreg to not run tests marked with "ignore"
   ifeq ($(PLATFORM), windows)