From 5050586860140b55a0cc68c77dd1438f44a23ca5 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Tue, 2 Apr 2019 16:36:34 +0000 Subject: Fix buildbot where paths were not matching up. llvm-svn: 357491 --- .../test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lldb/packages/Python/lldbsuite') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py index da93a03c30a..2ed7cb769c0 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py @@ -30,7 +30,10 @@ class MiniDumpUUIDTestCase(TestBase): def verify_module(self, module, verify_path, verify_uuid): uuid = module.GetUUIDString() - self.assertEqual(verify_path, module.GetFileSpec().fullpath) + fullpath = module.GetFileSpec().fullpath + msg = 'Verify path ("%s") is contained in the fullpath ("%s")' % ( + verify_path, fullpath) + self.assertTrue(verify_path in fullpath, msg) self.assertEqual(verify_uuid, uuid) def test_zero_uuid_modules(self): -- cgit v1.2.3