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.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 13, 2024
@linghengqian linghengqian force-pushed the fix-junit branch 2 times, most recently from 43a5d98 to 581246b Compare June 13, 2024 16:39
@linghengqian linghengqian marked this pull request as draft June 13, 2024 16:47
@linghengqian linghengqian force-pushed the fix-junit branch 3 times, most recently from 219cf50 to 963e4c5 Compare June 14, 2024 08:34
@linghengqian linghengqian force-pushed the fix-junit branch 2 times, most recently from 611dc68 to fe745c6 Compare June 14, 2024 12:35
@linghengqian linghengqian marked this pull request as ready for review June 14, 2024 13:32
@linghengqian linghengqian force-pushed the fix-junit branch 2 times, most recently from 419e583 to 2dcfe2f Compare June 14, 2024 14:12
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 [email protected]: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