mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:04:39 +08:00
fish.spec: run all tests
This commit is contained in:
parent
2c01e67a74
commit
4548f4f4b0
14
fish.spec.in
14
fish.spec.in
|
@ -25,6 +25,13 @@ BuildRequires: gcc48 gcc48-c++
|
|||
BuildRequires: pcre2-devel
|
||||
%endif
|
||||
|
||||
# for tests
|
||||
BuildRequires: expect
|
||||
%if 0%{?fedora}
|
||||
# Need the en_US.utf-8 locale at a minimum
|
||||
BuildRequires: glibc-langpack-en
|
||||
%endif
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: python
|
||||
|
@ -73,6 +80,13 @@ make %{?_smp_mflags}
|
|||
%endif
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
# OpenSUSE does out-of-tree builds and defines __builddir
|
||||
%if 0%{?__builddir:1}
|
||||
cd %__builddir
|
||||
%endif
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user