projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: Unchecked return value in test_ctf_writer
[babeltrace.git]
/
tests
/
lib
/
test_ctf_writer.c
diff --git
a/tests/lib/test_ctf_writer.c
b/tests/lib/test_ctf_writer.c
index 5f173aff32287a69e6958c3b73b29e98616a874d..9d92aa61c1d9b70db1d8b1c3a328a0b616e11af3 100644
(file)
--- a/
tests/lib/test_ctf_writer.c
+++ b/
tests/lib/test_ctf_writer.c
@@
-59,7
+59,7
@@
#define DEFAULT_CLOCK_TIME 0
#define DEFAULT_CLOCK_VALUE 0
#define DEFAULT_CLOCK_TIME 0
#define DEFAULT_CLOCK_VALUE 0
-#define NR_TESTS 60
5
+#define NR_TESTS 60
6
static int64_t current_time = 42;
static int64_t current_time = 42;
@@
-493,7
+493,8
@@
void append_simple_event(struct bt_ctf_stream_class *stream_class,
"bt_ctf_event_class_get_context_type returns the appropriate type");
bt_put(returned_type);
"bt_ctf_event_class_get_context_type returns the appropriate type");
bt_put(returned_type);
- bt_ctf_stream_class_add_event_class(stream_class, simple_event_class);
+ ok(!bt_ctf_stream_class_add_event_class(stream_class, simple_event_class),
+ "Adding simple event class to stream class");
/*
* bt_ctf_stream_class_add_event_class() copies the field types
/*
* bt_ctf_stream_class_add_event_class() copies the field types
This page took
0.026132 seconds
and
4
git commands to generate.