diff options
author | Bert Vermeulen <bert@biot.com> | 2013-12-11 18:36:42 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-12-11 18:36:42 +0100 |
commit | 554a49f9df0ee8c57d7fae64515cf57d622b0511 (patch) | |
tree | 34fb8309bd2ca2770f8366fefd75550b1f118a99 /tests/check_inst.c | |
parent | ea81b49a3ca4fff4994693d30045d51b86181e32 (diff) | |
download | libsigrokdecode-554a49f9df0ee8c57d7fae64515cf57d622b0511.tar.gz libsigrokdecode-554a49f9df0ee8c57d7fae64515cf57d622b0511.zip |
check: Make sure to test this set of decoders, not the installed ones.
Diffstat (limited to 'tests/check_inst.c')
-rw-r--r-- | tests/check_inst.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/check_inst.c b/tests/check_inst.c index 25adc4f..87dbe91 100644 --- a/tests/check_inst.c +++ b/tests/check_inst.c @@ -41,7 +41,7 @@ START_TEST(test_inst_new) struct srd_session *sess; struct srd_decoder_inst *inst; - srd_init(NULL); + srd_init(DECODERS_DIR); srd_decoder_load("uart"); srd_session_new(&sess); inst = srd_inst_new(sess, "uart", NULL); @@ -61,7 +61,7 @@ START_TEST(test_inst_new_multiple) inst1 = inst2 = inst3 = NULL; - srd_init(NULL); + srd_init(DECODERS_DIR); srd_decoder_load_all(); srd_session_new(&sess); @@ -98,7 +98,7 @@ START_TEST(test_inst_option_set_empty) struct srd_decoder_inst *inst; GHashTable *options; - srd_init(NULL); + srd_init(DECODERS_DIR); srd_decoder_load_all(); srd_session_new(&sess); inst = srd_inst_new(sess, "uart", NULL); @@ -122,7 +122,7 @@ START_TEST(test_inst_option_set_bogus) struct srd_decoder_inst *inst; GHashTable *options; - srd_init(NULL); + srd_init(DECODERS_DIR); srd_decoder_load_all(); srd_session_new(&sess); inst = srd_inst_new(sess, "uart", NULL); |