[Lldb-commits] [lldb] r357491 - Fix buildbot where paths were not matching up.

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 2 09:36:34 PDT 2019


Author: gclayton
Date: Tue Apr  2 09:36:34 2019
New Revision: 357491

URL: http://llvm.org/viewvc/llvm-project?rev=357491&view=rev
Log:
Fix buildbot where paths were not matching up.


Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py?rev=357491&r1=357490&r2=357491&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpUUID.py Tue Apr  2 09:36:34 2019
@@ -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):




More information about the lldb-commits mailing list