Sync tests with Fedora
Related: rhbz#2096431
This commit is contained in:
parent
731b1f5afc
commit
3d1d290821
10
gating.yaml
10
gating.yaml
@ -4,9 +4,11 @@ product_versions:
|
|||||||
decision_contexts:
|
decision_contexts:
|
||||||
- osci_compose_gate
|
- osci_compose_gate
|
||||||
rules:
|
rules:
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke/jdk8.functional}
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke/jdk8/full.functional}
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke/jdk11.functional}
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke/jdk11/full.functional}
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke/jdk17.functional}
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke/jdk17/full.functional}
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/regression.functional}
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke/jdk8/headless.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke/jdk11/headless.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke/jdk17/headless.functional}
|
||||||
# https://docs.engineering.redhat.com/display/RHELPLAN/Maven+Bootstrap+manual+gating+test
|
# https://docs.engineering.redhat.com/display/RHELPLAN/Maven+Bootstrap+manual+gating+test
|
||||||
- !PassingTestCaseRule {test_case_name: manual.sst_cs_apps.maven.bootstrap}
|
- !PassingTestCaseRule {test_case_name: manual.sst_cs_apps.maven.bootstrap}
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
discover:
|
|
||||||
summary: Regression tests (default OpenJDK)
|
|
||||||
how: shell
|
|
||||||
tests:
|
|
||||||
- name: /regression/environment-java-home
|
|
||||||
environment:
|
|
||||||
JAVA_HOME: /tmp/java-home
|
|
||||||
test: |
|
|
||||||
mkdir -p "${JAVA_HOME}/bin"
|
|
||||||
echo -e '#!/bin/sh\nfalse' > "${JAVA_HOME}/bin/java"
|
|
||||||
chmod a+x "${JAVA_HOME}/bin/java"
|
|
||||||
! mvn -v
|
|
||||||
prepare:
|
|
||||||
how: install
|
|
||||||
exclude:
|
|
||||||
- maven-openjdk8
|
|
||||||
- maven-openjdk11
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
@ -1,41 +1,71 @@
|
|||||||
discover:
|
discover:
|
||||||
how: shell
|
how: fmf
|
||||||
tests:
|
url: https://github.com/mizdebsk/maven-tests
|
||||||
- name: /smoke/ensure-single-jdk
|
|
||||||
test: "! rpm -qa | grep ^java- | grep -v ^java-${JDK_VERSION}-openjdk-"
|
|
||||||
- name: /smoke/show-version
|
|
||||||
test: mvn -v
|
|
||||||
- name: /smoke/dependency-get
|
|
||||||
test: rm -rf $HOME/.m2 && mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar
|
|
||||||
prepare:
|
|
||||||
how: install
|
|
||||||
exclude:
|
|
||||||
- maven-openjdk8
|
|
||||||
- maven-openjdk11
|
|
||||||
- maven-openjdk17
|
|
||||||
execute:
|
execute:
|
||||||
how: tmt
|
how: tmt
|
||||||
|
|
||||||
/jdk8:
|
/jdk8:
|
||||||
summary: Basic smoke tests (OpenJDK 8)
|
|
||||||
environment:
|
environment:
|
||||||
JDK_VERSION: 1.8.0
|
OPENJDK_VERSION: 1.8.0
|
||||||
|
prepare:
|
||||||
|
- how: install
|
||||||
|
exclude:
|
||||||
|
- maven-openjdk11
|
||||||
|
- maven-openjdk17
|
||||||
|
|
||||||
|
/full:
|
||||||
|
summary: Basic smoke tests (OpenJDK 8 full)
|
||||||
|
|
||||||
|
/headless:
|
||||||
|
summary: Basic smoke tests (OpenJDK 8 headless)
|
||||||
|
discover+:
|
||||||
|
filter: tag:-java-compiler
|
||||||
|
environment+:
|
||||||
|
OPENJDK_HEADLESS: true
|
||||||
prepare+:
|
prepare+:
|
||||||
exclude-:
|
- how: shell
|
||||||
- maven-openjdk8
|
script: |
|
||||||
|
dnf -y erase java-*-openjdk
|
||||||
|
|
||||||
/jdk11:
|
/jdk11:
|
||||||
summary: Basic smoke tests (OpenJDK 11)
|
|
||||||
environment:
|
environment:
|
||||||
JDK_VERSION: 11
|
OPENJDK_VERSION: 11
|
||||||
|
prepare:
|
||||||
|
- how: install
|
||||||
|
exclude:
|
||||||
|
- maven-openjdk8
|
||||||
|
- maven-openjdk17
|
||||||
|
|
||||||
|
/full:
|
||||||
|
summary: Basic smoke tests (OpenJDK 11 full)
|
||||||
|
|
||||||
|
/headless:
|
||||||
|
summary: Basic smoke tests (OpenJDK 11 headless)
|
||||||
|
environment+:
|
||||||
|
OPENJDK_HEADLESS: true
|
||||||
prepare+:
|
prepare+:
|
||||||
exclude-:
|
- how: shell
|
||||||
- maven-openjdk11
|
script: |
|
||||||
|
dnf -y erase java-*-openjdk
|
||||||
|
|
||||||
/jdk17:
|
/jdk17:
|
||||||
summary: Basic smoke tests (OpenJDK 17)
|
|
||||||
environment:
|
environment:
|
||||||
JDK_VERSION: 17
|
OPENJDK_VERSION: 17
|
||||||
|
prepare:
|
||||||
|
- how: install
|
||||||
|
exclude:
|
||||||
|
- maven-openjdk8
|
||||||
|
- maven-openjdk11
|
||||||
|
|
||||||
|
/full:
|
||||||
|
summary: Basic smoke tests (OpenJDK 17 full)
|
||||||
|
|
||||||
|
/headless:
|
||||||
|
summary: Basic smoke tests (OpenJDK 17 headless)
|
||||||
|
environment+:
|
||||||
|
OPENJDK_HEADLESS: true
|
||||||
prepare+:
|
prepare+:
|
||||||
exclude-:
|
- how: shell
|
||||||
- maven-openjdk17
|
script: |
|
||||||
|
dnf -y erase java-*-openjdk
|
||||||
|
Loading…
Reference in New Issue
Block a user