Skip to content

Commit

Permalink
Fix TestUbsanBasic
Browse files Browse the repository at this point in the history
Summary:
Potentially due to the recent testuite refactorings, this test now reports
a full absolute path but expect just the filename. For some reason this
test is skipped on GreenDragon so we've never seen the issue.

Reviewers: vsk

Subscribers: kubamracek, lldb-commits

Differential Revision: https://reviews.llvm.org/D43577

llvm-svn: 325859
  • Loading branch information
fredriss committed Feb 23, 2018
1 parent 8492f20 commit 0fd6a53
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -84,7 +84,7 @@ def ubsan_tests(self):

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")

0 comments on commit 0fd6a53

Please sign in to comment.