ir: make sure you can't add a SC to a trace with a native BO
[babeltrace.git] / tests / lib / test_bt_ctf_field_type_validation.c
index 27c188146cbebfa2cfa3dfe266cf4d0e73d6762a..065d367b696d796c4ee81cafb515206b60cf9d0c 100644 (file)
@@ -2069,6 +2069,9 @@ void test_pass(void)
 
        trace = bt_ctf_trace_create();
        assert(trace);
+       ret = bt_ctf_trace_set_native_byte_order(trace,
+               BT_CTF_BYTE_ORDER_LITTLE_ENDIAN);
+       assert(ret == 0);
        sc = bt_ctf_stream_class_create("nice_piece_of_stream_class");
        assert(sc);
        ec = bt_ctf_event_class_create("oh_what_an_event_class");
This page took 0.023907 seconds and 4 git commands to generate.