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

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Feb 6 16:11:04 UTC 2018


.. and samevm mode no longer exists.

-- Jon


On 2/5/18 5:39 PM, Martin Buchholz wrote:
> OK, I did some reading up in doc/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.
>
> On Mon, Feb 5, 2018 at 12:22 PM, Martin Buchholz <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.
>>
>> On Mon, Feb 5, 2018 at 11:22 AM, Magnus Ihse Bursie <
>> 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>:
>>>>
>>>> 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