aboutsummaryrefslogtreecommitdiff
path: root/test/fuzz/fuzzer_shrinker_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzz/fuzzer_shrinker_test.cpp')
-rw-r--r--test/fuzz/fuzzer_shrinker_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fuzz/fuzzer_shrinker_test.cpp b/test/fuzz/fuzzer_shrinker_test.cpp
index 85f41bc0..3796bbfb 100644
--- a/test/fuzz/fuzzer_shrinker_test.cpp
+++ b/test/fuzz/fuzzer_shrinker_test.cpp
@@ -158,6 +158,7 @@ void RunFuzzerAndShrinker(const std::string& shader,
std::vector<uint32_t> binary_in;
SpirvTools t(env);
+ t.SetMessageConsumer(kConsoleMessageConsumer);
ASSERT_TRUE(t.Assemble(shader, &binary_in, kFuzzAssembleOption));
ASSERT_TRUE(t.Validate(binary_in));