Skip to content

Commit 0a443fa

Browse files
author
Stewart Miles
committed
Fixed incremental test execution.
The Unity test execution task did not depend upon the test input files so it would not execute unless the output log file did not exist. This change will execute Unity tests when the input files are newer than the output log file. Bug: 132354085 Change-Id: Ib3e2cf0809ee872f246b5bf176b8e2ea5a57c5e5
1 parent d8d6cbf commit 0a443fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,7 @@ Task createUnityTask(String taskName, String summary,
807807
summary, projectName),
808808
type: Exec,
809809
dependsOn: dependsOn).with {
810+
inputs.files fileTree(projectDir)
810811
outputs.files files(logFile)
811812
executable project.ext.unityExe
812813
args executeArguments

0 commit comments

Comments
 (0)