Skip to content

Commit

Permalink
Skip FuzzedDataProvider test with non-clang CC
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Aug 16, 2021
1 parent 265dbb9 commit 23863aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

config_setting(
name = "clang",
flag_values = {"@bazel_tools//tools/cpp:compiler": "clang"},
)
4 changes: 4 additions & 0 deletions examples/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ cc_fuzz_test(
cc_fuzz_test(
name = "fuzzed_data_provider_fuzz_test",
srcs = ["fuzzed_data_provider_fuzz_test.cc"],
target_compatible_with = select({
"//:clang": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
)

cc_fuzz_test(
Expand Down

0 comments on commit 23863aa

Please sign in to comment.