Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 54dca4d + 98fa273 commit e52945eCopy full SHA for e52945e
lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
@@ -479,5 +479,6 @@ def test_minidump_sysroot(self):
479
# Check that we loaded the module from the sysroot
480
self.assertEqual(self.target.GetNumModules(), 1)
481
module = self.target.GetModuleAtIndex(0)
482
- spec = module.GetFileSpec()
483
- self.assertEqual(spec.GetDirectory(), exe_dir)
+ spec_dir_norm = os.path.normcase(module.GetFileSpec().GetDirectory())
+ exe_dir_norm = os.path.normcase(exe_dir)
484
+ self.assertEqual(spec_dir_norm, exe_dir_norm)
0 commit comments