skip broken tests for shadow-rs
Matthias Geiger
1 year, 4 months ago
0 | rust-effective-limits (0.5.5-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Package effective-limits 0.5.5 from crates.io using debcargo 2.6.0 | |
3 | * Dropped obsolete patches | |
4 | * Skipped broken tests in d/rules | |
5 | ||
6 | -- Matthias Geiger <matthias.geiger1024@tutanota.de> Tue, 10 Jan 2023 23:29:27 +0100 | |
7 | ||
0 | 8 | rust-effective-limits (0.5.5-1) unstable; urgency=medium |
1 | 9 | |
2 | 10 | * Package effective-limits 0.5.5 from crates.io using debcargo 2.6.0 |
13 | 13 | |
14 | 14 | Files: debian/* |
15 | 15 | Copyright: |
16 | 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
17 | 2022 Matthias Geiger <matthias.geiger1024@tutanota.de> | |
16 | 2022-2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
17 | 2022-2023 Matthias Geiger <matthias.geiger1024@tutanota.de> | |
18 | 18 | License: Apache-2.0 |
19 | 19 | |
20 | 20 | License: Apache-2.0 |
0 | diff --git a/src/lib.rs b/src/lib.rs | |
1 | index f7fda6f..4074b58 100644 | |
2 | --- a/src/lib.rs | |
3 | +++ b/src/lib.rs | |
4 | @@ -406,29 +406,4 @@ mod tests { | |
5 | Ok(limit) | |
6 | } | |
7 | ||
8 | - #[cfg(any( | |
9 | - windows, | |
10 | - target_os = "macos", | |
11 | - target_os = "linux", | |
12 | - target_os = "freebsd", | |
13 | - target_os = "illumos", | |
14 | - target_os = "solaris", | |
15 | - ))] | |
16 | - #[test] | |
17 | - fn test_no_ulimit() -> Result<()> { | |
18 | - // This test depends on the dev environment being run uncontained. | |
19 | - let info = sys_info::mem_info()?; | |
20 | - let total_ram = info.total * 1024; | |
21 | - let limit = read_test_process(None)?; | |
22 | - assert_eq!(total_ram, limit); | |
23 | - Ok(()) | |
24 | - } | |
25 | - | |
26 | - #[test] | |
27 | - fn test_ulimit() -> Result<()> { | |
28 | - // Page size rounding | |
29 | - let limit = read_test_process(Some(99_999_744))?; | |
30 | - assert_eq!(99_999_744, limit); | |
31 | - Ok(()) | |
32 | - } | |
33 | } |
0 | #!/usr/bin/make -f | |
1 | %: | |
2 | dh $@ --buildsystem cargo | |
3 | ||
4 | override_dh_auto_test: | |
5 | dh_auto_test -- test -- --skip tests::test_ulimit --skip tests::test_no_ulimit |
0 | #!/usr/bin/make -f | |
1 | %: | |
2 | dh $@ --buildsystem cargo | |
3 | ||
4 | override_dh_auto_test: | |
5 | dh_auto_test -- test --all |
0 | 0 | rust-shadow-rs (0.20.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium |
1 | 1 | |
2 | 2 | * Package shadow-rs 0.20.0 from crates.io using debcargo 2.6.0 |
3 | * Dropped fix-test patch in favour of skipping broken tests | |
4 | * Skipped broken tests in d/rules and d/tests/control | |
3 | 5 | |
4 | -- Matthias Geiger <matthias.geiger1024@tutanota.de> Tue, 10 Jan 2023 00:20:12 +0100 | |
6 | -- Matthias Geiger <matthias.geiger1024@tutanota.de> Wed, 11 Jan 2023 15:15:02 +0100 | |
5 | 7 | |
6 | 8 | rust-shadow-rs (0.19.0-1) unstable; urgency=medium |
7 | 9 |
0 | 0 | overlay = "." |
1 | 1 | uploaders = ["Matthias Geiger <matthias.geiger1024@tutanota.de>"] |
2 | 2 | collapse_features = true |
3 | ||
4 | # the broken tests still get run |
0 | Test-Command: /usr/share/cargo/bin/cargo-auto-test shadow-rs 0.20.0 -- --skip date_time::tests::test_local_now_human_format --skip git::tests::test_current_branch --skip git::tests::test_git --skip tests::test_build --skip tests::test_build_deny -- --all-features | |
1 | Features: test-name=rust-shadow-rs:@ | |
2 | Depends: dh-cargo (>= 18), librust-regex-1+default-dev (>= 1.7.0-~~), @ | |
3 | Restrictions: allow-stderr, skip-not-installable | |
4 | ||
5 | Test-Command: /usr/share/cargo/bin/cargo-auto-test shadow-rs 0.20.0 -- --skip date_time::tests::test_local_now_human_format --skip git::tests::test_current_branch --skip git::tests::test_git --skip tests::test_build --skip tests::test_build_deny | |
6 | Features: test-name=librust-shadow-rs-dev:default | |
7 | Depends: dh-cargo (>= 18), librust-regex-1+default-dev (>= 1.7.0-~~), @ | |
8 | Restrictions: allow-stderr, skip-not-installable | |
9 | ||
10 | Test-Command: /usr/share/cargo/bin/cargo-auto-test shadow-rs 0.20.0 -- --skip date_time::tests::test_local_now_human_format --skip git::tests::test_current_branch --skip git::tests::test_git --skip tests::test_build --skip tests::test_build_deny -- --no-default-features --features git2 | |
11 | Features: test-name=librust-shadow-rs-dev:git2 | |
12 | Depends: dh-cargo (>= 18), librust-regex-1+default-dev (>= 1.7.0-~~), @ | |
13 | Restrictions: allow-stderr, skip-not-installable | |
14 | ||
15 | Test-Command: /usr/share/cargo/bin/cargo-auto-test shadow-rs 0.20.0 -- --skip date_time::tests::test_local_now_human_format --skip git::tests::test_current_branch --skip git::tests::test_git --skip tests::test_build --skip tests::test_build_deny -- --no-default-features | |
16 | Features: test-name=librust-shadow-rs-dev: | |
17 | Depends: dh-cargo (>= 18), librust-regex-1+default-dev (>= 1.7.0-~~), @ | |
18 | Restrictions: allow-stderr, skip-not-installable |
0 | Test-Command: /usr/share/cargo/bin/cargo-auto-test shadow-rs 0.20.0 --all-targets --all-features | |
1 | Features: test-name=rust-shadow-rs:@ | |
2 | Depends: dh-cargo (>= 18), librust-regex-1+default-dev (>= 1.7.0-~~), @ | |
3 | Restrictions: allow-stderr, skip-not-installable | |
4 | ||
5 | Test-Command: /usr/share/cargo/bin/cargo-auto-test shadow-rs 0.20.0 --all-targets | |
6 | Features: test-name=librust-shadow-rs-dev:default | |
7 | Depends: dh-cargo (>= 18), librust-regex-1+default-dev (>= 1.7.0-~~), @ | |
8 | Restrictions: allow-stderr, skip-not-installable | |
9 | ||
10 | Test-Command: /usr/share/cargo/bin/cargo-auto-test shadow-rs 0.20.0 --all-targets --no-default-features --features git2 | |
11 | Features: test-name=librust-shadow-rs-dev:git2 | |
12 | Depends: dh-cargo (>= 18), librust-regex-1+default-dev (>= 1.7.0-~~), @ | |
13 | Restrictions: allow-stderr, skip-not-installable | |
14 | ||
15 | Test-Command: /usr/share/cargo/bin/cargo-auto-test shadow-rs 0.20.0 --all-targets --no-default-features | |
16 | Features: test-name=librust-shadow-rs-dev: | |
17 | Depends: dh-cargo (>= 18), librust-regex-1+default-dev (>= 1.7.0-~~), @ | |
18 | Restrictions: allow-stderr, skip-not-installable |