GP-1367: Ignoring LLDB tests when liblldb cannot be loaded.

This commit is contained in:
Dan
2021-10-04 15:49:40 -04:00
parent e2ea7320e1
commit b57cf13183

View File

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