cleanup logging
diff --git a/releng.wtpbuilder/scripts/build/checkForFastFail.xml b/releng.wtpbuilder/scripts/build/checkForFastFail.xml index 3c5ac86..06942bc 100644 --- a/releng.wtpbuilder/scripts/build/checkForFastFail.xml +++ b/releng.wtpbuilder/scripts/build/checkForFastFail.xml
@@ -70,7 +70,7 @@ errorproperty="ignoredErrored" error="/dev/null" failonerror="false"> - <arg line="-s --max-count 1 --after-context 10 --before-context 10 --regexp='${stringToCheck}' ${resource}"/> + <arg line="-s --max-count 1 --after-context 20 --before-context 10 --regexp='${stringToCheck}' ${resource}"/> </exec> <!-- it appears the exec, at least for grep, returns an empty string if no match @@ -94,7 +94,7 @@ <property name="formatedReasonFailedText" - value="FAST FAIL CHECK found matching string '${stringToCheck}'${line.separator}----------------${line.separator}Context of matching text leading to fast fail: ${line.separator}----------------${line.separator}${reasonFailedText}${line.separator}----------------${line.separator}"/> + value="FAST FAIL CHECK found matching string '${stringToCheck}'${line.separator}----------------${line.separator}Context of matching text leading to fast fail (-10 to +20 lines, see ${resource} if reason not obvious from context): ${line.separator}----------------${line.separator}${reasonFailedText}${line.separator}----------------${line.separator}"/> <!-- be sure to echo reason msg to log --> <!-- TODO: we could write this to a file, and make available from download page -->