Codebase list rust-stfu8 / 7e94a7e
skip broken tests for shadow-rs Matthias Geiger 1 year, 4 months ago
10 changed file(s) with 65 addition(s) and 38 deletion(s). Raw diff Collapse all Expand all
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
08 rust-effective-limits (0.5.5-1) unstable; urgency=medium
19
210 * Package effective-limits 0.5.5 from crates.io using debcargo 2.6.0
1313
1414 Files: debian/*
1515 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>
1818 License: Apache-2.0
1919
2020 License: Apache-2.0
+0
-34
src/effective-limits/debian/patches/fix-tests.diff less more
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
-1
src/effective-limits/debian/patches/series less more
0 fix-tests.diff
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
00 rust-shadow-rs (0.20.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
11
22 * 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
35
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
57
68 rust-shadow-rs (0.19.0-1) unstable; urgency=medium
79
00 overlay = "."
11 uploaders = ["Matthias Geiger <matthias.geiger1024@tutanota.de>"]
22 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