Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run regression testing in CI over openjdk19 #12519

Closed
nrmancuso opened this issue Dec 12, 2022 · 1 comment
Closed

Run regression testing in CI over openjdk19 #12519

nrmancuso opened this issue Dec 12, 2022 · 1 comment
Assignees
Milestone

Comments

@nrmancuso
Copy link
Member

nrmancuso commented Dec 12, 2022

Since we have a few issues open to support Java 19 syntax, such as #12507 and #12515, we should create a new openjdk19-with-checks-nonjavadoc-error task. We will generate a new suppression file, etc. as we have done in the past.

I think we should add this as a new task, instead of replacing the jdk17 task, to make sure that we can keep parsing jdk17 until all syntax updates for jdk19 are complete.

See #11185 for previous ticket for openjdk17.


script:

#!/bin/bash
OUTPUT="test"
while  [ -n "$OUTPUT" ]
do
    OUTPUT=$(.ci/no-exception-test.sh openjdk19-with-checks-nonjavadoc-error | grep "Caused by: " | grep -oh '/.*.java' | sed 's./.[\\\\\\/].g' | uniq)
    echo "$OUTPUT"
    echo -e "<module name=\"BeforeExecutionExclusionFileFilter\">\n  <property name=\"fileNamePattern\" value=\"$OUTPUT\$\"/>\n</module>" >> config/projects-to-test/openjdk19-excluded.files
    rm -rf .ci-temp/contribution
    git add config/projects-to-test/openjdk19-excluded.files
    git commit -m "added another file filter"
done
@rnveach
Copy link
Member

rnveach commented Dec 19, 2022

Fix was merged

@rnveach rnveach closed this as completed Dec 19, 2022
@rnveach rnveach added this to the 10.5.1 milestone Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants