[Lldb-commits] [PATCH] D43577: Fix TestUbsanBasic

Frederic Riss via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 22 21:05:35 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL325859: Fix TestUbsanBasic (authored by friss, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D43577?vs=135263&id=135590#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D43577

Files:
  lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py


Index: lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py
@@ -84,7 +84,7 @@
 
         self.assertEqual(data["instrumentation_class"], "UndefinedBehaviorSanitizer")
         self.assertEqual(data["description"], "misaligned-pointer-use")
-        self.assertEqual(data["filename"], "main.c")
+        self.assertEqual(os.path.basename(data["filename"]), "main.c")
         self.assertEqual(data["line"], self.line_align)
 
         self.runCmd("continue")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43577.135590.patch
Type: text/x-patch
Size: 745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180223/174ddf4b/attachment.bin>


More information about the lldb-commits mailing list