[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-build-dev
Subject: Re: JDK-8180600: make run-test does not work with jib test dependencies
From: Magnus Ihse Bursie <magnus.ihse.bursie () oracle ! com>
Date: 2017-05-18 15:09:42
Message-ID: C7EB61C1-B8A0-4FE3-8EC5-B73D6B783F70 () oracle ! com
[Download RAW message or body]
Even better! :)
/Magnus
> 18 maj 2017 kl. 14:26 skrev Erik Joelsson <erik.joelsson@oracle.com>:
>
> Did a slight adjustment, adding double dollars when referencing JIB_JAR inside a \
> macro body. This makes the code safer in certain cases.
> diff -r 91ac8096f365 make/RunTests.gmk
> --- a/make/RunTests.gmk
> +++ b/make/RunTests.gmk
> @@ -358,6 +358,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)')
>
>
> /Erik
>
>
> > On 2017-05-18 14:18, Erik Joelsson wrote:
> > The new run-test target does not work with the new jib test dependencies feature \
> > in jdk10-hs. The fix is small, just adding JIB_JAR to the command line for jtreg \
> > if present, as is done in make/TestCommon.gmk.
> > Bug: https://bugs.openjdk.java.net/browse/JDK-8180600
> >
> > Patch:
> >
> > diff -r 91ac8096f365 make/RunTests.gmk
> > --- a/make/RunTests.gmk
> > +++ b/make/RunTests.gmk
> > @@ -358,6 +358,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)')
> >
> >
> > /Erik
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic