mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
test(tools): skip annotate_module tests when GNU objdump is unavailable
This commit is contained in:
1 file changed
+2
-1
@@ -120,7 +120,8 @@ class ObjdumpDiscoveryTests(unittest.TestCase):
|
||||
|
||||
class AnnotateModuleTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.assertIsNotNone(annotate_module.gnu_objdump(), "GNU binutils objdump (objdump or gobjdump) is required to run these tests")
|
||||
if annotate_module.gnu_objdump() is None:
|
||||
self.skipTest("GNU binutils objdump (objdump or gobjdump) is required to run these tests")
|
||||
self.directory = tempfile.TemporaryDirectory()
|
||||
self.addCleanup(self.directory.cleanup)
|
||||
self.root = Path(self.directory.name)
|
||||
|
||||
Reference in new issue
Block a user