[lld] 11e2c25 - [lld-macho] Try to fix invalid-stub test on Windows

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


Author: Jez Ng
Date: 2020-08-12T20:58:47-07:00
New Revision: 11e2c253ac7993abbe347c048247453e0b423a32

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

LOG: [lld-macho] Try to fix invalid-stub test on Windows

Summary: Path separator issues...

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 0d070b6c8e44..ccee0edbddfd 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 -DDIR=%t
+# RUN: not lld -flavor darwinnew -Z -L%t -linvalidYAML %t/test.o -o %t/test -Z 2>&1 | FileCheck %s -DFILE=%t/libinvalidYAML.tbd
 
-# CHECK: could not load TAPI file at [[DIR]]/libinvalidYAML.tbd: malformed file
+# CHECK: could not load TAPI file at [[FILE]]: malformed file
 
 .globl _main
 _main:


        


More information about the llvm-commits mailing list