Skip to content

Commit

Permalink
test: Fix tests for MUSL
Browse files Browse the repository at this point in the history
Some new allocator tests require dynamic libraries to run the full test, but
dylibs aren't currently working on MUSL.
  • Loading branch information
alexcrichton committed Aug 15, 2015
1 parent ab450ef commit cc65f79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/test/compile-fail/allocator-dylib-is-system.rs
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// ignore-msvc everything is the system allocator on msvc
// ignore-musl no dylibs on musl yet
// 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 @@ -9,6 +9,7 @@
// except according to those terms.

// ignore-msvc everything is the system allocator on msvc
// ignore-musl no dylibs on musl right now
// aux-build:allocator-dylib2.rs
// error-pattern: cannot link together two allocators

Expand Down
1 change: 1 addition & 0 deletions src/test/compile-fail/two-allocators-3.rs
Expand Up @@ -10,6 +10,7 @@

// aux-build:allocator1.rs
// error-pattern: cannot link together two allocators
// ignore-musl no dylibs on musl yet

// We're linking std dynamically (via -C prefer-dynamic for this test) which
// has an allocator and then we're also linking in a new allocator (allocator1)
Expand Down

0 comments on commit cc65f79

Please sign in to comment.