Skip to content

Commit 63a5f8d

Browse files
oetrsimonresch
andcommitted
chore: use fuzz test corpus in regression mode
Co-authored-by: Simon Resch <simon.resch@code-intelligence.com>
1 parent 77c2cee commit 63a5f8d

5 files changed

Lines changed: 9 additions & 1 deletion

File tree

selffuzz/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
.cifuzz-corpus/
33
.cifuzz-findings/
44
target/
5-
src/test/resources/

selffuzz/src/test/java/com/code_intelligence/selffuzz/mutation/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ java_fuzz_target_test(
88
"ConstructorPropertiesAnnotatedBean.java",
99
"ImmutableBuilder.java",
1010
],
11+
data = ["//selffuzz/src/test/resources:ArgumentsMutatorFuzzTest-corpus"],
1112
fuzzer_args = [
1213
# Make sure that the fuzzer can run. Longer fuzzing runs will be done in a separate GH action.
1314
"-runs=10000",
15+
"$(rlocationpaths //selffuzz/src/test/resources:ArgumentsMutatorFuzzTest-corpus)",
1416
],
1517
target_class = "com.code_intelligence.selffuzz.mutation.ArgumentsMutatorFuzzTest",
1618
deps = [
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.corpus/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
filegroup(
2+
name = "ArgumentsMutatorFuzzTest-corpus",
3+
srcs = [".corpus/ArgumentsMutatorFuzzTest"],
4+
visibility = ["//selffuzz/src/test/java/com/code_intelligence/selffuzz/mutation:__pkg__"],
5+
)

0 commit comments

Comments
 (0)