|
|
@ -89,8 +89,14 @@ use the "string" feature of the "%{crate}" crate.
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# * integration tests can only be run in-tree
|
|
|
|
# * integration tests can only be run in-tree
|
|
|
|
%cargo_test -- --lib
|
|
|
|
%cargo_test -- --lib
|
|
|
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
|
|
|
|
# * ignore harmless test failures on 32-bit architectures:
|
|
|
|
|
|
|
|
# https://github.com/rust-lang/regex/issues/1041
|
|
|
|
|
|
|
|
%cargo_test -- --doc -- --skip string::CaptureLocations
|
|
|
|
|
|
|
|
%else
|
|
|
|
%cargo_test -- --doc
|
|
|
|
%cargo_test -- --doc
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
%autochangelog
|
|
|
|
%autochangelog
|
|
|
|