File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
src/main/java/com/code_intelligence/jazzer Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,21 @@ sh_test(
9191 deps = ["@bazel_tools//tools/bash/runfiles" ],
9292)
9393
94+ sh_test (
95+ name = "jazzer_standalone_version_test" ,
96+ srcs = ["jazzer_version_test.sh" ],
97+ data = [
98+ "//src/main/java/com/code_intelligence/jazzer:jazzer_standalone_deploy.jar" ,
99+ "@bazel_tools//tools/jdk:current_java_runtime" ,
100+ ],
101+ env = {
102+ "JAVA_EXECPATH" : "$(JAVA)" ,
103+ "JAZZER_RLOCATIONPATH" : "$(rlocationpath //src/main/java/com/code_intelligence/jazzer:jazzer_standalone_deploy.jar)" ,
104+ },
105+ toolchains = ["@bazel_tools//tools/jdk:current_java_runtime" ],
106+ deps = ["@bazel_tools//tools/bash/runfiles" ],
107+ )
108+
94109[
95110 sh_test (
96111 name = artifact + "_artifact_test" ,
Original file line number Diff line number Diff line change @@ -8,9 +8,12 @@ load("//sanitizers:sanitizers.bzl", "SANITIZER_CLASSES")
88java_binary (
99 name = "jazzer_standalone" ,
1010 create_executable = False ,
11- main_class = "com.code_intelligence.jazzer.Jazzer" ,
11+ deploy_manifest_lines = [
12+ "Main-Class: com.code_intelligence.jazzer.Jazzer" ,
13+ ],
1214 visibility = [
1315 "//:__pkg__" ,
16+ "//deploy:__pkg__" ,
1417 "//launcher:__pkg__" ,
1518 ],
1619 runtime_deps = [
You can’t perform that action at this time.
0 commit comments