mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 08:46:33 +00:00
[lldb/Test] Use self.assertIn in TestGdbRemoteTargetXmlPacket
On the ARM buildbot the returned architecture is `armv8l` while getArchitecture() just returns `arm`.
This commit is contained in:
parent
2062b3707c
commit
3bb48898bc
@ -43,7 +43,7 @@ class TestGdbRemoteTargetXmlPacket(gdbremote_testcase.GdbRemoteTestCaseBase):
|
||||
|
||||
architecture = root.find("architecture")
|
||||
self.assertIsNotNone(architecture)
|
||||
self.assertEqual(architecture.text, self.getArchitecture())
|
||||
self.assertIn(self.getArchitecture(), architecture.text)
|
||||
|
||||
feature = root.find("feature")
|
||||
self.assertIsNotNone(feature)
|
||||
|
Loading…
x
Reference in New Issue
Block a user