[TestIndirectSymbol] This tests an Apple-specific feature.

Remove a redundant check.
This commit is contained in:
Davide Italiano 2020-05-05 13:13:46 -07:00
parent 48e5eedab3
commit d606dcc652
1 changed files with 3 additions and 4 deletions

View File

@ -28,10 +28,9 @@ class TestIndirectFunctions(TestBase):
target = self.dbg.CreateTarget(exe)
self.assertTrue(target, VALID_TARGET)
if self.platformIsDarwin():
lib1 = self.getBuildArtifact('libindirect.dylib')
lib2 = self.getBuildArtifact('libreexport.dylib')
self.registerSharedLibrariesWithTarget(target, [lib1, lib2])
lib1 = self.getBuildArtifact('libindirect.dylib')
lib2 = self.getBuildArtifact('libreexport.dylib')
self.registerSharedLibrariesWithTarget(target, [lib1, lib2])
self.main_source_spec = lldb.SBFileSpec(self.main_source)