aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFabian Meumertzheim <fabian@meumertzhe.im>2021-10-15 13:13:16 +0200
committerFabian Meumertzheim <fabian@meumertzhe.im>2021-10-18 22:31:42 +0200
commit4f927393352b16b4ed3544d743734e4959973c0c (patch)
tree7903149577daa784cdb78f878f567bdba2168d11 /examples
parent1ab9344e099e33c8341519317adc068b9ae39724 (diff)
downloadjazzer-api-4f927393352b16b4ed3544d743734e4959973c0c.tar.gz
Use target_compatible_with instead of filters
Diffstat (limited to 'examples')
-rw-r--r--examples/BUILD.bazel9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/BUILD.bazel b/examples/BUILD.bazel
index d721b81d..568103ee 100644
--- a/examples/BUILD.bazel
+++ b/examples/BUILD.bazel
@@ -1,5 +1,6 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@fmeum_rules_jni//jni:defs.bzl", "java_library_with_native")
+load("//bazel:compat.bzl", "SKIP_ON_MACOS")
load("//bazel:fuzz_target.bzl", "java_fuzz_target_test")
java_fuzz_target_test(
@@ -82,9 +83,9 @@ java_fuzz_target_test(
srcs = [
"src/main/java/com/example/ExampleStackOverflowFuzzer.java",
],
- # Crashes with a segfault before any stack trace printing is reached.
- tags = ["broken-on-darwin"],
target_class = "com.example.ExampleStackOverflowFuzzer",
+ # Crashes with a segfault before any stack trace printing is reached.
+ target_compatible_with = SKIP_ON_MACOS,
)
java_fuzz_target_test(
@@ -97,9 +98,9 @@ java_fuzz_target_test(
"--jvm_args=-Dfoo=foo;-Dbar=bar",
"--additional_jvm_args=-Dbaz=baz",
],
- # The exit codes of the forked libFuzzer processes are not picked up correctly.
- tags = ["broken-on-darwin"],
target_class = "com.example.JpegImageParserFuzzer",
+ # The exit codes of the forked libFuzzer processes are not picked up correctly.
+ target_compatible_with = SKIP_ON_MACOS,
deps = [
"@maven//:org_apache_commons_commons_imaging",
],