Skip to content

Commit

Permalink
8249039: clean up FileInstaller $test.src $cwd in vmTestbase_nsk_aod …
Browse files Browse the repository at this point in the history
…tests

Reviewed-by: dholmes, sspitsyn
  • Loading branch information
iignatev committed Jul 15, 2020
1 parent be2a92d commit 1b53912
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 30 deletions.
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -35,7 +35,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.AttachProvider.AttachProvider01.AttachProvider01 * @build nsk.aod.AttachProvider.AttachProvider01.AttachProvider01
* nsk.share.aod.DummyTargetApplication * nsk.share.aod.DummyTargetApplication
* @run main/othervm -XX:+UsePerfData PropertyResolvingWrapper * @run main/othervm -XX:+UsePerfData PropertyResolvingWrapper
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -37,7 +37,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.AttachProvider.AttachProvider02.AttachProvider02 * @build nsk.aod.AttachProvider.AttachProvider02.AttachProvider02
* nsk.share.aod.DummyTargetApplication * nsk.share.aod.DummyTargetApplication
* @run main/othervm -Djdk.attach.allowAttachSelf -XX:+UsePerfData * @run main/othervm -Djdk.attach.allowAttachSelf -XX:+UsePerfData
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -39,7 +39,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.VirtualMachine.VirtualMachine01.VirtualMachine01 * @build nsk.aod.VirtualMachine.VirtualMachine01.VirtualMachine01
* nsk.share.aod.DummyTargetApplication * nsk.share.aod.DummyTargetApplication
* @run main/othervm -XX:+UsePerfData PropertyResolvingWrapper * @run main/othervm -XX:+UsePerfData PropertyResolvingWrapper
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -39,7 +39,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.VirtualMachine.VirtualMachine02.VirtualMachine02 * @build nsk.aod.VirtualMachine.VirtualMachine02.VirtualMachine02
* nsk.share.aod.DummyTargetApplication * nsk.share.aod.DummyTargetApplication
* @run main/othervm -Djdk.attach.allowAttachSelf -XX:+UsePerfData * @run main/othervm -Djdk.attach.allowAttachSelf -XX:+UsePerfData
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -34,7 +34,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.VirtualMachine.VirtualMachine03.VirtualMachine03 * @build nsk.aod.VirtualMachine.VirtualMachine03.VirtualMachine03
* nsk.share.aod.DummyTargetApplication * nsk.share.aod.DummyTargetApplication
* @run main/othervm -Djdk.attach.allowAttachSelf -XX:+UsePerfData * @run main/othervm -Djdk.attach.allowAttachSelf -XX:+UsePerfData
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -38,7 +38,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.VirtualMachine.VirtualMachine04.VirtualMachine04 * @build nsk.aod.VirtualMachine.VirtualMachine04.VirtualMachine04
* nsk.aod.VirtualMachine.VirtualMachine04.VM04Target * nsk.aod.VirtualMachine.VirtualMachine04.VM04Target
* @run main/othervm -XX:+UsePerfData PropertyResolvingWrapper * @run main/othervm -XX:+UsePerfData PropertyResolvingWrapper
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -35,7 +35,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.VirtualMachine.VirtualMachine05.VirtualMachine05 * @build nsk.aod.VirtualMachine.VirtualMachine05.VirtualMachine05
* nsk.share.aod.DummyTargetApplication * nsk.share.aod.DummyTargetApplication
* @run main/othervm -XX:+UsePerfData PropertyResolvingWrapper * @run main/othervm -XX:+UsePerfData PropertyResolvingWrapper
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -40,7 +40,6 @@
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* *
* @run driver jdk.test.lib.FileInstaller . .
* *
* @comment compile VM06Agent0[0-3].java to current directory * @comment compile VM06Agent0[0-3].java to current directory
* @build nsk.aod.VirtualMachine.VirtualMachine06.VM06Agent00 * @build nsk.aod.VirtualMachine.VirtualMachine06.VM06Agent00
Expand All @@ -56,16 +55,24 @@
* @comment create VM06Agent0[0-3].jar in current directory * @comment create VM06Agent0[0-3].jar in current directory
* @build ExecDriver * @build ExecDriver
* @run driver PropertyResolvingWrapper ExecDriver --cmd * @run driver PropertyResolvingWrapper ExecDriver --cmd
* ${test.jdk}/bin/jar -cmf VM06Agent00.mf VM06Agent00.jar * ${test.jdk}/bin/jar
* -cmf ${test.src}/VM06Agent00.mf
* VM06Agent00.jar
* nsk/aod/VirtualMachine/VirtualMachine06/VM06Agent00.class * nsk/aod/VirtualMachine/VirtualMachine06/VM06Agent00.class
* @run driver PropertyResolvingWrapper ExecDriver --cmd * @run driver PropertyResolvingWrapper ExecDriver --cmd
* ${test.jdk}/bin/jar -cmf VM06Agent01.mf VM06Agent01.jar * ${test.jdk}/bin/jar
* -cmf ${test.src}/VM06Agent01.mf
* VM06Agent01.jar
* nsk/aod/VirtualMachine/VirtualMachine06/VM06Agent01.class * nsk/aod/VirtualMachine/VirtualMachine06/VM06Agent01.class
* @run driver PropertyResolvingWrapper ExecDriver --cmd * @run driver PropertyResolvingWrapper ExecDriver --cmd
* ${test.jdk}/bin/jar -cmf VM06Agent02.mf VM06Agent02.jar * ${test.jdk}/bin/jar
* -cmf ${test.src}/VM06Agent02.mf
* VM06Agent02.jar
* nsk/aod/VirtualMachine/VirtualMachine06/VM06Agent02.class * nsk/aod/VirtualMachine/VirtualMachine06/VM06Agent02.class
* @run driver PropertyResolvingWrapper ExecDriver --cmd * @run driver PropertyResolvingWrapper ExecDriver --cmd
* ${test.jdk}/bin/jar -cmf VM06Agent03.mf VM06Agent03.jar * ${test.jdk}/bin/jar
* -cmf ${test.src}/VM06Agent03.mf
* VM06Agent03.jar
* nsk/aod/VirtualMachine/VirtualMachine06/VM06Agent03.class * nsk/aod/VirtualMachine/VirtualMachine06/VM06Agent03.class
* *
* *
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -40,7 +40,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.VirtualMachine.VirtualMachine07.VirtualMachine07 * @build nsk.aod.VirtualMachine.VirtualMachine07.VirtualMachine07
* nsk.share.aod.TargetApplicationWaitingAgents * nsk.share.aod.TargetApplicationWaitingAgents
* @run main/othervm/native -XX:+UsePerfData PropertyResolvingWrapper * @run main/othervm/native -XX:+UsePerfData PropertyResolvingWrapper
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -41,7 +41,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.VirtualMachine.VirtualMachine07.VirtualMachine07 * @build nsk.aod.VirtualMachine.VirtualMachine07.VirtualMachine07
* nsk.share.aod.TargetApplicationWaitingAgents * nsk.share.aod.TargetApplicationWaitingAgents
* @run main/othervm/native -XX:+UsePerfData PropertyResolvingWrapper * @run main/othervm/native -XX:+UsePerfData PropertyResolvingWrapper
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -37,7 +37,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.VirtualMachine.VirtualMachine09.VirtualMachine09 * @build nsk.aod.VirtualMachine.VirtualMachine09.VirtualMachine09
* nsk.aod.VirtualMachine.VirtualMachine09.VM09Target * nsk.aod.VirtualMachine.VirtualMachine09.VM09Target
* @run main/othervm/native -XX:+UsePerfData PropertyResolvingWrapper * @run main/othervm/native -XX:+UsePerfData PropertyResolvingWrapper
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -38,7 +38,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.VirtualMachine.VirtualMachine09.VirtualMachine09 * @build nsk.aod.VirtualMachine.VirtualMachine09.VirtualMachine09
* nsk.aod.VirtualMachine.VirtualMachine09.VM09Target * nsk.aod.VirtualMachine.VirtualMachine09.VM09Target
* @run main/othervm/native -XX:+UsePerfData PropertyResolvingWrapper * @run main/othervm/native -XX:+UsePerfData PropertyResolvingWrapper
Expand Down
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -37,7 +37,6 @@
* *
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase * @library /vmTestbase /test/hotspot/jtreg/vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.aod.VirtualMachineDescriptor.VirtualMachineDescriptor01.VirtualMachineDescriptor01 * @build nsk.aod.VirtualMachineDescriptor.VirtualMachineDescriptor01.VirtualMachineDescriptor01
* nsk.share.aod.DummyTargetApplication * nsk.share.aod.DummyTargetApplication
* @run main/othervm -XX:+UsePerfData PropertyResolvingWrapper * @run main/othervm -XX:+UsePerfData PropertyResolvingWrapper
Expand Down

0 comments on commit 1b53912

Please sign in to comment.