disable jemalloc tests for openbsd

ignore severals tests under openbsd as we have disabling jemalloc under
this target.
This commit is contained in:
Sébastien Marie 2015-09-12 17:33:18 +02:00
parent 33f0920d0e
commit 18ee9d71d5
4 changed files with 6 additions and 3 deletions

View File

@ -11,6 +11,7 @@
// ignore-msvc everything is the system allocator on msvc
// ignore-musl no dylibs on musl yet
// ignore-bitrig no jemalloc on bitrig
// ignore-openbsd no jemalloc on openbsd
// aux-build:allocator-dylib.rs
// no-prefer-dynamic
// error-pattern: cannot link together two allocators

View File

@ -11,6 +11,7 @@
// ignore-msvc everything is the system allocator on msvc
// ignore-musl no dylibs on musl right now
// ignore-bitrig no jemalloc on bitrig
// ignore-openbsd no jemalloc on openbsd
// aux-build:allocator-dylib2.rs
// error-pattern: cannot link together two allocators

View File

@ -10,9 +10,9 @@
#![feature(alloc_jemalloc, alloc_system)]
#[cfg(not(any(target_env = "msvc", target_os = "bitrig")))]
#[cfg(not(any(target_env = "msvc", target_os = "bitrig", target_os = "openbsd")))]
extern crate alloc_jemalloc;
#[cfg(any(target_env = "msvc", target_os = "bitrig"))]
#[cfg(any(target_env = "msvc", target_os = "bitrig", target_os = "openbsd"))]
extern crate alloc_system;
fn main() {

View File

@ -10,7 +10,8 @@
// no-prefer-dynamic
// ignore-msvc no jemalloc on msvc
// ignore-bitrig no jemalloc on bitrig either
// ignore-bitrig no jemalloc on bitrig
// ignore-openbsd no jemalloc on openbsd
#![feature(alloc_jemalloc)]