diff --git a/gating.yaml b/gating.yaml index d353613..36c6463 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,4 +3,5 @@ product_versions: - rhel-10 decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional} + # this is the testcase identifier, which OSCI pipeline uses + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/libdbusmenu.spec b/libdbusmenu.spec index 7e5a8f7..3188791 100644 --- a/libdbusmenu.spec +++ b/libdbusmenu.spec @@ -16,7 +16,7 @@ Name: libdbusmenu Version: %{ubuntu_release}.0 -Release: 28%{?dist} +Release: 29%{?dist} Summary: Library for passing menus over DBus # All files installed in final rpms use C sources with dual licensing headers. @@ -149,6 +149,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The %{name}-tools package contains helper tools for developing applications that use %{name}. +%package gtk3-tests +Summary: Test tools for the dbusmenu libraries +Requires: %{name}-gtk3%{?_isa} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description gtk3-tests +The %{name}-tests package contains test tools that use %{name}-gtk3. + %prep %setup -q -n %{name}-%{version} -c @@ -171,6 +179,10 @@ build(){ pushd %{name}-gtk3-%{version} sed -i -e 's@^#!.*python$@#!/usr/bin/python2@' tools/dbusmenu-bench build --with-gtk=3 +cd tests +# Need dbus-test-runner package for other tests. +make test-glib-simple-items +cd .. popd %if %{with gtk2} @@ -185,6 +197,10 @@ popd pushd %{name}-gtk3-%{version} %make_install find %{buildroot} -name '*.la' -delete +install -pm 755 -D test-driver \ + $RPM_BUILD_ROOT%{_libexecdir}/%{name}-gtk3/test-driver +install -pm 755 -D tests/.libs/test-glib-simple-items \ + $RPM_BUILD_ROOT%{_libexecdir}/%{name}-gtk3/test-glib-simple-items popd %if %{with gtk2} @@ -283,7 +299,14 @@ done %dir %{_datadir}/%{name}/json/ %{_datadir}/%{name}/json/test-gtk-label.json +%files gtk3-tests +%{_libexecdir}/%{name}-gtk3/test-glib-simple-items +%{_libexecdir}/%{name}-gtk3/test-driver + %changelog +* Sun May 12 2024 Takao Fujiwara - 16.04.0-29 +- Add gtk3-tests sub package + * Sat May 11 2024 Takao Fujiwara - 16.04.0-28 - Add CI diff --git a/tests/test-glib-simple-items/main.fmf b/tests/test-glib-simple-items/main.fmf index d1cb924..e884f79 100644 --- a/tests/test-glib-simple-items/main.fmf +++ b/tests/test-glib-simple-items/main.fmf @@ -2,7 +2,6 @@ summary: libdbusmenu-gtk3-tests tests test: ./test.sh framework: beakerlib require: - - tmt - git - libdbusmenu-gtk3-tests - xorg-x11-server-Xvfb