Make test-tier1 doesn't work.

Liu, Xin xxinliu at amazon.com
Sun Jan 23 01:29:47 UTC 2022


hi, Aleksey and Erik,

Thank you for taking look into it. I get the correct makefile db after I
make clean and reconfigure. I damaged find-tests.gmk on my side, whereas
the document is perfect.

thanks,
--lx

On 1/21/22 5:47 AM, erik.joelsson at oracle.com wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
> 
> 
> 
> 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


More information about the build-dev mailing list