mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02: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:
parent
1dfda0d419
commit
03ec2ef569
2 changed files with 14 additions and 0 deletions
|
@ -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}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*********************************************************************************
|
/*********************************************************************************
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue