Skip to content
Snippets Groups Projects

Log an issue if we don't know which shared libraries to expect

Merged Simon McVittie requested to merge wip/smcv/unknown-expectations into master
Files
7
+ 4
1
@@ -185,6 +185,9 @@ jsonify_library_issues (JsonBuilder *builder,
if ((issues & SRT_LIBRARY_ISSUES_INTERNAL_ERROR) != 0)
json_builder_add_string_value (builder, "internal-error");
if ((issues & SRT_LIBRARY_ISSUES_UNKNOWN_EXPECTATIONS) != 0)
json_builder_add_string_value (builder, "unknown-expectations");
}
static void
@@ -316,7 +319,7 @@ main (int argc,
can_run = srt_system_info_can_run (info, multiarch_tuples[i]);
json_builder_add_boolean_value (builder, can_run);
if (can_run && expectations != NULL)
if (can_run)
{
json_builder_set_member_name (builder, "library-issues-summary");
json_builder_begin_array (builder);
Loading