Remove injected bug
Removes an abort that was injected to confirm that a fuzzer target was
working.
Bug: https://crbug.com/1246587
Change-Id: Ibe5270eacb3dfa2832b5de4c1fcf7b220af91fcc
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/66121
Auto-Submit: Alastair Donaldson <afdx@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
diff --git a/fuzzers/tint_black_box_fuzz_target.cc b/fuzzers/tint_black_box_fuzz_target.cc
index 96b1586..95ed578 100644
--- a/fuzzers/tint_black_box_fuzz_target.cc
+++ b/fuzzers/tint_black_box_fuzz_target.cc
@@ -97,13 +97,7 @@
if (target_format == "hlsl") {
tint::fuzzers::CommonFuzzer fuzzer(tint::fuzzers::InputFormat::kWGSL,
tint::fuzzers::OutputFormat::kHLSL);
- int result = fuzzer.Run(data.data(), data.size());
- if (result == 0) {
- // TODO(afdx): Deliberate temporary abort to check that ClusterFuzz black
- // box fuzzer target is working
- abort();
- }
- return result;
+ return fuzzer.Run(data.data(), data.size());
} else if (target_format == "msl") {
tint::fuzzers::DataBuilder builder(data.data(), data.size());
tint::writer::msl::Options options;