From ddb88e18e4c3da21e1faef941d119ef1e4582ef6 Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Wed, 6 Nov 2019 08:17:01 +0100 Subject: [PATCH] Improve spurious rebuild checks --- taskcluster/tc-tests-utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskcluster/tc-tests-utils.sh b/taskcluster/tc-tests-utils.sh index e06c385ee8..fedd9a092c 100755 --- a/taskcluster/tc-tests-utils.sh +++ b/taskcluster/tc-tests-utils.sh @@ -783,7 +783,7 @@ verify_bazel_rebuild() cp ${DS_ROOT_TASK}/DeepSpeech/tf/bazel*.log ${TASKCLUSTER_ARTIFACTS}/ - spurious_rebuilds=$(grep 'Executing action' "${bazel_explain_file}" | grep 'Compiling' | grep -v -E 'no entry in the cache|unconditional execution is requested' | wc -l) + spurious_rebuilds=$(grep 'Executing action' "${bazel_explain_file}" | grep 'Compiling' | grep -v -E 'no entry in the cache|unconditional execution is requested|Executing genrule //native_client:workspace_status|Compiling native_client/workspace_status.cc|Linking native_client/libdeepspeech.so' | wc -l) if [ "${spurious_rebuilds}" -ne 0 ]; then echo "Bazel rebuilds some file it should not, please check."