From 44c95f120f4699f3f90237fc319d2881003b8135 Mon Sep 17 00:00:00 2001 From: Gwen Mittertreiner Date: Tue, 15 Oct 2019 14:45:13 -0700 Subject: [PATCH] [Windows] Search for Dlls in Bundles Properly On Windows, dlls don't begin with "lib" so the tests should be searching for "MyDLL.dll", not "libMyDLL.dll" --- TestFoundation/TestBundle.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TestFoundation/TestBundle.swift b/TestFoundation/TestBundle.swift index 3dfbee5319..2fd64eb0d5 100644 --- a/TestFoundation/TestBundle.swift +++ b/TestFoundation/TestBundle.swift @@ -98,7 +98,11 @@ class BundlePlayground { case .executable: return "" case .library: +#if os(Windows) + return "" +#else return "lib" +#endif } } }