summaryrefslogtreecommitdiff
path: root/tests/runtc.c
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-12-11 12:50:38 +0100
committerBert Vermeulen <bert@biot.com>2013-12-11 12:50:38 +0100
commitb74823812d4106bfafc4a7fef1d4a141dac58519 (patch)
tree6b2f53c65022a06fe8181517250525bcd54a8bde /tests/runtc.c
parent2c53ea9310728f451a7c69c49d376b727ff08ff3 (diff)
downloadlibsigrokdecode-b74823812d4106bfafc4a7fef1d4a141dac58519.tar.gz
libsigrokdecode-b74823812d4106bfafc4a7fef1d4a141dac58519.zip
runtc: Make sure to test this set of decoders, not the installed ones.
Diffstat (limited to 'tests/runtc.c')
-rw-r--r--tests/runtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtc.c b/tests/runtc.c
index 78dbf5e..bb25950 100644
--- a/tests/runtc.c
+++ b/tests/runtc.c
@@ -468,7 +468,7 @@ int main(int argc, char **argv)
return 1;
srd_log_callback_set(srd_log, NULL);
- if (srd_init(NULL) != SRD_OK)
+ if (srd_init(DECODERS_DIR) != SRD_OK)
return 1;
run_testcase(opt_infile, pdlist, op);