[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:
Jonas Devlieghere 2020-07-30 11:47:55 -07:00
parent 2062b3707c
commit 3bb48898bc

View File

@ -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)