mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 11:55:59 +08:00
GP-6385: Setting failOnNoDiscoveredTests for Gradle tests (in the right
place this time)
This commit is contained in:
@@ -132,6 +132,10 @@ def initTestJVM(Task task, String rootDirName) {
|
|||||||
// If false, testing will halt when an error is found.
|
// If false, testing will halt when an error is found.
|
||||||
task.ignoreFailures = true
|
task.ignoreFailures = true
|
||||||
|
|
||||||
|
// Whether or failure should occur if tests sources are present, but no tests are discovered
|
||||||
|
// during test execution. New for Gradle 9 (behavior is equivalent to false on Gradle 8).
|
||||||
|
task.failOnNoDiscoveredTests = false
|
||||||
|
|
||||||
// If false, then tests are re-run every time, even if no code has changed.
|
// If false, then tests are re-run every time, even if no code has changed.
|
||||||
task.outputs.upToDateWhen {false}
|
task.outputs.upToDateWhen {false}
|
||||||
|
|
||||||
|
|||||||
@@ -300,10 +300,6 @@ def initTestJVM(Task task, String rootDirName) {
|
|||||||
// If false, testing will halt when an error is found.
|
// If false, testing will halt when an error is found.
|
||||||
task.ignoreFailures true
|
task.ignoreFailures true
|
||||||
|
|
||||||
// Whether or failure should occur if tests sources are present, but no tests are discovered
|
|
||||||
// during test execution. New for Gradle 9 (behavior is equivalent to false on Gradle 8).
|
|
||||||
task.failOnNoDiscoveredTests = false
|
|
||||||
|
|
||||||
// If false, then tests are re-run every time, even if no code has changed.
|
// If false, then tests are re-run every time, even if no code has changed.
|
||||||
task.outputs.upToDateWhen {false}
|
task.outputs.upToDateWhen {false}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user