"no tests selected" running tests in the test/jdk directory
martinrb at google.com
Tue Feb 6 01:39:30 UTC 2018
OK, I did some reading up in doc/testing.md. I noticed
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>
> 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.
>> > 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