compiler: Produce unified output on diff failure

This includes the file names and context, which is soo much nicer.
This commit is contained in:
Eric Anderson 2017-08-25 15:40:02 -07:00
parent 24ff2748b7
commit 32cd4a0660
1 changed files with 1 additions and 0 deletions

View File

@ -279,6 +279,7 @@ def configureTestTask(Task task, String dep, String extraPackage) {
task.dependsOn "generateTest${dep}Proto" task.dependsOn "generateTest${dep}Proto"
if (osdetector.os != 'windows') { if (osdetector.os != 'windows') {
task.executable "diff" task.executable "diff"
task.args "-u"
} else { } else {
task.executable "fc" task.executable "fc"
} }