RFR(L/S) : 8249030 : clean up FileInstaller $test.src $cwd in vmTestbase_nsk_jdi tests

Igor Ignatyev igor.ignatyev at oracle.com
Wed Aug 5 03:08:45 UTC 2020


Serguei, David,

thank you for your reviews. pushed.

-- Igor

> On Aug 4, 2020, at 7:26 PM, David Holmes <david.holmes at oracle.com> wrote:
> 
> That was a hard slog :)
> 
> But looks okay to me.
> 
> Thanks,
> David
> 
> On 5/08/2020 9:59 am, Igor Ignatyev wrote:
>> ping?
>> -- Igor
>>> On Jul 31, 2020, at 1:24 PM, Igor Ignatyev <igor.ignatyev at oracle.com> wrote:
>>> 
>>> http://cr.openjdk.java.net/~iignatyev//8249030/webrev.00
>>>> 2258 lines changed: 0 ins; 1144 del; 1114 mod;
>>> 
>>> Hi all,
>>> 
>>> could you please review the clean-up of nsk_jdi tests?
>>> from main issue(8204985) :
>>>> all vmTestbase tests have '@run driver jdk.test.lib.FileInstaller . .' to mimic old test harness behavior and copy all files from a test source directory to a current work directory. some tests depend on this step, so we need 1st identify such tests and then either rewrite them not to have this dependency or leave FileInstaller only in these tests.
>>> 
>>> 
>>> the patch removes FileInstaller actions in the said tests, and as before, the biggest part of patch was done by `ag -l  '@run driver jdk.test.lib.FileInstaller . .' $DIR  | xargs -I{} gsed -i '/@run driver jdk.test.lib.FileInstaller \. \./d' {}` with $DIR being test/hotspot/jtreg/vmTestbase/nsk/jdi/.
>>> 
>>> the 10 tests which had '-configFile ./<...>', and hence were looking for config file in the current directory, were updated to search for a config file in 'test.src' directory: http://cr.openjdk.java.net/~iignatyev//8249030/webrev.00-configFile
>>> 
>>> testing: :vmTestbase_nsk_jdi on {linux,windows,macos}-x64
>>> JBS:  https://bugs.openjdk.java.net/browse/JDK-8249030
>>> webrev:  http://cr.openjdk.java.net/~iignatyev/8249030/webrev.00/
>>> 
>>> Thanks,
>>> -- Igor



More information about the serviceability-dev mailing list