mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Add integrationTestReport task
This task will run integrationTest task and save all test reports in the $reportDir/integrationTestReports folder This was requested in #832 by @adamopolous
This commit is contained in:
@@ -86,6 +86,9 @@ task pcodeTest (type: Test) { t ->
|
|||||||
rootProject.unitTestReport {
|
rootProject.unitTestReport {
|
||||||
reportOn this.project.test
|
reportOn this.project.test
|
||||||
}
|
}
|
||||||
|
rootProject.integrationTestReport {
|
||||||
|
reportOn this.project.integrationTest
|
||||||
|
}
|
||||||
rootProject.pcodeTestReport {
|
rootProject.pcodeTestReport {
|
||||||
reportOn this.project.pcodeTest
|
reportOn this.project.pcodeTest
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -331,6 +331,17 @@ task unitTestReport(type: TestReport) { t ->
|
|||||||
outputs.upToDateWhen {false}
|
outputs.upToDateWhen {false}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*********************************************************************************
|
||||||
|
* INTEGRATION TEST REPORT
|
||||||
|
*
|
||||||
|
* Summary: Runs all integration tests and generates a single report.
|
||||||
|
*
|
||||||
|
*********************************************************************************/
|
||||||
|
task integrationTestReport(type: TestReport) { t ->
|
||||||
|
group "test"
|
||||||
|
destinationDir = file("$reportDir/integrationTests")
|
||||||
|
outputs.upToDateWhen {false}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*********************************************************************************
|
/*********************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user