From cc65f79e55e152b6e1bba704d1e2c7ed789da244 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 15 Aug 2015 13:29:12 -0700 Subject: [PATCH] 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. --- src/test/compile-fail/allocator-dylib-is-system.rs | 1 + src/test/compile-fail/allocator-rust-dylib-is-jemalloc.rs | 1 + src/test/compile-fail/two-allocators-3.rs | 1 + 3 files changed, 3 insertions(+) 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)