fix fuzz test module_out_path

Match-id-b7109da7c7d9303c5112fbe571037d49e3e45d0c
This commit is contained in:
zhaoguojian 2023-09-21 16:42:46 +08:00
parent d7b801f212
commit 76fff198fd
7 changed files with 7 additions and 18 deletions

View File

@ -12,3 +12,4 @@
# limitations under the License.
sg_root_dir = "//base/security/security_guard"
fuzz_test_output_path = "security_guard/security_guard"

View File

@ -15,10 +15,8 @@ import("//base/security/security_guard/security_guard.gni")
import("//build/config/features.gni")
import("//build/test.gni")
module_output_path = "security_guard/classify"
ohos_fuzztest("RequestSecurityModelResultAsyncFuzzTest") {
module_out_path = module_output_path
module_out_path = fuzz_test_output_path
fuzz_config_file = "${sg_root_dir}/test/fuzztest/classify/requestsecuritymodelresultasync_fuzzer"
include_dirs = [

View File

@ -15,10 +15,8 @@ import("//base/security/security_guard/security_guard.gni")
import("//build/config/features.gni")
import("//build/test.gni")
module_output_path = "security_guard/classify"
ohos_fuzztest("RequestSecurityModelResultSyncFuzzTest") {
module_out_path = module_output_path
module_out_path = fuzz_test_output_path
fuzz_config_file = "${sg_root_dir}/test/fuzztest/classify/requestsecuritymodelresultsync_fuzzer"
include_dirs = [

View File

@ -15,10 +15,8 @@ import("//base/security/security_guard/security_guard.gni")
import("//build/config/features.gni")
import("//build/test.gni")
module_output_path = "security_guard/collect"
ohos_fuzztest("ReportSecurityInfoFuzzTest") {
module_out_path = module_output_path
module_out_path = fuzz_test_output_path
fuzz_config_file =
"${sg_root_dir}/test/fuzztest/collect/reportsecurityinfo_fuzzer"

View File

@ -15,10 +15,8 @@ import("//base/security/security_guard/security_guard.gni")
import("//build/config/features.gni")
import("//build/test.gni")
module_output_path = "security_guard/ipc"
ohos_fuzztest("DataCollectManagerFuzzTest") {
module_out_path = module_output_path
module_out_path = fuzz_test_output_path
fuzz_config_file = "${sg_root_dir}/test/fuzztest/ipc/datacollectmanager_fuzzer"
include_dirs = [

View File

@ -15,10 +15,8 @@ import("//base/security/security_guard/security_guard.gni")
import("//build/config/features.gni")
import("//build/test.gni")
module_output_path = "security_guard/ipc"
ohos_fuzztest("RiskAnalysisManagerFuzzTest") {
module_out_path = module_output_path
module_out_path = fuzz_test_output_path
fuzz_config_file = "${sg_root_dir}/test/fuzztest/ipc/riskanalysismanager_fuzzer"
include_dirs = [

View File

@ -15,10 +15,8 @@ import("//base/security/security_guard/security_guard.gni")
import("//build/config/features.gni")
import("//build/test.gni")
module_output_path = "security_guard/obtaindata"
ohos_fuzztest("RequestSecurityEventInfoAsyncFuzzTest") {
module_out_path = module_output_path
module_out_path = fuzz_test_output_path
fuzz_config_file = "${sg_root_dir}/test/fuzztest/obtaindata/requestsecurityeventinfoasync_fuzzer"
include_dirs = [