[lld] 7d32e6e - [lld-macho] Fix invalid-stub test on Windows, take 2

Jez Ng via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 22:22:12 PDT 2020


Author: Jez Ng
Date: 2020-08-12T22:21:57-07:00
New Revision: 7d32e6e3f0a94ae65ffc19d3948658365584d048

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

LOG: [lld-macho] Fix invalid-stub test on Windows, take 2

Added: 
    

Modified: 
    lld/test/MachO/invalid/invalid-stub.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/invalid/invalid-stub.s b/lld/test/MachO/invalid/invalid-stub.s
index ccee0edbddfd..dd3fc65b3042 100644
--- a/lld/test/MachO/invalid/invalid-stub.s
+++ b/lld/test/MachO/invalid/invalid-stub.s
@@ -3,9 +3,9 @@
 # RUN: echo "--- !tapi-tbd-v3" > %t/libinvalidYAML.tbd
 # RUN: echo "invalid YAML" >> %t/libinvalidYAML.tbd
 # RUN: llvm-mc -filetype obj -triple x86_64-apple-darwin %s -o %t/test.o
-# RUN: not lld -flavor darwinnew -Z -L%t -linvalidYAML %t/test.o -o %t/test -Z 2>&1 | FileCheck %s -DFILE=%t/libinvalidYAML.tbd
+# RUN: not lld -flavor darwinnew -Z -L%t -linvalidYAML %t/test.o -o %t/test -Z 2>&1 | FileCheck %s -DDIR=%t
 
-# CHECK: could not load TAPI file at [[FILE]]: malformed file
+# CHECK: could not load TAPI file at [[DIR]]{{[\\/]}}libinvalidYAML.tbd: malformed file
 
 .globl _main
 _main:


        


More information about the llvm-commits mailing list