From 29aec734715f7c4d6b8157ac514eff4fd8dd0242 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 21 Feb 2011 15:39:14 +0100 Subject: Include config.h and test the library --- test/test.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/test.c (limited to 'test/test.c') diff --git a/test/test.c b/test/test.c new file mode 100644 index 0000000..a1689ef --- /dev/null +++ b/test/test.c @@ -0,0 +1,12 @@ + +#include +#include "uca.h" + +int main(int argc, char *argv[]) +{ + struct uca_t *uca = uca_init(); + if (uca == NULL) { + printf("Couldn't find a camera\n"); + } + return 0; +} -- cgit v1.2.3