mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-19 16:40:38 -09:00
GP-1367: Ignoring LLDB tests when liblldb cannot be loaded.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
package agent.lldb.lldb;
|
||||
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assume.assumeTrue;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
@@ -45,6 +46,7 @@ public class LLDBTest extends AbstractGhidraHeadlessIntegrationTest {
|
||||
System.load("/usr/lib/liblldb.dylib");
|
||||
}
|
||||
catch (UnsatisfiedLinkError ex) {
|
||||
assumeTrue("lldb not available", false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user