From 554a49f9df0ee8c57d7fae64515cf57d622b0511 Mon Sep 17 00:00:00 2001
From: Bert Vermeulen <bert@biot.com>
Date: Wed, 11 Dec 2013 18:36:42 +0100
Subject: check: Make sure to test this set of decoders, not the installed
 ones.

---
 tests/check_inst.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'tests/check_inst.c')

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);
-- 
cgit v1.2.3-70-g09d2