Add test.disable_update to turn off auto update for debugging

This commit is contained in:
Pavel Punegov
2018-08-17 13:10:57 +03:00
committed by Pavel Punegov
parent 7c2126fa9d
commit 5ce370bc11
+4 -1
View File
@@ -206,7 +206,10 @@ def createTestTasks(File testRoot, Class<Task> taskType, Closure taskConfigurati
}
task run_external () {
update_external_tests()
// Set this property to disable auto update tests
if (!project.hasProperty("test.disable_update")) {
update_external_tests()
}
// Create tasks for external tests.
createTestTasks(externalTestsDir, RunExternalTestGroup) { }