Enable thread_order dependent tests
This commit is contained in:
parent
7d27b8348a
commit
5ea97bd517
@ -3,7 +3,7 @@
|
|||||||
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||||
%global fullver %{majorver}%{?preminorver}
|
%global fullver %{majorver}%{?preminorver}
|
||||||
|
|
||||||
%global fedorarel 2
|
%global fedorarel 3
|
||||||
|
|
||||||
%global gem_name rspec-mocks
|
%global gem_name rspec-mocks
|
||||||
|
|
||||||
@ -26,6 +26,7 @@ BuildRequires: ruby(release)
|
|||||||
BuildRequires: rubygems-devel
|
BuildRequires: rubygems-devel
|
||||||
%if 0%{?need_bootstrap_set} < 1
|
%if 0%{?need_bootstrap_set} < 1
|
||||||
BuildRequires: rubygem(rspec)
|
BuildRequires: rubygem(rspec)
|
||||||
|
BuildRequires: rubygem(thread_order)
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -65,17 +66,11 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
|
|||||||
%if 0%{?need_bootstrap_set} < 1
|
%if 0%{?need_bootstrap_set} < 1
|
||||||
%check
|
%check
|
||||||
pushd %{gem_name}-%{version}
|
pushd %{gem_name}-%{version}
|
||||||
# FIXME
|
|
||||||
# thread_order not in Fedora yet
|
|
||||||
mv spec/rspec/mocks/reentrant_mutex_spec.rb{,.omit}
|
|
||||||
touch spec/rspec/mocks/reentrant_mutex_spec.rb
|
|
||||||
|
|
||||||
# library_wide_checks.rb needs UTF-8
|
# library_wide_checks.rb needs UTF-8
|
||||||
|
|
||||||
LANG=en_US.utf8
|
LANG=en_US.utf8
|
||||||
ruby -rubygems -Ilib/ -S rspec spec/
|
ruby -rubygems -Ilib/ -S rspec spec/
|
||||||
|
|
||||||
mv spec/rspec/mocks/reentrant_mutex_spec.rb{.omit,}
|
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -93,6 +88,9 @@ popd
|
|||||||
%{gem_docdir}
|
%{gem_docdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 12 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.2-3
|
||||||
|
- Enable thread_order dependent tests
|
||||||
|
|
||||||
* Sun Aug 2 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.2-2
|
* Sun Aug 2 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.2-2
|
||||||
- Enable tests again
|
- Enable tests again
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user