mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-22 04:21:56 +08: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 {
|
||||
reportOn this.project.test
|
||||
}
|
||||
rootProject.integrationTestReport {
|
||||
reportOn this.project.integrationTest
|
||||
}
|
||||
rootProject.pcodeTestReport {
|
||||
reportOn this.project.pcodeTest
|
||||
}
|
||||
|
||||
@@ -331,6 +331,17 @@ task unitTestReport(type: TestReport) { t ->
|
||||
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