aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Teju Nareddy <nareddyt@google.com>2020-07-01 19:56:39 -0400
committerGravatar GitHub <noreply@github.com>2020-07-01 16:56:39 -0700
commitf8c7f158f7ad5181cee9dcb0a46b84664fe370b9 (patch)
tree291d31f5a15558f741d121d1352c503f4d5e3cfb
parentfa5b4dbd9aeca77a90aaa11417ef8153ac9e49d9 (diff)
[ESPv2] Attempt to fix coverage build (#4062)
Currently, coverage builds fail on step 3 with: ``` Step #3: + rsync -avLkR --include '*.h' --include '*.cc' --include '*.hpp' --include '*.cpp' --include '*.c' --include '*/' --exclude '*' /tmp /workspace/out/coverage Step #3: sending incremental file list Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/ares/include/ares_build.h" Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/ares/include/ares_dns.h" Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/ares/include/ares.h" Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/ares/include/ares_rules.h" Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/ares/include/ares_version.h" Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/include/sha1.c" Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/include/gcm_nohw.c" Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/include/digests.c" ... ``` Just exclude these files. Doubt they matter to us. Ref: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23621&q=esp-v2&can=2 Signed-off-by: Teju Nareddy <nareddyt@google.com>
-rwxr-xr-xprojects/esp-v2/build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/esp-v2/build.sh b/projects/esp-v2/build.sh
index 6f9bc782..8a214e16 100755
--- a/projects/esp-v2/build.sh
+++ b/projects/esp-v2/build.sh
@@ -94,7 +94,9 @@ then
"*.hpp" "--include" "*.cpp" "--include" "*.c" "--include" "*/" "--exclude" "*")
rsync -avLk "${RSYNC_FILTER_ARGS[@]}" "${SRC}"/esp-v2/bazel-out "${REMAP_PATH}"
rsync -avLkR "${RSYNC_FILTER_ARGS[@]}" "${HOME}" "${OUT}"
- rsync -avLkR "${RSYNC_FILTER_ARGS[@]}" /tmp "${OUT}"
+ # Some low-level libraries are built located /tmp.
+ # But ESPv2 engineeers don't really look at them.
+ # rsync -avLkR "${RSYNC_FILTER_ARGS[@]}" /tmp "${OUT}"
fi
# Copy out test driverless binaries from bazel-bin/.