Related: #2160545 Add tmt gating plan

This commit is contained in:
Hui Wang 2023-02-02 15:40:27 +08:00
parent 1b9c3de94a
commit c72d4577b8
3 changed files with 19 additions and 2 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -8,7 +8,7 @@ Epoch: 1
Summary: Eclipse Compiler for Java
Name: ecj
Version: %{eclipse_ver}
Release: 2%{?dist}
Release: 3%{?dist}
URL: https://www.eclipse.org
License: EPL-2.0
@ -73,7 +73,10 @@ install -m 644 -p ecj.1 $RPM_BUILD_ROOT%{_mandir}/man1/ecj.1
%{_mandir}/man1/ecj*
%changelog
* Wed Feb 01 2023 Hui Wang <huwang@redhat.com> - 1:4.20-1
* Thu Feb 02 2023 Hui Wang <huwang@redhat.com> - 1:4.20-3
- Add tmt gating plan
* Wed Feb 01 2023 Hui Wang <huwang@redhat.com> - 1:4.20-2
- Add gating.yaml
* Thu Jan 19 2023 Hui Wang <huwang@redhat.com> - 1:4.20-1

13
plans/smoke.fmf Normal file
View File

@ -0,0 +1,13 @@
summary: Basic smoke test
prepare:
- name: packages
how: install
package:
- java-11-openjdk
- java-11-openjdk-devel
- java-11-openjdk-headless
- javapackages-tools
- ecj
execute:
how: tmt
script: ecj -version