Files
guru/media-gfx/decoder/files/decoder-0.9.1-remove-the-cargo-test-and-cargo-clippy-tests.patch
Pavel Sobolev 6b90b2f775 media-gfx/decoder: add 0.9.1
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
2026-05-30 23:00:17 +03:00

47 lines
887 B
Diff

From: Pavel Sobolev <contact@paveloom.dev>
Subject: [PATCH] Remove the `cargo test` and `cargo clippy` tests.
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
--- a/src/meson.build
+++ b/src/meson.build
@@ -57,37 +57,3 @@ cargo_build = custom_target(
'cp', cargo_target / rust_target / meson.project_name(), '@OUTPUT@',
]
)
-
-cargo_extra_options = [
- cargo_build_options,
- '--all-targets',
- '--all-features',
- '--workspace',
-]
-
-cargo_test_options = cargo_extra_options
-test(
- 'cargo-test',
- cargo,
- args: [
- 'test',
- cargo_test_options,
- ],
- env: cargo_env,
- timeout: 400,
-)
-
-cargo_clippy_options = [
- cargo_extra_options,
- cargo_clippy_deny_warnings,
-]
-test(
- 'cargo-clippy',
- cargo,
- args: [
- 'clippy',
- cargo_clippy_options,
- ],
- env: cargo_env,
- timeout: 400, # cargo might take a bit of time sometimes
-)