mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Added P-Code Test framework to facilitate semantic verification through
emulation
This commit is contained in:
parent
7c5523362c
commit
dd15435371
85 changed files with 7756 additions and 46 deletions
|
@ -64,16 +64,16 @@ task integrationTest (type: Test) { t ->
|
|||
}
|
||||
}
|
||||
|
||||
task cunitTest (type: Test) { t ->
|
||||
group "cunit"
|
||||
task pcodeTest (type: Test) { t ->
|
||||
group "pcodeTest"
|
||||
dependsOn { project(":FunctionID").unpackFidDatabases }
|
||||
testClassesDirs = files sourceSets.cunitTest.output.classesDirs
|
||||
classpath = sourceSets.cunitTest.runtimeClasspath
|
||||
testClassesDirs = files sourceSets.pcodeTest.output.classesDirs
|
||||
classpath = sourceSets.pcodeTest.runtimeClasspath
|
||||
|
||||
// Enable if you want to force Gradle to launch a new JVM for each test.
|
||||
forkEvery 1
|
||||
|
||||
initTestJVM(t, rootProject.ext.cunitTestRootDirName)
|
||||
initTestJVM(t, rootProject.ext.pcodeTestRootDirName)
|
||||
|
||||
doFirst {
|
||||
startTestTimer(t)
|
||||
|
@ -86,8 +86,8 @@ task cunitTest (type: Test) { t ->
|
|||
rootProject.unitTestReport {
|
||||
reportOn this.project.test
|
||||
}
|
||||
rootProject.cunitTestReport {
|
||||
reportOn this.project.cunitTest
|
||||
rootProject.pcodeTestReport {
|
||||
reportOn this.project.pcodeTest
|
||||
}
|
||||
rootProject.combinedTestReport {
|
||||
reportOn this.project.test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue