diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-10-14 12:29:13 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-10-14 12:29:13 +0000 |
| commit | abc9f0d6fb38370f689754df81f4f61bed8f0cc3 (patch) | |
| tree | 7a7a441776c5b3c5ff8f54be0b81546a74807847 | |
| parent | 269917bc774ab72ba6d442605751925d3fb801a7 (diff) | |
| download | rust-abc9f0d6fb38370f689754df81f4f61bed8f0cc3.tar.gz rust-abc9f0d6fb38370f689754df81f4f61bed8f0cc3.zip | |
Update rand test
This allows removing a patch for a test that requires unwinding support
| -rw-r--r-- | build_system/tests.rs | 4 | ||||
| -rw-r--r-- | patches/0002-rand-Disable-failing-test.patch | 24 |
2 files changed, 2 insertions, 26 deletions
diff --git a/build_system/tests.rs b/build_system/tests.rs index 95ff6b75422..e61e947d3f9 100644 --- a/build_system/tests.rs +++ b/build_system/tests.rs @@ -104,8 +104,8 @@ const BASE_SYSROOT_SUITE: &[TestCase] = &[ pub(crate) static RAND_REPO: GitRepo = GitRepo::github( "rust-random", "rand", - "f3dd0b885c4597b9617ca79987a0dd899ab29fcb", - "3f869e4fcd602b66", + "9a02c819cc1e4ec6959ae25eafbb5cf6acb68234", + "4934f0afb1d1c2ca", "rand", ); diff --git a/patches/0002-rand-Disable-failing-test.patch b/patches/0002-rand-Disable-failing-test.patch deleted file mode 100644 index ae13ab3b0ca..00000000000 --- a/patches/0002-rand-Disable-failing-test.patch +++ /dev/null @@ -1,24 +0,0 @@ -From a8fb97120d71252538b6b026695df40d02696bdb Mon Sep 17 00:00:00 2001 -From: bjorn3 <bjorn3@users.noreply.github.com> -Date: Sat, 15 Aug 2020 20:04:38 +0200 -Subject: [PATCH] [rand] Disable failing test - ---- - src/distributions/uniform.rs | 1 + - 1 file changed, 1 insertion(+), 0 deletions(-) - -diff --git a/src/distributions/uniform.rs b/src/distributions/uniform.rs -index 480b859..c80bb6f 100644 ---- a/src/distributions/uniform.rs -+++ b/src/distributions/uniform.rs -@@ -1314,6 +1314,7 @@ mod tests { - not(target_arch = "wasm32"), - not(target_arch = "asmjs") - ))] -+ #[ignore] // Requires unwinding - fn test_float_assertions() { - use super::SampleUniform; - use std::panic::catch_unwind; --- -2.20.1 - |
