Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Unified Diff: testing/libfuzzer/tests/BUILD.gn

Issue 1703523002: [libfuzzer] support of custom libfuzzer options via .options file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: testing/libfuzzer/tests/BUILD.gn
diff --git a/testing/libfuzzer/tests/BUILD.gn b/testing/libfuzzer/tests/BUILD.gn
index 7c74ffdec6c73beb80b1662ffb2ccfcfd6b2c953..550a52fcb9dac65233bfe0847583a517984587a5 100644
--- a/testing/libfuzzer/tests/BUILD.gn
+++ b/testing/libfuzzer/tests/BUILD.gn
@@ -12,7 +12,9 @@ test("libfuzzer_tests") {
"fuzzer_launcher_test.cc",
]
deps = [
+ ":test_dict_and_params_launcher.sh",
":test_dict_launcher.sh",
+ ":test_params_launcher.sh",
"//base",
"//testing/gmock",
"//testing/gtest",
@@ -28,6 +30,17 @@ fuzzer_test_launcher("test_dict_launcher.sh") {
dict = "test_dict"
}
+fuzzer_test_launcher("test_params_launcher.sh") {
+ fuzzer_name = "print_args.py"
+ params = "-test_param=test_value"
+}
+
+fuzzer_test_launcher("test_dict_and_params_launcher.sh") {
+ fuzzer_name = "print_args.py"
+ dict = "test_dict"
+ params = "-test_param=test_value"
+}
+
copy("print_args") {
sources = [
"print_args.py",

Powered by Google App Engine
This is Rietveld 408576698