We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8a0edd commit 5a5fab7Copy full SHA for 5a5fab7
devtools/bundled_program/bundled_program.cpp
@@ -361,6 +361,11 @@ ET_NODISCARD Error verify_method_outputs(
361
auto bundled_expected_outputs =
362
method_test.get()->test_cases()->Get(testset_idx)->expected_outputs();
363
364
+ if (bundled_expected_outputs->size() == 0) {
365
+ // No bundled expected outputs, so we can't verify the method outputs.
366
+ return Error::NotSupported;
367
+ }
368
+
369
for (size_t output_idx = 0; output_idx < method.outputs_size();
370
output_idx++) {
371
auto bundled_expected_output =
0 commit comments