Hello,

As Alexey says, this should be working.

The data for generating the test-* targets is cached in build/linux-x86_64-server-fastdebug/make-support/find-tests.gmk. Can you check if you have this file and if the contents looks corrupted? Try removing it and see if it gets generated correctly this time.

/Erik

On 2022-01-21 01:25, Liu, Xin wrote:
Hi,

I recently found that "test-tier1" is not a target of makefile now. This
is different from the testing document.
https://github.com/openjdk/jdk/blob/master/doc/testing.md

The self-contained help also says that we can use test-tier1.
$ make help  | grep "make test-"
  make test-<test>       # Run test, e.g. test-tier1

$ make test-tier1 CONF=linux-x86_64-server-fastdebug
make: *** No rule to make target `test-tier1'.  Stop.
$ make --version
GNU Make 3.82
Built for x86_64-koji-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

make -qp can dump all targets. I can't find test-tier1, test-jdk_lang etc.

Is this target still available? if so, do we need to update testing.md?

thanks,
--lx

Reply via email to