Remove manual denylisting in tensorflow (#5210)

* Remove manual denylisting in tensorflow

Remove manual denylisting of fuzzing targets using bazel query via tags.

* Add a space in the bazel query.

* Update the tag we should denylist.

* Update the comment.
This commit is contained in:
Amit Patankar 2021-02-17 18:30:47 -08:00 committed by GitHub
parent 587a0bde3f
commit 4f3158373d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ fi
# Determine all fuzz targets. To control what gets fuzzed with OSSFuzz, all
# supported fuzzers are in `//tensorflow/security/fuzzing`.
# Ignore the identity and AttrValues fuzzer in opensource.
declare -r FUZZERS=$(bazel query 'kind(cc_.*, tests(//tensorflow/security/fuzzing/...))' | grep -v identity | grep -v AttrValues | grep -v bfloat16)
# Ignore fuzzers tagged with `no_oss` in opensource.
declare -r FUZZERS=$(bazel query 'kind(cc_.*, tests(//tensorflow/security/fuzzing/...)) - attr(tags, no_oss, kind(cc_.*, tests(//tensorflow/security/fuzzing/...)))')
# Build the fuzzer targets.
# Pass in `--config=libc++` to link against libc++.