projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ir: make sure you can't add a SC to a trace with a native BO
[babeltrace.git]
/
tests
/
lib
/
test_ctf_ir_ref.c
diff --git
a/tests/lib/test_ctf_ir_ref.c
b/tests/lib/test_ctf_ir_ref.c
index 3726b44bd604f37a0fc45f7c984cfde2a326c145..f6a8253fdc5362c9b36e8ce1a017c780b787923b 100644
(file)
--- a/
tests/lib/test_ctf_ir_ref.c
+++ b/
tests/lib/test_ctf_ir_ref.c
@@
-306,6
+306,9
@@
static struct bt_ctf_trace *create_tc1(void)
goto error;
}
+ ret = bt_ctf_trace_set_native_byte_order(tc1,
+ BT_CTF_BYTE_ORDER_LITTLE_ENDIAN);
+ assert(ret == 0);
sc1 = create_sc1();
ok(sc1, "Create SC1");
if (!sc1) {
This page took
0.024821 seconds
and
4
git commands to generate.