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

Fixes the issue that nativeTest cannot be executed using Junit 5.11.0-M2 #603

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

linghengqian
Copy link
Contributor

@linghengqian linghengqian commented Jun 13, 2024

  • Fixes Unable to execute nativeTest under Junit 5.11.0-M2 #602 .
  • Fixes the issue that nativeTest cannot be executed using Junit 5.11.0-M2.
  • The project's gradle toolchain actively looks for a random jdk17 release, such as Microsoft OpenJDK 17. Setting up a GraalVM version of JDK11 can be very confusing.

Copy link
Contributor Author

@linghengqian linghengqian left a comment

Choose a reason for hiding this comment

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

sdk install java 17.0.11-graal
sdk use java 17.0.11-graal

git clone git@github.com:linghengqian/native-build-tools.git -b fix-junit
cd ./native-build-tools/
./gradlew :native-gradle-plugin:functionalTest

.sdkmanrc Outdated Show resolved Hide resolved
Copy link
Member

@vjovanov vjovanov left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@dnestoro
Copy link
Collaborator

dnestoro commented Jul 2, 2024

@linghengqian let me try to fix failing gate

@dnestoro dnestoro merged commit 9cea8b8 into graalvm:master Sep 3, 2024
111 checks passed
@linghengqian linghengqian deleted the fix-junit branch September 3, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to execute nativeTest under Junit 5.11.0-M2
4 participants