[lld-macho] Enable search-paths tests on macOS
authorKeith Smiley <keithbsmiley@gmail.com>
Wed, 3 Nov 2021 18:28:45 +0000 (11:28 -0700)
committerKeith Smiley <keithbsmiley@gmail.com>
Wed, 3 Nov 2021 19:01:36 +0000 (12:01 -0700)
I'm not sure what the history is here but this test passes on macOS
today. It seems like we should unify these tests if they need to run
cross platform.

Reviewed By: #lld-macho, int3

Differential Revision: https://reviews.llvm.org/D113085

lld/test/MachO/search-paths.test

index 15d1b56..88f4fab 100644 (file)
@@ -1,6 +1,4 @@
-UNSUPPORTED: darwin
-
-RUN: mkdir -p %t1 %t2
+RUN: rm -rf %t1 %t2; mkdir -p %t1 %t2
 
 RUN: %lld -v -dylib -o /dev/null -L%t1 -F%t2 2>&1 \
 RUN:     | FileCheck -DLDIR=%t1 -DFDIR=%t2 %s