Skip to content

Commit

Permalink
disable jemalloc tests for openbsd
Browse files Browse the repository at this point in the history
ignore severals tests under openbsd as we have disabling jemalloc under
this target.
  • Loading branch information
semarie committed Sep 12, 2015
1 parent 33f0920 commit 18ee9d7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/test/compile-fail/allocator-dylib-is-system.rs
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/test/compile-fail/allocator-rust-dylib-is-jemalloc.rs
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/test/run-pass/allocator-default.rs
Expand Up @@ -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() {
Expand Down
3 changes: 2 additions & 1 deletion src/test/run-pass/allocator-jemalloc.rs
Expand Up @@ -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)]

Expand Down

0 comments on commit 18ee9d7

Please sign in to comment.