Skip to content

Commit

Permalink
Run the test suite at the build time
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdavid committed May 28, 2020
1 parent 0007241 commit c4cac4c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package/yast2-samba-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ BuildRequires: yast2-ldap
BuildRequires: yast2-perl-bindings
BuildRequires: yast2-users

# Test suite
BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake)
BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec)

Requires: perl-Crypt-SmbHash
# Yast2::ServiceWidget
Requires: yast2 >= 4.1.0
Expand All @@ -61,6 +65,9 @@ configuration.
%prep
%setup -q

%check
rake test:unit

%build
%yast_build

Expand Down

0 comments on commit c4cac4c

Please sign in to comment.