maven/plans/smoke.fmf
Marián Konček 868c483a7f Backport tmt tests from Fedora
Related: rhbz#2096431
2022-12-07 12:52:28 +01:00

42 lines
903 B
Plaintext

discover:
how: shell
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:
how: tmt
/jdk8:
summary: Basic smoke tests (OpenJDK 8)
environment:
JDK_VERSION: 1.8.0
prepare+:
exclude-:
- maven-openjdk8
/jdk11:
summary: Basic smoke tests (OpenJDK 11)
environment:
JDK_VERSION: 11
prepare+:
exclude-:
- maven-openjdk11
/jdk17:
summary: Basic smoke tests (OpenJDK 17)
environment:
JDK_VERSION: 17
prepare+:
exclude-:
- maven-openjdk17