8180600: make run-test does not work with jib test dependencies
authorerikj
Thu, 15 Jun 2017 10:27:28 +0200
changeset 46230 e0ca0417b74d
parent 46229 883d65fcea6b
child 46231 070d55554f06
8180600: make run-test does not work with jib test dependencies Reviewed-by: ctornqvi, ihse
make/RunTests.gmk
--- a/make/RunTests.gmk	Wed Jun 14 01:29:37 2017 -0700
+++ b/make/RunTests.gmk	Thu Jun 15 10:27:28 2017 +0200
@@ -364,6 +364,10 @@
     $1_JTREG_BASIC_OPTIONS += -nativepath:$$($1_JTREG_NATIVEPATH)
   endif
 
+  ifneq ($$(JIB_JAR), )
+    $1_JTREG_BASIC_OPTIONS += -cpa:$$(JIB_JAR)
+  endif
+
   run-test-$1:
 	$$(call LogWarn)
 	$$(call LogWarn, Running test '$$($1_TEST)')