Skip to content

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

Merged
melix merged 1 commit intograalvm:masterfrom
linghengqian:fix-elasticjob-test-error
Oct 10, 2023
Merged

Support org.junit.jupiter.api.condition.EnabledOnOs in NativeTest#504
melix merged 1 commit intograalvm:masterfrom
linghengqian:fix-elasticjob-test-error

Conversation

@linghengqian
Copy link
Copy Markdown
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
@linghengqian linghengqian force-pushed the fix-elasticjob-test-error branch from 06f192c to 6e9931c Compare September 13, 2023 13:08
@melix melix added this to the 0.9.28 milestone Oct 10, 2023
@melix melix merged commit de9ffd9 into graalvm:master Oct 10, 2023
@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://togithub.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://togithub.com/graalvm/native-build-tools/releases/tag/0.9.28)

[Compare Source](https://togithub.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://togithub.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/515](https://togithub.com/graalvm/native-build-tools/pull/515)
-   Document test binary configuration by [@&#8203;abelsromero](https://togithub.com/abelsromero) in [https://github.com/graalvm/native-build-tools/pull/509](https://togithub.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://togithub.com/linghengqian) in [https://github.com/graalvm/native-build-tools/pull/504](https://togithub.com/graalvm/native-build-tools/pull/504)
-   Remove deprecated use of `getConvention` by [@&#8203;melix](https://togithub.com/melix) in [https://github.com/graalvm/native-build-tools/pull/522](https://togithub.com/graalvm/native-build-tools/pull/522)
-   Fix and improve major JDK version detection. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/523](https://togithub.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://togithub.com/dependabot) in [https://github.com/graalvm/native-build-tools/pull/499](https://togithub.com/graalvm/native-build-tools/pull/499)
-   Fix toolchain documentation by [@&#8203;dnestoro](https://togithub.com/dnestoro) in [https://github.com/graalvm/native-build-tools/pull/525](https://togithub.com/graalvm/native-build-tools/pull/525)
-   Re-enable Windows builds. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/524](https://togithub.com/graalvm/native-build-tools/pull/524)
-   Fix h2-related tests. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/526](https://togithub.com/graalvm/native-build-tools/pull/526)
-   Make metadata repo test version-agnostic. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/527](https://togithub.com/graalvm/native-build-tools/pull/527)
-   Make metadata repo Gradle test version-agnostic. by [@&#8203;fniephaus](https://togithub.com/fniephaus) in [https://github.com/graalvm/native-build-tools/pull/528](https://togithub.com/graalvm/native-build-tools/pull/528)

#### New Contributors

-   [@&#8203;dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/graalvm/native-build-tools/pull/499](https://togithub.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
melix pushed a commit that referenced this pull request Mar 12, 2025
…cannot be used in NativeTest (#504)

Fix the problem that `org.junit.jupiter.api.condition.EnabledOnOs` cannot be used in NativeTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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