Logging: pass dynamic log level to common functions and subsystems
[babeltrace.git] / tests / lib / test_plugin.c
index 852b26fbf26039b04f76a67c6b16855e886c228e..bd96bd0b195de21fe37ace5c435853fff63a31bf 100644 (file)
@@ -19,7 +19,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
-#include <babeltrace2/assert-internal.h>
+#include "common/assert.h"
 #include <glib.h>
 #include "tap/tap.h"
 #include "common.h"
@@ -195,7 +195,7 @@ static void test_sfs(const char *plugin_dir)
        graph = bt_graph_create();
        BT_ASSERT(graph);
        graph_ret = bt_graph_add_sink_component(graph, sink_comp_class,
-               "the-sink", NULL, &sink_component);
+               "the-sink", NULL, BT_LOGGING_LEVEL_NONE, &sink_component);
        ok(graph_ret == BT_GRAPH_STATUS_OK && sink_component,
                "bt_graph_add_sink_component() still works after the plugin object is destroyed");
        BT_COMPONENT_SINK_PUT_REF_AND_RESET(sink_component);
This page took 0.02581 seconds and 4 git commands to generate.