[lld] c77c366 - [MachO] Fix test on llvm-x86_64-debian-dylib builder

Shoaib Meenai via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 11:42:49 PST 2023


Author: Shoaib Meenai
Date: 2023-12-19T11:42:26-08:00
New Revision: c77c3663dbea07264ba760bc17b913cebd7986ba

URL: https://github.com/llvm/llvm-project/commit/c77c3663dbea07264ba760bc17b913cebd7986ba
DIFF: https://github.com/llvm/llvm-project/commit/c77c3663dbea07264ba760bc17b913cebd7986ba.diff

LOG: [MachO] Fix test on llvm-x86_64-debian-dylib builder

Make the `--implicit-check-not` account for the file extension as well.
This will still fail if we ever have a builder with `.dylib` in its
name, and we probably want a more robust solution, but this addresses
the immediate issue.

Fixes https://github.com/llvm/llvm-project/issues/75850
Fixes https://github.com/llvm/llvm-project/issues/75910

Added: 
    

Modified: 
    lld/test/MachO/flat-namespace-dysyms.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/flat-namespace-dysyms.s b/lld/test/MachO/flat-namespace-dysyms.s
index 2ac3b2979efd50..8d06932f06639b 100644
--- a/lld/test/MachO/flat-namespace-dysyms.s
+++ b/lld/test/MachO/flat-namespace-dysyms.s
@@ -32,7 +32,7 @@
 # RUN: cd %t
 # RUN: tar -tf repro.tar | FileCheck -DPATH='%:t.dir' --check-prefix=REPRO %s
 # RUN: tar -xf repro.tar repro/response.txt
-# RUN: FileCheck --implicit-check-not=dylib --check-prefix=RESPONSE %s \
+# RUN: FileCheck --implicit-check-not=.dylib --check-prefix=RESPONSE %s \
 # RUN:     < %t/repro/response.txt
 
 # HEADERBITS-NOT: NOUNDEFS


        


More information about the llvm-commits mailing list