Skip to content

Commit

Permalink
packit: run unit tests during package build
Browse files Browse the repository at this point in the history
  • Loading branch information
mrc0mmand committed Jun 11, 2024
1 parent d291c81 commit de16e75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .packit/polkit.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ BuildRequires: dbus-devel
BuildRequires: pkgconfig(duktape)
BuildRequires: meson
BuildRequires: git
BuildRequires: python3-dbus
BuildRequires: python3-dbusmock

Requires: dbus, polkit-pkla-compat
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Expand Down Expand Up @@ -88,9 +90,10 @@ Libraries files for polkit.
-D introspection=true \
-D man=true \
-D session_tracking=logind \
-D tests=false
-D tests=true

%meson_build
%meson_test

%install
%meson_install
Expand Down

0 comments on commit de16e75

Please sign in to comment.