adoptium / adoptium/aqa-tests

jdk11_tier1_pack200 is subset of jdk_tools which cause 18 duplicated testcases

Open
#4,021 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

**Describe the bug**
A clear and concise description of what the bug is.

jdk11_tier1_pack200 in openjdk/playlist.xml:

![image](https://user-images.githubusercontent.com/24123821/194705804-7efe7acd-4f6d-4591-bbdc-d35f7d00faec.png)

jdk_tools in openjdk/playlist.xml:

![image](https://user-images.githubusercontent.com/24123821/194705894-8c9269f5-6732-4a9d-b074-68e46bf64808.png)

jdk_tools in TEST.groups:

```
289 jdk_tools = \
290 :core_tools \
291 :svc_tools
```

core_tools in TEST.groups:

```
276 core_tools = \
277 tools \
278 jdk/internal/jrtfs \
279 sun/tools/java \
280 sun/tools/jrunscript
```

duplicated testcases:

```
tools/pack200/AttributeTests.java
tools/pack200/BandIntegrity.java
tools/pack200/DeprecatePack200.java
tools/pack200/InstructionTests.java
tools/pack200/ModuleAttributes.java
tools/pack200/MultiRelease.java
tools/pack200/Pack200Props.java
tools/pack200/Pack200Test.java
tools/pack200/PackageVersionTest.java
tools/pack200/PackChecksum.java
tools/pack200/PackTestZip64.java
tools/pack200/RepackTest.java
tools/pack200/T7007157.java
tools/pack200/TestExceptions.java
tools/pack200/TestNormal.java
tools/pack200/TimeStamp.java
tools/pack200/typeannos/TestTypeAnnotations.java
tools/pack200/UnpackerMemoryTest.java
```

Contributor guide

Open the contributing guide

Research direction

Start with openjdk/playlist.xml and the jdk_tools and jdk11_tier1_pack200 definitions, then read the corresponding jdk_tools and core_tools entries in TEST.groups. Compare the group expansion with the listed tools/pack200 test cases and identify how the overlapping cases should be represented so they run only once.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.