Don't check for memory leaks in fuzzer tests.
diff --git a/examples/fuzzer_test.h b/examples/fuzzer_test.h
index 48af2fe..349af18 100644
--- a/examples/fuzzer_test.h
+++ b/examples/fuzzer_test.h
@@ -38,11 +38,13 @@
}
int RunFuzzer(const std::string& name, int max_len, int runs) {
- std::string cmd = "./" + name;
- cmd += " -max_len=" + std::to_string(500);
+ std::string cmd = "ASAN_OPTIONS=detect_leaks=0 ./" + name;
+ cmd += " -detect_leaks=0";
+ cmd += " -max_len=" + std::to_string(max_len);
cmd += " -runs=" + std::to_string(runs);
cmd += " -artifact_prefix=" + dir_;
cmd += " " + dir_;
+ fprintf(stderr, "%s \n", cmd.c_str());
return std::system(cmd.c_str());
}