GP-0: Ignoring dbgeng/model tests outside Windows

This commit is contained in:
Dan 2021-04-06 13:38:57 -04:00
parent 9c5c8f4e60
commit 9f5c98fe14
3 changed files with 6 additions and 0 deletions

View file

@ -15,6 +15,7 @@
*/
package agent.dbgmodel.model.invm;
import agent.dbgeng.dbgeng.DbgEngTest;
import agent.dbgeng.model.AbstractDbgengModelHost;
import agent.dbgmodel.DbgModelInJvmDebuggerModelFactory;
import ghidra.dbg.DebuggerModelFactory;
@ -22,6 +23,7 @@ import ghidra.dbg.DebuggerModelFactory;
public class InVmDbgmodelModelHost extends AbstractDbgengModelHost {
@Override
public DebuggerModelFactory getModelFactory() {
DbgEngTest.assumeDbgengDLLLoadable();
return new DbgModelInJvmDebuggerModelFactory();
}
}