Fix buildbot where paths were not matching up.
authorGreg Clayton <gclayton@apple.com>
Tue, 2 Apr 2019 16:36:34 +0000 (16:36 +0000)
committerGreg Clayton <gclayton@apple.com>
Tue, 2 Apr 2019 16:36:34 +0000 (16:36 +0000)
llvm-svn: 357491

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

index da93a03..2ed7cb7 100644 (file)
@@ -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):