about summary refs log tree commit diff
path: root/src/liballoc/tests/string.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-09 00:16:04 +0100
committerGitHub <noreply@github.com>2019-02-09 00:16:04 +0100
commit970864453097c7e1a25c4b960afaca5674eb5f92 (patch)
treec259167e2ba9a73b94a55f660e5819df7b152691 /src/liballoc/tests/string.rs
parentc3b4102e2fd252f4d087c0f7d3c7c30b907132dc (diff)
parent81613ad7cf9889a59d0a7233af9e462715945a72 (diff)
downloadrust-970864453097c7e1a25c4b960afaca5674eb5f92.tar.gz
rust-970864453097c7e1a25c4b960afaca5674eb5f92.zip
Rollup merge of #58275 - RalfJung:miri-test-libcore, r=Mark-Simulacrum
libcore, liballoc: disable tests in Miri

I am going to run the libcore and liballoc unit test suites in Miri.  Not all tests pass.  This PR disables a whole bunch of tests when running in Miri, to get us to a baseline from which I can investigate failures.

Cc @SimonSapin @alexcrichton
Diffstat (limited to 'src/liballoc/tests/string.rs')
-rw-r--r--src/liballoc/tests/string.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/tests/string.rs b/src/liballoc/tests/string.rs
index e5ce51a36ee..e6ca54c4088 100644
--- a/src/liballoc/tests/string.rs
+++ b/src/liballoc/tests/string.rs
@@ -1,3 +1,5 @@
+#![cfg(not(miri))]
+
 use std::borrow::Cow;
 use std::collections::CollectionAllocErr::*;
 use std::mem::size_of;