]> sigrok.org Git - libsigrok.git/blobdiff - tests/check_input_all.c
Add a few unit tests for sr_trigger_*().
[libsigrok.git] / tests / check_input_all.c
index ff46260368f35791e4764b3fb132800b26c590a7..feee63091be9612596b27e65a9ebc84f1ad63d5f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the libsigrok project.
  *
- * Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de>
+ * Copyright (C) 2013-2014 Uwe Hermann <uwe@hermann-uwe.de>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 
 #include <stdlib.h>
 #include <check.h>
-#include "../libsigrok.h"
+#include "../include/libsigrok/libsigrok.h"
 #include "lib.h"
 
 /* Check whether at least one input module is available. */
 START_TEST(test_input_available)
 {
-       struct sr_input_format **inputs;
+       const struct sr_input_module **inputs;
 
        inputs = sr_input_list();
        fail_unless(inputs != NULL, "No input modules found.");