[llvm] 2baf4a0 - Fix test added in D150987 to account for different path separators which was causing the test to fail on Windows.

Douglas Yung via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 16:21:09 PDT 2023


Author: Douglas Yung
Date: 2023-09-19T16:18:34-07:00
New Revision: 2baf4a06ef06c51c2ef09f981f204983b0f8082c

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

LOG: Fix test added in D150987 to account for different path separators which was causing the test to fail on Windows.

Should fix https://lab.llvm.org/buildbot/#/builders/216/builds/27535

Added: 
    

Modified: 
    llvm/test/tools/llvm-nm/X86/line-numbers.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-nm/X86/line-numbers.test b/llvm/test/tools/llvm-nm/X86/line-numbers.test
index 4acda8afb2a4e36..e254df67f955a3b 100644
--- a/llvm/test/tools/llvm-nm/X86/line-numbers.test
+++ b/llvm/test/tools/llvm-nm/X86/line-numbers.test
@@ -68,7 +68,7 @@
 # RUN: llvm-mc -g --filetype=obj %t/data-dwarf.s -triple=x86_64-pc-linux -o %t/data-dwarf.o
 # RUN: llvm-nm --line-numbers %t/data-dwarf.o | FileCheck %s --check-prefix=DATA-DWARF --match-full-lines --implicit-check-not={{.}}
 
-# DATA-DWARF: 0000000000000000 D defined_data /tmp/tmp.c:1
+# DATA-DWARF: 0000000000000000 D defined_data /tmp{{\\|/}}tmp.c:1
 
 #--- main.s
 .text


        


More information about the llvm-commits mailing list