Add tests from ant-unbound

This commit is contained in:
Mikolaj Izdebski 2024-12-11 14:55:58 +01:00
parent 906cf15d21
commit 5e39beae04
3 changed files with 33 additions and 6 deletions

View File

@ -12,4 +12,5 @@ rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/matrix/jdk11/headless.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/matrix/jdk17/headless.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/matrix/jdk21/headless.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/matrix/unbound/jlink.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/javapackages.functional}

View File

@ -3,11 +3,5 @@ discover:
how: fmf
url: https://src.fedoraproject.org/tests/javapackages
ref: c9s
prepare:
- how: install
exclude:
- ant-openjdk8
- ant-openjdk11
- ant-openjdk21
execute:
how: tmt

View File

@ -14,6 +14,7 @@ execute:
- ant-openjdk11
- ant-openjdk17
- ant-openjdk21
- ant-unbound
/full:
summary: Ant matrix tests - OpenJDK 8 full
@ -40,6 +41,7 @@ execute:
- ant-openjdk8
- ant-openjdk17
- ant-openjdk21
- ant-unbound
/full:
summary: Ant matrix tests - OpenJDK 11 full
@ -66,6 +68,7 @@ execute:
- ant-openjdk8
- ant-openjdk11
- ant-openjdk21
- ant-unbound
/full:
summary: Ant matrix tests - OpenJDK 17 full
@ -92,6 +95,7 @@ execute:
- ant-openjdk8
- ant-openjdk11
- ant-openjdk17
- ant-unbound
/full:
summary: Ant matrix tests - OpenJDK 21 full
@ -108,3 +112,31 @@ execute:
- how: shell
script: |
dnf -y remove java-*-openjdk
/unbound:
prepare:
- how: install
exclude:
- ant-openjdk8
- ant-openjdk11
- ant-openjdk17
- ant-openjdk21
# These subpackages pull in packaged Java through their dependencies
- ant-antlr
- ant-apache-regexp
- ant-apache-resolver
- ant-apache-xalan2
- ant-junit5
/jlink:
summary: Ant matrix tests - unbound jlink-based Java
discover+:
filter: tag:unbound & tier:0,1
prepare+:
- how: shell
script: |
test -d /opt/java && test -x /usr/local/bin/java && exit 0
dnf -y install java-21-openjdk-jmods
jlink --add-modules java.base,java.xml --output /opt/java
ln -s /opt/java/bin/java /usr/local/bin/java
dnf -y remove java-21-openjdk-jmods