Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions test/hotspot/jtreg/TEST.groups
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ serviceability_ttf_virtual = \
-serviceability/jvmti/negative

tier1_common = \
sources \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this change. How does this end up doing anything different than before?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sources be tested in GHA:

test-suite: 'test/hotspot/jtreg/:tier1_common'

An alternative would be to add a separate GHA jobs just for sources:

          - test-name: 'hs/tier1 sources'
            test-suite: 'test/hotspot/jtreg/:tier1_sources'
            debug-suffix: -debug

Given how small sources is (currently only 1 test), it felt like it should just be folded into common.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, the workflows definition is what I was having trouble finding. I
understand now. In light of that, the proposed change to the groups looks
fine.

sanity/BasicVMTest.java \
gtest/GTestWrapper.java \
gtest/LockStackGtests.java \
Expand Down Expand Up @@ -619,16 +620,12 @@ tier1_serviceability = \
-serviceability/sa/TestJmapCore.java \
-serviceability/sa/TestJmapCoreMetaspace.java

tier1_sources = \
sources

tier1 = \
:tier1_common \
:tier1_compiler \
:tier1_gc \
:tier1_runtime \
:tier1_serviceability \
:tier1_sources

tier2 = \
:hotspot_tier2_runtime \
Expand Down
4 changes: 2 additions & 2 deletions test/hotspot/jtreg/sources/TestIncludesAreSorted.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ public static void main(String[] ignore) throws IOException {
%d files with unsorted headers found:

%s

This should be fixable by running:

java %s.java --update %s


Expand Down