[lld] r374473 - Change test case so that it accepts backslashes in file path, in the case that the test runs on Windows

Amy Huang via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 16:35:53 PDT 2019


Author: akhuang
Date: Thu Oct 10 16:35:53 2019
New Revision: 374473

URL: http://llvm.org/viewvc/llvm-project?rev=374473&view=rev
Log:
Change test case so that it accepts backslashes in file path, in the case that the test runs on Windows

Modified:
    lld/trunk/test/ELF/compressed-debug-conflict.s

Modified: lld/trunk/test/ELF/compressed-debug-conflict.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/compressed-debug-conflict.s?rev=374473&r1=374472&r2=374473&view=diff
==============================================================================
--- lld/trunk/test/ELF/compressed-debug-conflict.s (original)
+++ lld/trunk/test/ELF/compressed-debug-conflict.s Thu Oct 10 16:35:53 2019
@@ -13,9 +13,9 @@
 # OBJ-NEXT:     ]
 
 # ERROR:      error: duplicate symbol: main
-# ERROR-NEXT: >>> defined at reduced.c:2 (/tmp/reduced.c:2)
+# ERROR-NEXT: >>> defined at reduced.c:2 ({{[/\\]}}tmp{{[/\\]}}reduced.c:2)
 # ERROR-NEXT: >>>
-# ERROR-NEXT: >>> defined at reduced.c:2 (/tmp/reduced.c:2)
+# ERROR-NEXT: >>> defined at reduced.c:2 ({{[/\\]}}tmp{{[/\\]}}reduced.c:2)
 # ERROR-NEXT: >>>
 
 	.text




More information about the llvm-commits mailing list