Skip to content
New issue

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

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

Already on GitHub? # to your account

Support org.junit.jupiter.api.condition.EnabledOnOs in NativeTest #504

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

linghengqian
Copy link
Contributor

@linghengqian linghengqian commented Sep 11, 2023

binaries {
         test {
             buildArgs.add("--initialize-at-build-time=org.junit.jupiter.api.condition.OS")
         }
}

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 11, 2023
@linghengqian linghengqian marked this pull request as ready for review September 11, 2023 15:18
@melix melix added this to the 0.9.28 milestone Oct 10, 2023
@melix melix merged commit de9ffd9 into graalvm:master Oct 10, 2023
11 checks passed
@linghengqian linghengqian deleted the fix-elasticjob-test-error branch October 10, 2023 13:44
@sbrannen sbrannen added the junit-support Related to JUnit Support project label Oct 22, 2023
@sbrannen sbrannen changed the title Fixes the problem that org.junit.jupiter.api.condition.EnabledOnOs cannot be used in NativeTest Support org.junit.jupiter.api.condition.EnabledOnOs in NativeTest Oct 22, 2023
apereocas-bot referenced this pull request in apereo/cas Oct 24, 2023
…adle-plugin to v0.9.28

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.graalvm.buildtools:native-gradle-plugin](https://github.com/graalvm/native-build-tools) | `0.9.27` -> `0.9.28` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.graalvm.buildtools:native-gradle-plugin/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.graalvm.buildtools:native-gradle-plugin/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.graalvm.buildtools:native-gradle-plugin/0.9.27/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.graalvm.buildtools:native-gradle-plugin/0.9.27/0.9.28?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>graalvm/native-build-tools (org.graalvm.buildtools:native-gradle-plugin)</summary>

### [`v0.9.28`](https://github.com/graalvm/native-build-tools/releases/tag/0.9.28)

[Compare Source](https://github.com/graalvm/native-build-tools/compare/0.9.27...0.9.28)

#### What's Changed

-   Revert to previous version of `escapeArg()`. by [@&#8203;fniephaus](https://github.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/515](https://github.com/graalvm/native-build-tools/pull/515)
-   Document test binary configuration by [@&#8203;abelsromero](https://github.com/abelsromero) in [https://github.com/graalvm/native-build-tools/pull/509](https://github.com/graalvm/native-build-tools/pull/509)
-   Fixes the problem that `org.junit.jupiter.api.condition.EnabledOnOs` cannot be used in NativeTest by [@&#8203;linghengqian](https://github.com/linghengqian) in [https://github.com/graalvm/native-build-tools/pull/504](https://github.com/graalvm/native-build-tools/pull/504)
-   Remove deprecated use of `getConvention` by [@&#8203;melix](https://github.com/melix) in [https://github.com/graalvm/native-build-tools/pull/522](https://github.com/graalvm/native-build-tools/pull/522)
-   Fix and improve major JDK version detection. by [@&#8203;fniephaus](https://github.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/523](https://github.com/graalvm/native-build-tools/pull/523)
-   Bump com.h2database:h2 from 2.1.210 to 2.2.220 in /samples/metadata-repo-integration by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/graalvm/native-build-tools/pull/499](https://github.com/graalvm/native-build-tools/pull/499)
-   Fix toolchain documentation by [@&#8203;dnestoro](https://github.com/dnestoro) in [https://github.com/graalvm/native-build-tools/pull/525](https://github.com/graalvm/native-build-tools/pull/525)
-   Re-enable Windows builds. by [@&#8203;fniephaus](https://github.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/524](https://github.com/graalvm/native-build-tools/pull/524)
-   Fix h2-related tests. by [@&#8203;fniephaus](https://github.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/526](https://github.com/graalvm/native-build-tools/pull/526)
-   Make metadata repo test version-agnostic. by [@&#8203;fniephaus](https://github.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/527](https://github.com/graalvm/native-build-tools/pull/527)
-   Make metadata repo Gradle test version-agnostic. by [@&#8203;fniephaus](https://github.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/528](https://github.com/graalvm/native-build-tools/pull/528)

#### New Contributors

-   [@&#8203;dependabot](https://github.com/dependabot) made their first contribution in [https://github.com/graalvm/native-build-tools/pull/499](https://github.com/graalvm/native-build-tools/pull/499)

**Full Changelog**: graalvm/native-build-tools@0.9.27...0.9.28

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm every weekday,before 6am every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/apereo/cas).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
melix pushed a commit to melix/native-build-tools that referenced this pull request Sep 10, 2024
…cannot be used in NativeTest (graalvm#504)

Fix the problem that `org.junit.jupiter.api.condition.EnabledOnOs` cannot be used in NativeTest
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
junit-support Related to JUnit Support project OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support testing macos/windows
3 participants