diff options
author | Daniel Elstner <daniel.kitta@gmail.com> | 2015-10-03 14:21:01 +0200 |
---|---|---|
committer | Daniel Elstner <daniel.kitta@gmail.com> | 2015-10-03 14:21:01 +0200 |
commit | 41bab68212533f4697ad378af574e06ea83e4fd9 (patch) | |
tree | 408386cc60fa4d5bd9ecefb42cd30d54fced133d /tests/inst.c | |
parent | 583001b3f16795abd24278fbb2e5232a7ca27fb0 (diff) | |
download | libsigrokdecode-41bab68212533f4697ad378af574e06ea83e4fd9.tar.gz libsigrokdecode-41bab68212533f4697ad378af574e06ea83e4fd9.zip |
tests: Rename DECODERS_DIR to DECODERS_TESTDIR
Avoid confusion resulting from using the same macro name for
different purposes.
Diffstat (limited to 'tests/inst.c')
-rw-r--r-- | tests/inst.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/inst.c b/tests/inst.c index 8d30b12..d227a51 100644 --- a/tests/inst.c +++ b/tests/inst.c @@ -33,7 +33,7 @@ START_TEST(test_inst_new) struct srd_session *sess; struct srd_decoder_inst *inst; - srd_init(DECODERS_DIR); + srd_init(DECODERS_TESTDIR); srd_decoder_load("uart"); srd_session_new(&sess); inst = srd_inst_new(sess, "uart", NULL); @@ -53,7 +53,7 @@ START_TEST(test_inst_new_multiple) inst1 = inst2 = inst3 = NULL; - srd_init(DECODERS_DIR); + srd_init(DECODERS_TESTDIR); srd_decoder_load_all(); srd_session_new(&sess); @@ -90,7 +90,7 @@ START_TEST(test_inst_option_set_empty) struct srd_decoder_inst *inst; GHashTable *options; - srd_init(DECODERS_DIR); + srd_init(DECODERS_TESTDIR); srd_decoder_load_all(); srd_session_new(&sess); inst = srd_inst_new(sess, "uart", NULL); @@ -114,7 +114,7 @@ START_TEST(test_inst_option_set_bogus) struct srd_decoder_inst *inst; GHashTable *options; - srd_init(DECODERS_DIR); + srd_init(DECODERS_TESTDIR); srd_decoder_load_all(); srd_session_new(&sess); inst = srd_inst_new(sess, "uart", NULL); |