Run test suite
This commit is contained in:
parent
c01e4dba53
commit
9bf13dd9c7
@ -1,7 +1,7 @@
|
||||
Summary: System performance benchmark
|
||||
Name: sysbench
|
||||
Version: 1.0.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
@ -15,6 +15,8 @@ BuildRequires: libaio-devel
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: vim-common
|
||||
# Tests
|
||||
BuildRequires: /usr/bin/cram
|
||||
|
||||
|
||||
%description
|
||||
@ -56,7 +58,9 @@ autoreconf -vif
|
||||
%make_install
|
||||
rm -f %{buildroot}%{_docdir}/sysbench/manual.html
|
||||
|
||||
# FIXME: we should run tests at some point
|
||||
%check
|
||||
cd tests
|
||||
./test_run.sh
|
||||
|
||||
%files
|
||||
%doc ChangeLog COPYING README.md
|
||||
@ -66,6 +70,9 @@ rm -f %{buildroot}%{_docdir}/sysbench/manual.html
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Feb 25 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.2-2
|
||||
- Run test suite.
|
||||
|
||||
* Sat Feb 25 2017 Xavier Bachelot <xavier@bachelot.org> 1.0.2-1
|
||||
- Update to 1.0.2 (RHBZ#1424670).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user