Skip two tests that randomly fail

epel9 imports/e9/rust-crossterm-0.27.0-2.el9
Fabio Valentini 1 year ago
parent 25617d0fdf
commit 607c68557c
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,5 +1,5 @@
--- crossterm-0.27.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- crossterm-0.27.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ crossterm-0.27.0/Cargo.toml 2023-10-24T10:32:30.950527+00:00 +++ crossterm-0.27.0/Cargo.toml 2023-10-27T19:13:04.543460+00:00
@@ -143,8 +143,6 @@ @@ -143,8 +143,6 @@
] ]
use-dev-tty = ["filedescriptor"] use-dev-tty = ["filedescriptor"]

@ -1,5 +1,5 @@
--- crossterm-0.27.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- crossterm-0.27.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ crossterm-0.27.0/Cargo.toml 2023-10-24T10:32:41.861215+00:00 +++ crossterm-0.27.0/Cargo.toml 2023-10-27T19:13:23.073530+00:00
@@ -125,7 +125,6 @@ @@ -125,7 +125,6 @@
bracketed-paste = [] bracketed-paste = []
default = [ default = [

@ -139,7 +139,9 @@ use the "use-dev-tty" feature of the "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
%cargo_test # * skip two tests that randomly fail:
# https://github.com/crossterm-rs/crossterm/issues/836
%cargo_test -- -- --exact --skip style::types::colored::tests::test_parse_ansi_bg --skip style::types::colored::tests::test_parse_ansi_fg
%endif %endif
%changelog %changelog

@ -0,0 +1,8 @@
[tests]
skip = [
"style::types::colored::tests::test_parse_ansi_bg",
"style::types::colored::tests::test_parse_ansi_fg",
]
skip-exact = true
comments = ["skip two tests that randomly fail: https://github.com/crossterm-rs/crossterm/issues/836"]
Loading…
Cancel
Save