running tests from make causes spurious repo changes

Alan Bateman Alan.Bateman at oracle.com
Tue Sep 26 06:13:58 UTC 2017



On 25/09/2017 21:35, Maurizio Cimadamore wrote:
>
>
> On 25/09/17 20:58, Alan Bateman wrote:
>>
>>
>> On 25/09/2017 20:11, Jonathan Gibbons wrote:
>>> Erik,
>>>
>>> It could be a feature of the build (i.e. test makefiles) to verify 
>>> that no source-controlled files were modified in the course of a 
>>> test run.
>> Something fishy in this thread as these tests have historically not 
>> changed the permissions of these libraries. So I'm curious how they 
>> were run, I wonder in case they were changed by a make file instead.
> make test TEST=jdk_lang
>
> AFAIK, this should be the correct way of invoking tests from make?
I assume this make file must be running chmod, not the tests themselves 
as otherwise this issue would have been noticed a long time ago. I 
suspect many people run jtreg directly in their local environment rather 
than the make file.

In any case, these older tests predate build test support for compiling 
native code and probably should be migrated anyway.

-Alan



More information about the build-dev mailing list