Skip to content

Commit c33a8f5

Browse files
author
Alexey Semenyuk
committed
8343314: Move common properties from jpackage jtreg test declarations to TEST.properties file
Reviewed-by: almatvee
1 parent 16feeb7 commit c33a8f5

File tree

87 files changed

+175
-293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+175
-293
lines changed

test/jdk/tools/jpackage/TEST.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ maxOutputSize=2000000
1010
# }
1111
# but conditionals are not supported by jtreg configuration files.
1212
exclusiveAccess.dirs=share windows
13+
14+
modules=jdk.jpackage/jdk.jpackage.internal:+open \
15+
java.base/jdk.internal.util

test/jdk/tools/jpackage/helpers-test/jdk/jpackage/test/DirectoryContentVerifierTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
* @summary Test TKit.DirectoryContentVerifier from jpackage test library
4545
* @library /test/jdk/tools/jpackage/helpers
4646
* @build jdk.jpackage.test.*
47-
* @modules jdk.jpackage/jdk.jpackage.internal
4847
* @compile DirectoryContentVerifierTest.java
4948
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
5049
* --jpt-run=jdk.jpackage.test.DirectoryContentVerifierTest

test/jdk/tools/jpackage/linux/AppAboutUrlTest.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -44,27 +44,25 @@
4444
/*
4545
* @test
4646
* @summary jpackage with --about-url
47-
* @library ../helpers
47+
* @library /test/jdk/tools/jpackage/helpers
4848
* @key jpackagePlatformPackage
4949
* @build jdk.jpackage.test.*
5050
* @build AppAboutUrlTest
5151
* @requires (os.family == "linux")
5252
* @requires (jpackage.test.SQETest == null)
53-
* @modules jdk.jpackage/jdk.jpackage.internal
5453
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
5554
* --jpt-run=AppAboutUrlTest
5655
*/
5756

5857
/*
5958
* @test
6059
* @summary jpackage with --about-url
61-
* @library ../helpers
60+
* @library /test/jdk/tools/jpackage/helpers
6261
* @key jpackagePlatformPackage
6362
* @build jdk.jpackage.test.*
6463
* @build AppAboutUrlTest
6564
* @requires (os.family == "linux")
6665
* @requires (jpackage.test.SQETest != null)
67-
* @modules jdk.jpackage/jdk.jpackage.internal
6866
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
6967
* --jpt-run=AppAboutUrlTest.test
7068
*/

test/jdk/tools/jpackage/linux/AppCategoryTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -43,12 +43,11 @@
4343
/*
4444
* @test
4545
* @summary jpackage with --linux-app-category
46-
* @library ../helpers
46+
* @library /test/jdk/tools/jpackage/helpers
4747
* @key jpackagePlatformPackage
4848
* @build jdk.jpackage.test.*
4949
* @build AppCategoryTest
5050
* @requires (os.family == "linux")
51-
* @modules jdk.jpackage/jdk.jpackage.internal
5251
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
5352
* --jpt-run=AppCategoryTest
5453
*/

test/jdk/tools/jpackage/linux/LicenseTypeTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -38,12 +38,11 @@
3838
/*
3939
* @test
4040
* @summary jpackage with --linux-rpm-license-type
41-
* @library ../helpers
41+
* @library /test/jdk/tools/jpackage/helpers
4242
* @key jpackagePlatformPackage
4343
* @build jdk.jpackage.test.*
4444
* @build LicenseTypeTest
4545
* @requires (os.family == "linux")
46-
* @modules jdk.jpackage/jdk.jpackage.internal
4746
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
4847
* --jpt-run=LicenseTypeTest
4948
*/

test/jdk/tools/jpackage/linux/LinuxBundleNameTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -43,12 +43,11 @@
4343
/*
4444
* @test
4545
* @summary jpackage with --linux-package-name
46-
* @library ../helpers
46+
* @library /test/jdk/tools/jpackage/helpers
4747
* @key jpackagePlatformPackage
4848
* @build jdk.jpackage.test.*
4949
* @build LinuxBundleNameTest
5050
* @requires (os.family == "linux")
51-
* @modules jdk.jpackage/jdk.jpackage.internal
5251
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
5352
* --jpt-run=LinuxBundleNameTest
5453
*/

test/jdk/tools/jpackage/linux/LinuxResourceTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -33,10 +33,9 @@
3333
/*
3434
* @test
3535
* @summary jpackage with --resource-dir
36-
* @library ../helpers
36+
* @library /test/jdk/tools/jpackage/helpers
3737
* @build jdk.jpackage.test.*
3838
* @requires (os.family == "linux")
39-
* @modules jdk.jpackage/jdk.jpackage.internal
4039
* @compile LinuxResourceTest.java
4140
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
4241
* --jpt-run=LinuxResourceTest

test/jdk/tools/jpackage/linux/LinuxWeirdOutputDirTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -30,9 +30,8 @@
3030
* @summary jpackage with values of --dest parameter breaking jpackage launcher
3131
* @requires (os.family == "linux")
3232
* @bug 8268974
33-
* @library ../helpers
33+
* @library /test/jdk/tools/jpackage/helpers
3434
* @build jdk.jpackage.test.*
35-
* @modules jdk.jpackage/jdk.jpackage.internal
3635
* @compile LinuxWeirdOutputDirTest.java
3736
* @run main/othervm/timeout=540 -Xmx512m jdk.jpackage.test.Main
3837
* --jpt-run=LinuxWeirdOutputDirTest

test/jdk/tools/jpackage/linux/MaintainerTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -39,12 +39,11 @@
3939
/*
4040
* @test
4141
* @summary jpackage with --linux-deb-maintainer
42-
* @library ../helpers
42+
* @library /test/jdk/tools/jpackage/helpers
4343
* @key jpackagePlatformPackage
4444
* @build jdk.jpackage.test.*
4545
* @build MaintainerTest
4646
* @requires (os.family == "linux")
47-
* @modules jdk.jpackage/jdk.jpackage.internal
4847
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
4948
* --jpt-run=MaintainerTest
5049
*/

test/jdk/tools/jpackage/linux/PackageDepsTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -46,11 +46,10 @@
4646
/*
4747
* @test
4848
* @summary jpackage with --linux-package-deps
49-
* @library ../helpers
49+
* @library /test/jdk/tools/jpackage/helpers
5050
* @key jpackagePlatformPackage
5151
* @build jdk.jpackage.test.*
5252
* @requires (os.family == "linux")
53-
* @modules jdk.jpackage/jdk.jpackage.internal
5453
* @compile PackageDepsTest.java
5554
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
5655
* --jpt-run=PackageDepsTest

0 commit comments

Comments
 (0)