File tree Expand file tree Collapse file tree 3 files changed +3
-25
lines changed Expand file tree Collapse file tree 3 files changed +3
-25
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
34
34
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
35
35
RUNTIME_CLASSPATH=$( echo $ALL_JARS | xargs printf -- " \$ this_dir/%s:" ) :\$ this_dir
36
36
37
- for fuzzer in $( find $SRC -name ' *Fuzzer.java' )
37
+ for fuzzer in $( find $SRC -maxdepth 1 - name ' *Fuzzer.java' )
38
38
do
39
39
fuzzer_basename=$( basename -s .java $fuzzer )
40
40
javac -cp $BUILD_CLASSPATH $fuzzer
Original file line number Diff line number Diff line change 18
18
# Move seed corpus and dictionary.
19
19
mv $SRC /{* .zip,* .dict} $OUT
20
20
21
-
22
- cat > patch.diff << - EOM
23
- diff --git a/pom.xml b/pom.xml
24
- index 3e29db9..c79e086 100644
25
- --- a/pom.xml
26
- +++ b/pom.xml
27
- @@ -206,8 +206,8 @@ SAX2 and Stax2 APIs
28
- <plugin>
29
- <artifactId>maven-compiler-plugin</artifactId>
30
- <configuration>
31
- - <source>1.6</source>
32
- - <target>1.6</target>
33
- + <source>15</source>
34
- + <target>15</target>
35
- <!--
36
- <excludes>
37
- <exclude>test/**</exclude>
38
- EOM
39
-
40
- git apply patch.diff
41
-
42
-
43
21
MAVEN_ARGS=" -Djavac.src.version=15 -Djavac.target.version=15 -DskipTests"
44
22
$MVN package org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade $MAVEN_ARGS
45
23
CURRENT_VERSION=$( $MVN org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate \
@@ -55,7 +33,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
55
33
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
56
34
RUNTIME_CLASSPATH=$( echo $ALL_JARS | xargs printf -- " \$ this_dir/%s:" ) :\$ this_dir
57
35
58
- for fuzzer in $( find $SRC -name ' *Fuzzer.java' ) ; do
36
+ for fuzzer in $( find $SRC -maxdepth 1 - name ' *Fuzzer.java' ) ; do
59
37
fuzzer_basename=$( basename -s .java $fuzzer )
60
38
javac -cp $BUILD_CLASSPATH $fuzzer
61
39
cp $SRC /$fuzzer_basename .class $OUT /
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ BUILD_CLASSPATH=$(echo $ALL_JARS | xargs printf -- "$OUT/%s:"):$JAZZER_API_PATH
42
42
# All .jar and .class files lie in the same directory as the fuzzer at runtime.
43
43
RUNTIME_CLASSPATH=$( echo $ALL_JARS | xargs printf -- " \$ this_dir/%s:" ) :\$ this_dir
44
44
45
- for fuzzer in $( find $SRC -name ' *Fuzzer.java' ) ; do
45
+ for fuzzer in $( find $SRC -maxdepth 1 - name ' *Fuzzer.java' ) ; do
46
46
fuzzer_basename=$( basename -s .java $fuzzer )
47
47
javac -cp $BUILD_CLASSPATH $fuzzer
48
48
cp $SRC /$fuzzer_basename .class $OUT /
You can’t perform that action at this time.
0 commit comments