Skip to content

Commit f2b7643

Browse files
committed
Add xfail to rust-openssl test
The tests of the rust-openssl crate are currently failing because upstream enabled tests using the prime192 curve, but this curve has been disabled in openSUSE. Pending upstream fix: sfackler/rust-openssl#2330
1 parent 356de47 commit f2b7643

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/test_rust.py

+11
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import pytest
77
from pytest_container import GitRepositoryBuild
88

9+
from bci_tester.data import OS_VERSION
910
from bci_tester.data import RUST_CONTAINERS
1011

1112
CONTAINER_IMAGES = RUST_CONTAINERS
@@ -41,6 +42,16 @@ def test_cargo_version(auto_container):
4142
GitRepositoryBuild(
4243
repository_url="https://github.com/sfackler/rust-openssl",
4344
build_command="zypper -n in libopenssl-devel && cargo build && cargo test",
45+
marks=(
46+
None
47+
if OS_VERSION != "tumbleweed"
48+
else pytest.mark.xfail(
49+
reason=(
50+
"broken test on Tumbleweed due to disabled prime curves,"
51+
"see https://github.com/sfackler/rust-openssl/pull/2330"
52+
)
53+
)
54+
),
4455
),
4556
GitRepositoryBuild(
4657
repository_url="https://github.com/rust-random/rand",

0 commit comments

Comments
 (0)