|
|
|
@ -36,6 +36,29 @@ pre = [
|
|
|
|
|
"find -type f -name '*.rs' -executable -exec chmod -x '{}' +",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[scripts.check]
|
|
|
|
|
pre = [
|
|
|
|
|
"%if 0%{?__isa_bits} != 32",
|
|
|
|
|
]
|
|
|
|
|
post = [
|
|
|
|
|
"%else",
|
|
|
|
|
"# Few tests fail with OOM on 32bit",
|
|
|
|
|
"# https://github.com/dropbox/rust-brotli/issues/42",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_10x10y\"",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_64x\"",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_asyoulik\"",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_asyoulik9_5\"",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_backward65536\"",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_compressed_repeated\"",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_monkey\"",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_quickfox\"",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_quickfox_repeated\"",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_ukkonooa\"",
|
|
|
|
|
"skip=\"${skip-} --skip enc::test::test_roundtrip_x\"",
|
|
|
|
|
"%cargo_test -- -- --exact ${skip-}",
|
|
|
|
|
"%endif",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[[package.extra-patches]]
|
|
|
|
|
number = 10
|
|
|
|
|
file = "brotli-6.0.0-license-accuracy.patch"
|
|
|
|
|