X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fdriver_all.c;h=2149568866b56f34d1aa312d179112eabacdd6c2;hb=317c97bebb67dbbf5e0ce9382655dea7f2038ac3;hp=585da1eaa7d6d3c8fb6228b02e1cbb52f4c8f356;hpb=02a2bf688f25a50ea05276be75fba8b4f644fca6;p=libsigrok.git
diff --git a/tests/driver_all.c b/tests/driver_all.c
index 585da1ea..21495688 100644
--- a/tests/driver_all.c
+++ b/tests/driver_all.c
@@ -14,13 +14,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
+#include
#include
#include
-#include "../include/libsigrok/libsigrok.h"
+#include
#include "lib.h"
/* Check whether at least one driver is available. */
@@ -28,7 +28,7 @@ START_TEST(test_driver_available)
{
struct sr_dev_driver **drivers;
- drivers = sr_driver_list();
+ drivers = sr_driver_list(srtest_ctx);
fail_unless(drivers != NULL, "No drivers found.");
}
END_TEST