diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-15 13:29:12 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-15 13:29:12 -0700 |
| commit | cc65f79e55e152b6e1bba704d1e2c7ed789da244 (patch) | |
| tree | 550179ba8c96135ce1bf6cc0e4af6658072878ab | |
| parent | ab450ef22b08241513734f73952a4a1315738b03 (diff) | |
test: Fix tests for MUSL
Some new allocator tests require dynamic libraries to run the full test, but dylibs aren't currently working on MUSL.
| -rw-r--r-- | src/test/compile-fail/allocator-dylib-is-system.rs | 1 | ||||
| -rw-r--r-- | src/test/compile-fail/allocator-rust-dylib-is-jemalloc.rs | 1 | ||||
| -rw-r--r-- | src/test/compile-fail/two-allocators-3.rs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/test/compile-fail/allocator-dylib-is-system.rs b/src/test/compile-fail/allocator-dylib-is-system.rs index 8fad2af42b9..6c21f77c9a6 100644 --- a/src/test/compile-fail/allocator-dylib-is-system.rs +++ b/src/test/compile-fail/allocator-dylib-is-system.rs @@ -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 diff --git a/src/test/compile-fail/allocator-rust-dylib-is-jemalloc.rs b/src/test/compile-fail/allocator-rust-dylib-is-jemalloc.rs index 224d9379ee1..8ba48f6a525 100644 --- a/src/test/compile-fail/allocator-rust-dylib-is-jemalloc.rs +++ b/src/test/compile-fail/allocator-rust-dylib-is-jemalloc.rs @@ -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 diff --git a/src/test/compile-fail/two-allocators-3.rs b/src/test/compile-fail/two-allocators-3.rs index 70c9dfcafae..7782d0e338e 100644 --- a/src/test/compile-fail/two-allocators-3.rs +++ b/src/test/compile-fail/two-allocators-3.rs @@ -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) |
