mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-2167: Removing JMockit jar dependency
This commit is contained in:
@@ -32,16 +32,6 @@
|
||||
*********************************************************************************/
|
||||
apply from: "gradle/support/testUtils.gradle"
|
||||
|
||||
configurations {
|
||||
jmockitAgent
|
||||
}
|
||||
|
||||
dependencies {
|
||||
jmockitAgent('org.jmockit:jmockit:1.44') {
|
||||
exclude group: 'com.google.code.findbugs', module: 'jsr305'
|
||||
}
|
||||
}
|
||||
|
||||
if (!project.hasProperty('rootTestDir')) {
|
||||
project.ext.rootTestDir = "build"
|
||||
}
|
||||
@@ -320,11 +310,7 @@ def initTestJVM(Task task, String rootDirName) {
|
||||
task.minHeapSize xms
|
||||
task.maxHeapSize xmx
|
||||
|
||||
// for jmockit; needs the javaagent option
|
||||
// -javaagent:/path/to/jmockit.jar
|
||||
task.doFirst {
|
||||
def jmockitPath = configurations.jmockitAgent.singleFile
|
||||
|
||||
task.doFirst {
|
||||
task.jvmArgs '-DupgradeProgramErrorMessage=' + upgradeProgramErrorMessage,
|
||||
'-DupgradeTimeErrorMessage=' + upgradeTimeErrorMessage,
|
||||
'-Dlog4j.configurationFile=' + logPropertiesUrl,
|
||||
@@ -345,7 +331,6 @@ def initTestJVM(Task task, String rootDirName) {
|
||||
'-Duser.country=US',
|
||||
'-Duser.language=en',
|
||||
'-Djdk.attach.allowAttachSelf',
|
||||
'-javaagent:' + jmockitPath,
|
||||
'-noverify',
|
||||
'-XX:TieredStopAtLevel=1',
|
||||
'-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=' + debugPort,
|
||||
|
||||
Reference in New Issue
Block a user