From 351292919949910c18fcce9e548872b6f4dd9267 Mon Sep 17 00:00:00 2001 From: Hadi Ravanbakhsh Date: Mon, 16 Dec 2024 13:49:24 -0800 Subject: [PATCH] No public description PiperOrigin-RevId: 706824465 --- centipede/centipede_interface.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/centipede/centipede_interface.cc b/centipede/centipede_interface.cc index 9de30d57..55307e3b 100644 --- a/centipede/centipede_interface.cc +++ b/centipede/centipede_interface.cc @@ -721,9 +721,10 @@ int CentipedeMain(const Environment &env, callbacks_factory); } } else if (std::getenv("CENTIPEDE_NO_FUZZ_IF_NO_CONFIG") != nullptr) { - // Target config is empty when the shard does not contain any fuzz tests. - LOG(INFO) << "No fuzz test found!"; - return EXIT_SUCCESS; + // TODO(fniksic): Improve the GetSerializedTargetConfig interface to avoid + // using the environment variable. + LOG(INFO) << "Failed to get target config!"; + return EXIT_FAILURE; } }