summaryrefslogtreecommitdiff
path: root/media-gfx/decoder/files/decoder-0.9.1-remove-the-cargo-test-and-cargo-clippy-tests.patch
blob: b9fb6ea61de789976edd60bad3af35893d5ab872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
-)