1
Fork 0

Ignore lots and lots of std tests on emscripten

This commit is contained in:
Brian Anderson 2016-09-07 05:34:15 +00:00
parent fcd3279f36
commit 9c4a01ee9e
28 changed files with 255 additions and 0 deletions

View file

@ -1761,6 +1761,7 @@ mod tests {
use super::repeat;
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn read_until() {
let mut buf = Cursor::new(&b"12"[..]);
let mut v = Vec::new();
@ -1971,6 +1972,7 @@ mod tests {
}
#[bench]
#[cfg_attr(target_os = "emscripten", ignore)]
fn bench_read_to_end(b: &mut test::Bencher) {
b.iter(|| {
let mut lr = repeat(1).take(10000000);