"no tests selected" running tests in the test/jdk directory

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Tue Feb 6 17:38:13 UTC 2018


On 2018-02-06 02:39, Martin Buchholz wrote:
> OK, I did some reading up in doc/testing.md <http://testing.md>. I 
> noticed
>
> #### TEST_MODE
> The test mode (`-agentvm`, `-samevm` or `-othervm`).
>
> but TEST_MODE=-agentvm is rejected - it must be TEST_MODE=agentvm.
>
> I suggest removing the dashes in the doc and perhaps changing the code 
> to accept and ignore initial dashes.
Thanks!

I opened https://bugs.openjdk.java.net/browse/JDK-8196875.

/Magnus

>
> On Mon, Feb 5, 2018 at 12:22 PM, Martin Buchholz <martinrb at google.com 
> <mailto:martinrb at google.com>> wrote:
>
>     Ahh, I had forgotten we are in the middle of a transition to
>     "run-test".
>     I need to read doc/testing.md <http://testing.md>.
>
>     On Mon, Feb 5, 2018 at 11:22 AM, Magnus Ihse Bursie
>     <magnus.ihse.bursie at oracle.com
>     <mailto:magnus.ihse.bursie at oracle.com>> wrote:
>
>         Use make run-test TEST="test/jdk" instead.
>
>         /Magnus
>
>         > 5 feb. 2018 kl. 19:39 skrev Martin Buchholz
>         <martinrb at google.com <mailto:martinrb at google.com>>:
>         >
>         > if I
>         > cd test/jdk && make all ...
>         > I get
>         >
>         > Test results: no tests selected
>         > ...
>         > Summary: jdk_default
>         > TEST STATS: name=jdk_default  run=0 pass=0  fail=0
>         >
>         > ---
>         >
>         > Also I find I have to define PRODUCT_HOME and JT_HOME as
>         environment
>         > variables - make variables are insufficient
>
>
>




More information about the build-dev mailing list